diff options
Diffstat (limited to 'themes/LoveIt/assets/css/_partial')
20 files changed, 0 insertions, 1560 deletions
diff --git a/themes/LoveIt/assets/css/_partial/_archive/_tags.scss b/themes/LoveIt/assets/css/_partial/_archive/_tags.scss deleted file mode 100644 index d12b26f..0000000 --- a/themes/LoveIt/assets/css/_partial/_archive/_tags.scss +++ /dev/null @@ -1,27 +0,0 @@ -.tag-cloud-tags { - margin: 10px 0; - - @include link(true, true); - - a { - display: inline-block; - position: relative; - margin: 5px 10px; - @include overflow-wrap(break-word); - @include transition(all ease-out 0.3s); - - &:active, - &:focus, - &:hover { - @include transform(scale(1.2)); - } - - sup { - color: $global-font-secondary-color; - - [theme=dark] & { - color: $global-font-secondary-color-dark; - } - } - } -} diff --git a/themes/LoveIt/assets/css/_partial/_archive/_terms.scss b/themes/LoveIt/assets/css/_partial/_archive/_terms.scss deleted file mode 100644 index 1f63a47..0000000 --- a/themes/LoveIt/assets/css/_partial/_archive/_terms.scss +++ /dev/null @@ -1,82 +0,0 @@ -.categories-card { - margin: 0 auto; - margin-top: 3rem; - display: flex; - align-items: center; - justify-content: space-between; - flex-direction: row; - flex-wrap: wrap; - line-height: 1.6rem; - - .card-item { - font-size: .875rem; - text-align: left; - width: 45%; - display: flex; - align-items: flex-start; - margin-top: 2rem; - min-height: 10rem; - padding: 0 2%; - position: relative; - - .card-item-wrapper { - width: 100%; - overflow: hidden; - - .card-item-title { - font-size: 1.2rem; - font-weight: bold; - display: inline-block; - margin-top: 1rem; - margin-bottom: .75rem; - } - - span { - float: right; - padding-right: 1rem; - } - } - } -} - -.archive-item { - display: flex; - justify-content: space-between; - align-items: center; - box-sizing: border-box; - margin: .25rem 0 .25rem 1.5rem; -} - -.archive-item-link { - min-width: 10%; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - - &:hover { - color: $global-link-hover-color; - background-color: transparent; - } - - [theme=dark] & { - color: $global-link-color-dark; - - &:hover { - color: $global-link-hover-color-dark; - } - } -} - -.archive-item-date { - width: 4em; - text-align: right; - color: $global-font-secondary-color; - - [theme=dark] & { - color: $global-font-secondary-color-dark; - } -} - -.more-post { - text-align: right; -} diff --git a/themes/LoveIt/assets/css/_partial/_cookieconsent.scss b/themes/LoveIt/assets/css/_partial/_cookieconsent.scss deleted file mode 100644 index 01deb5a..0000000 --- a/themes/LoveIt/assets/css/_partial/_cookieconsent.scss +++ /dev/null @@ -1,17 +0,0 @@ -.cc-window.cc-banner { - .cc-btn { - color: $global-font-color; - - &:hover, &:focus { - background-color: #ccc; - } - - [theme=dark] & { - color: $global-font-color; - - &:hover, &:focus { - background-color: #fff; - } - } - } -} diff --git a/themes/LoveIt/assets/css/_partial/_details.scss b/themes/LoveIt/assets/css/_partial/_details.scss deleted file mode 100644 index f1702d0..0000000 --- a/themes/LoveIt/assets/css/_partial/_details.scss +++ /dev/null @@ -1,33 +0,0 @@ -.details { - .details-summary { - &:hover { - cursor: pointer; - } - } - - i.details-icon { - color: $global-font-secondary-color; - @include transition(transform 0.2s ease); - - [theme=dark] & { - color: $global-font-secondary-color-dark; - } - } - - .details-content { - max-height: 0; - overflow-y: hidden; - @include details-transition-open; - } - - &.open { - i.details-icon { - @include transform(rotate(90deg)); - } - - .details-content { - max-height: $MAX_LENGTH; - @include details-transition-close; - } - } -} diff --git a/themes/LoveIt/assets/css/_partial/_fixed-button.scss b/themes/LoveIt/assets/css/_partial/_fixed-button.scss deleted file mode 100644 index eaad26e..0000000 --- a/themes/LoveIt/assets/css/_partial/_fixed-button.scss +++ /dev/null @@ -1,46 +0,0 @@ -#fixed-buttons { - display: none; -} - -.fixed-button { - display: none; - z-index: 100; - position: fixed; - right: 1.5rem; - font-size: 1rem; - line-height: 1.3rem; - padding: .6rem .6rem; - color: $global-font-secondary-color; - background: $header-background-color; - @include border-radius(2rem); - @include transition(color 0.4s ease); - - @include blur; - - &:hover, &:active { - color: $global-font-color; - cursor: pointer; - } - - &:active, &:focus, &:hover { - outline: none; - } - - [theme=dark] & { - color: $global-font-secondary-color-dark; - background: $header-background-color-dark; - - &:hover, &:active { - color: $global-font-color-dark; - } - } -} - -#back-to-top { - display: block; - bottom: 1.5rem; -} - -#view-comments { - bottom: 4.5rem; -} diff --git a/themes/LoveIt/assets/css/_partial/_footer.scss b/themes/LoveIt/assets/css/_partial/_footer.scss deleted file mode 100644 index 21a89e8..0000000 --- a/themes/LoveIt/assets/css/_partial/_footer.scss +++ /dev/null @@ -1,21 +0,0 @@ -footer { - height: 2rem; - width: 100%; - text-align: center; - line-height: 1.25rem; - padding: 1rem 0; - - .footer-container { - font-size: .875rem; - - .footer-line { - width: 100%; - - .icp-br { - display: none; - } - } - } - - @include blur; -} diff --git a/themes/LoveIt/assets/css/_partial/_header.scss b/themes/LoveIt/assets/css/_partial/_header.scss deleted file mode 100644 index ec38fdb..0000000 --- a/themes/LoveIt/assets/css/_partial/_header.scss +++ /dev/null @@ -1,468 +0,0 @@ -header { - width: 100%; - z-index: 150; - background-color: $header-background-color; - @include transition(box-shadow 0.3s ease); - - [theme=dark] & { - background-color: $header-background-color-dark; - } - - .logo { - min-height: 1.5em; - height: 1.5em; - vertical-align: text-bottom; - } - - .logo, .header-title-pre { - padding-right: .25rem; - } - - .header-title-post { - padding-left: .25rem; - } - - &:hover { - @include box-shadow(0 0 1.5rem 0 rgba(0, 0, 0, .1)); - } -} - -.header-wrapper { - display: flex; - justify-content: space-between; - align-items: center; - box-sizing: border-box; - width: 100%; -} - -.header-title { - font-family: $header-title-font-family; - font-weight: bold; - margin-right: .5rem; - min-width: 10%; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - @include flex(10); -} - -.menu .menu-item { - position: relative; -} - -.language-select { - position: absolute; - opacity: 0; - left: 0; - top: 0; - width: 100%; - height: 100%; - - &:hover { - cursor: pointer; - } -} - -.search { - position: relative; - - input { - color: transparent; - box-sizing: border-box; - height: 2.5rem; - width: 2.5rem; - @include border-radius(.5rem); - border: none; - outline: none; - background-color: $header-background-color; - vertical-align: baseline !important; - @include transition(width 0.3s ease); - - [theme=dark] & { - background-color: $header-background-color-dark; - } - } - - @include placeholder(transparent); - - .search-button { - margin: 0; - position: absolute; - left: auto; - right: 1rem; - } - - .search-toggle { - left: .5rem; - right: auto; - } - - .search-loading { - display: none; - } - - .search-clear { - display: none; - } - - .open &, &.mobile { - input { - color: $global-font-color; - background-color: $search-background-color; - padding: 0 2rem 0 2rem; - } - - [theme=dark] & { - input { - color: $global-font-color-dark; - background-color: $search-background-color-dark; - } - - @include placeholder($global-font-secondary-color-dark); - } - - @include placeholder($global-font-secondary-color); - - .search-button { - color: $global-font-secondary-color; - - [theme=dark] & { - color: $global-font-secondary-color-dark; - } - } - - .search-clear:hover { - color: #ff6b6b; - } - - .search-toggle:hover { - cursor: default; - } - } -} - -.theme-switch i { - @include transform(rotate(225deg)); -} - -#header-desktop { - display: block; - position: fixed; - height: $header-height; - line-height: $header-height; - - [header-desktop=normal] & { - position: static; - } - - .header-wrapper { - padding: 0 2rem 0 10vh; - - .header-title { - font-size: $header-title-font-size; - } - - .menu { - overflow: hidden; - white-space: nowrap; - - .menu-inner { - float: right; - } - - .menu-item { - margin: 0 .5rem; - - &.delimiter { - border-left: 1.5px solid $global-font-color; - - [theme=dark] & { - border-left-color: $global-border-color-dark; - } - } - - &.language { - margin-right: 0; - } - - &.search { - margin: 0 -.5rem 0 0; - } - } - - a.active { - font-weight: 900; - color: $header-hover-color; - - [theme=dark] & { - color: $header-hover-color-dark; - } - } - } - } - - &.open .header-wrapper .menu .menu-item.search { - margin: 0 .25rem 0 .5rem; - - input { - width: 24rem; - } - } -} - -#header-mobile { - display: none; - position: fixed; - height: $header-height; - line-height: $header-height; - - [header-mobile=normal] & { - position: static; - } - - .header-container { - padding: 0; - margin: 0; - - .header-wrapper { - padding: 0 1rem; - font-size: 1.125rem; - @include transition(margin-top 0.3s ease); - - .header-title { - font-size: $header-title-font-size; - max-width: 80%; - } - - .menu-toggle { - line-height: 4rem; - cursor: pointer; - @include transition(width 0.3s ease); - - span { - display: block; - background: $global-font-color; - width: 1.5rem; - height: 2px; - @include border-radius(3px); - @include transition(all 0.3s ease-in-out); - - [theme=dark] & { - background: $global-font-color-dark; - } - } - - span:nth-child(1) { - margin-bottom: .5rem; - } - - span:nth-child(3) { - margin-top: .5rem; - } - - &.active { - span:nth-child(1) { - @include transform(rotate(45deg) translate(.4rem, .5rem)); - } - - span:nth-child(2) { - opacity: 0 - } - - span:nth-child(3) { - @include transform(rotate(-45deg) translate(.4rem, -.5rem)); - } - } - } - } - - .menu { - text-align: center; - background: $header-background-color; - border-top: 2px solid $global-border-color; - display: none; - padding-top: .5rem; - @include box-shadow(0 .125rem .25rem rgba(0, 0, 0, .1)); - - .search-wrapper { - display: flex; - justify-content: space-between; - align-items: center; - box-sizing: border-box; - padding: ($header-height - 2.5rem) / 2 1rem; - line-height: 2.5rem; - } - - .search { - flex-grow: 10; - - .algolia-autocomplete, input { - width: 100%; - } - } - - .search-button { - top: 0; - } - - .search-cancel { - display: none; - margin-left: .75rem; - } - - .menu-item { - display: block; - line-height: 2.5rem; - } - - &.active { - display: block; - } - - [theme=dark] & { - background: $header-background-color-dark; - border-top-color: $global-border-color-dark; - } - } - } - - &.open { - .header-wrapper { - margin-top: -$header-height; - } - - .menu { - padding-top: 0; - border-top: none; - - .menu-item { - display: none; - } - - .search-cancel { - display: inline; - } - } - } -} - -.search-dropdown { - position: fixed; - z-index: 200; - top: $header-height; - @include box-shadow(0 .125rem .25rem rgba(0, 0, 0, .1)); - - &.desktop { - right: 2rem; - width: 30rem; - } - - &.mobile { - right: 0; - width: 100%; - } - - .dropdown-menu { - right: 0 !important; - background-color: $global-background-color; - - [theme=dark] & { - background-color: $global-background-color-dark; - } - - .suggestions { - overflow-y: auto; - max-height: calc(100vh - #{$header-height}); - - .suggestion { - padding: .75rem 1rem; - - .suggestion-title { - display: inline-block; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - font-size: 1rem; - font-weight: bold; - max-width: 75%; - } - - .suggestion-date { - font-size: .875rem; - float: right; - text-align: right; - color: $global-font-secondary-color; - - [theme=dark] & { - color: $global-font-secondary-color-dark; - } - } - - .suggestion-context { - line-height: 1.25rem; - @include box(vertical); - -webkit-line-clamp: 2; - overflow: hidden; - text-overflow: ellipsis; - @include overflow-wrap(break-word); - color: $global-font-secondary-color; - - [theme=dark] & { - color: $global-font-secondary-color-dark; - } - } - - em { - font-style: normal; - background-color: $selection-color; - - [theme=dark] & { - background-color: $selection-color-dark; - } - } - - &.cursor { - background: darken($code-background-color, 5%); - - [theme=dark] & { - background: lighten($code-background-color-dark, 5%); - } - } - - &:hover { - cursor: pointer; - } - } - } - - .search-empty { - padding: 1rem; - text-align: center; - - .search-query { - font-weight: bold; - - [theme=dark] & { - color: #ddd; - } - } - } - - .search-footer { - padding: .5rem 1rem; - float: right; - font-size: .8rem; - color: $global-font-secondary-color; - - [theme=dark] { - color: $global-font-secondary-color-dark; - } - - @include link(false, false); - - a { - font-size: 1rem; - } - } - } -} diff --git a/themes/LoveIt/assets/css/_partial/_icon.scss b/themes/LoveIt/assets/css/_partial/_icon.scss deleted file mode 100644 index f42d2e6..0000000 --- a/themes/LoveIt/assets/css/_partial/_icon.scss +++ /dev/null @@ -1,17 +0,0 @@ -svg.icon { - display: inline-block; - width: 1.25em; - height: 1em; - text-align: center; - - path { - fill: currentColor; - } -} - -img.emoji { - height: 1em; - width: 1em; - margin: 0 .05em 0 .1em; - vertical-align: -.1em; -} diff --git a/themes/LoveIt/assets/css/_partial/_mask.scss b/themes/LoveIt/assets/css/_partial/_mask.scss deleted file mode 100644 index 65b5734..0000000 --- a/themes/LoveIt/assets/css/_partial/_mask.scss +++ /dev/null @@ -1,16 +0,0 @@ -#mask { - background-repeat: no-repeat; - background-position: center; - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: -1; - background-color: rgba(0, 0, 0, 0); - - .blur & { - z-index: 100; - background-color: rgba(0, 0, 0, .25); - } -} diff --git a/themes/LoveIt/assets/css/_partial/_pagination.scss b/themes/LoveIt/assets/css/_partial/_pagination.scss deleted file mode 100644 index 10d24b7..0000000 --- a/themes/LoveIt/assets/css/_partial/_pagination.scss +++ /dev/null @@ -1,91 +0,0 @@ -.pagination { - display: flex; - flex-direction: row; - justify-content: center; - list-style: none; - white-space: nowrap; - width: 100%; - padding: 1rem 0 0; - - a { - font-size: .8rem; - color: #bfbfbf; - letter-spacing: .1rem; - font-weight: 700; - padding: 5px 5px; - text-decoration: none; - @include transition(0.3s); - } - - li { - padding-bottom: 3px; - margin: 0 20px; - box-sizing: border-box; - position: relative; - display: inline; - - &.disabled { - display: none; - } - - &:hover a { - color: $pagination-link-hover-color; - } - - [theme=dark] &:hover a { - color: $pagination-link-hover-color-dark; - } - - &:before, - &:after { - position: absolute; - content: ""; - width: 0; - height: 3px; - background: $pagination-link-hover-color; - @include transition(0.3s); - bottom: 0px; - } - - [theme=dark] &:before, - [theme=dark] &:after { - background: $pagination-link-hover-color-dark; - } - - &:before .active, - &:after .active { - width: 100%; - } - - &:before { - left: 50%; - } - - &:after { - right: 50%; - } - - &:hover { - - &:before, - &:after { - width: 50%; - } - } - - &.active { - a { - color: $pagination-link-hover-color; - } - - [theme=dark] & a { - color: $pagination-link-hover-color-dark; - } - - &:before, - &:after { - width: 60%; - } - } - } -} diff --git a/themes/LoveIt/assets/css/_partial/_single/_admonition.scss b/themes/LoveIt/assets/css/_partial/_single/_admonition.scss deleted file mode 100644 index 41c8cbc..0000000 --- a/themes/LoveIt/assets/css/_partial/_single/_admonition.scss +++ /dev/null @@ -1,67 +0,0 @@ -.admonition { - position: relative; - margin: 1rem 0; - padding: 0 .75rem; - background-color: map-get($admonition-background-color-map, 'note'); - border-left: .25rem solid map-get($admonition-color-map, 'note'); - overflow: auto; - - .admonition-title { - font-weight: bold; - margin: 0 -0.75rem; - padding: .25rem 1.8rem; - border-bottom: 1px solid map-get($admonition-background-color-map, 'note'); - background-color: opacify(map-get($admonition-background-color-map, 'note'), 0.15); - } - - &.open .admonition-title { - background-color: map-get($admonition-background-color-map, 'note'); - } - - .admonition-content { - padding: .5rem 0; - } - - i.icon { - font-size: 0.85rem; - color: map-get($admonition-color-map, 'note'); - position: absolute; - top: .6rem; - left: .4rem; - } - - i.details-icon { - position: absolute; - top: .6rem; - right: .3rem; - } - - @each $type, $color in $admonition-color-map { - &.#{$type} { - border-left-color: $color; - - i.icon { - color: $color; - } - } - } - - @each $type, $color in $admonition-background-color-map { - &.#{$type} { - background-color: $color; - - .admonition-title { - border-bottom-color: $color; - background-color: opacify($color, 0.15); - } - - &.open .admonition-title { - background-color: $color; - } - } - } - - &:last-child { - margin-bottom: .75rem; - } -} diff --git a/themes/LoveIt/assets/css/_partial/_single/_bilibili.scss b/themes/LoveIt/assets/css/_partial/_single/_bilibili.scss deleted file mode 100644 index 6eef8e6..0000000 --- a/themes/LoveIt/assets/css/_partial/_single/_bilibili.scss +++ /dev/null @@ -1,16 +0,0 @@ -.bilibili { - position: relative; - width: 100%; - height: 0; - padding-bottom: 75%; - margin: 3% auto; - text-align: center; - - iframe { - position: absolute; - width: 100%; - height: 100%; - left: 0; - top: 0; - } -} diff --git a/themes/LoveIt/assets/css/_partial/_single/_code.scss b/themes/LoveIt/assets/css/_partial/_single/_code.scss deleted file mode 100644 index 5507a2d..0000000 --- a/themes/LoveIt/assets/css/_partial/_single/_code.scss +++ /dev/null @@ -1,385 +0,0 @@ -code { - display:inline-block; - max-width: 100%; - padding: 0 .4rem; - @include overflow-wrap(break-word); - @include line-break(anywhere); - font-size: $code-font-size; - font-family: $code-font-family; - color: $code-color; - - [theme=dark] & { - color: $code-color-dark; - } -} - -pre { - margin: 0; - padding: .25rem 0 .25rem .5rem; - @include tab-size(4); - - code { - padding: 0; - } - - img { - min-height: 1em; - max-height: 1.2em; - vertical-align: text-bottom; - } -} - -code, pre, .highlight table, .highlight tr, .highlight td { - background: $code-background-color; - - [theme=dark] & { - background: $code-background-color-dark; - } -} - -.highlight, .gist { - font-family: $code-font-family; - font-size: $code-font-size; - - .table-wrapper { - > table, - > table thead, - > table tr, - > table td { - margin: 0; - padding: 0; - border: none !important; - white-space: nowrap; - } - } -} - -.highlight { - line-height: 1.4em; - margin: .5rem 0; - - > .chroma { - position: relative; - - .code-header { - display: flex; - justify-content: space-between; - align-items: center; - box-sizing: border-box; - width: 100%; - font-family: $global-font-family; - font-weight: bold; - color: $code-info-color; - background: darken($code-background-color, 8%); - - [theme=dark] & { - color: $code-info-color-dark; - background: darken($code-background-color-dark, 6%); - } - - &:hover { - cursor: pointer; - } - - .code-title { - width: 100%; - padding: .4rem; - } - - .code-title::after { - padding-left: .2rem; - content: 'Code'; - } - - @each $type, $text in $code-type-map { - &.#{$type} .code-title::after { - content: $text; - } - } - } - - .lntd:first-child { - min-width: 1.6rem; - text-align: right; - } - - .lntd:last-child { - width: 100%; - - pre { - @include max-content(min-width); - } - } - - .ln { - padding-right: .75rem; - } - - .hl { - display: block; - background-color: darken($code-background-color, 10%); - - [theme=dark] & { - background-color: darken($code-background-color-dark, 5%); - } - } - - .ln, .lnt { - color: $global-font-secondary-color; - - [theme=dark] & { - color: $global-font-secondary-color-dark; - } - } - - .arrow { - padding: 0 .2rem; - @include transition(transform 0.2s ease); - } - - .ellipses { - padding: .4rem; - } - - .copy { - display: none; - padding: .4rem; - - &:hover { - cursor: pointer; - color: $global-link-hover-color; - - [theme=dark] & { - color: $global-link-hover-color-dark; - } - } - } - - .table-wrapper { - max-height: 0; - overflow-y: hidden; - @include details-transition-open; - } - - &.open { - .code-header { - background: darken($code-background-color, 3%); - - [theme=dark] & { - background: darken($code-background-color-dark, 3%); - } - } - - .table-wrapper { - max-height: $MAX_LENGTH; - @include details-transition-close; - } - - .arrow { - @include transform(rotate(90deg)); - } - - .ellipses { - display: none; - } - - .copy { - display: inline; - } - } - } - - /* Comment */ .c, - /* CommentHashbang */ .ch, - /* CommentMultiline */ .cm, - /* CommentSingle */ .c1, - /* CommentSpecial */ .cs, - /* CommentPreproc */ .cp, - /* CommentPreprocFile */ .cpf { font-style: italic } - /* GenericUnderline */ .gl { text-decoration: underline } - - @each $class, $color in $code-highlight-color-map { - .#{$class} { color: $color; } - } - - [theme=dark] & { - @each $class, $color in $code-highlight-color-map-dark { - .#{$class} { color: $color; } - } - } -} - -.gist { - .gist-file, .gist-data, .gist-meta { - border: none; - } - - .gist-meta { - padding: .4rem .8rem; - background-color: darken($code-background-color, 5%); - - @include link(false, false); - - [theme=dark] & { - background-color: darken($code-background-color-dark, 5%); - } - } - - [theme=dark] & { - // imported from https://github.com/lonekorean/gist-syntax-themes/blob/master/stylesheets/one-dark.css - .highlight { - background: #141414; - } - .blob-num, - .blob-code-inner, - .highlight, - .pl-enm, - .pl-ko, - .pl-mo, - .pl-mp1 .pl-sf, - .pl-ms, - .pl-pdc1, - .pl-scp, - .pl-smc, - .pl-som, - .pl-va, - .pl-vpf, - .pl-vpu, - .pl-mdr { - color: #aab1bf; - } - .pl-mb, - .pl-pdb { - font-weight: 700; - } - .pl-c, - .pl-c span, - .pl-pdc { - color: #5b6270; - font-style: italic; - } - .pl-sr .pl-cce { - color: #56b5c2; - font-weight: 400; - } - .pl-ef, - .pl-en, - .pl-enf, - .pl-eoai, - .pl-kos, - .pl-mh .pl-pdh, - .pl-mr { - color: #61afef; - } - .pl-ens, - .pl-vi { - color: #be5046; - } - .pl-enti, - .pl-mai .pl-sf, - .pl-ml, - .pl-sf, - .pl-sr, - .pl-sr .pl-sra, - .pl-src, - .pl-st, - .pl-vo { - color: #56b5c2; - } - .pl-eoi, - .pl-mri, - .pl-pds, - .pl-pse .pl-s1, - .pl-s, - .pl-s1 { - color: #97c279; - } - .pl-k, - .pl-kolp, - .pl-mc, - .pl-pde { - color: #c578dd; - } - .pl-mi, - .pl-pdi { - color: #c578dd; - font-style: italic; - } - .pl-mp, - .pl-stp { - color: #818896; - } - .pl-mdh, - .pl-mdi, - .pl-mdr { - font-weight: 400; - } - .pl-mdht, - .pl-mi1 { - color: #97c279; - background: #020; - } - .pl-md, - .pl-mdhf { - color: #df6b75; - background: #200; - } - .pl-corl { - color: #df6b75; - text-decoration: underline; - } - .pl-ib { - background: #df6b75; - } - .pl-ii { - background: #e0c184; - color: #fff; - } - .pl-iu { - background: #e05151; - } - .pl-ms1 { - color: #aab1bf; - background: #373b41; - } - .pl-c1, - .pl-cn, - .pl-e, - .pl-eoa, - .pl-eoac, - .pl-eoac .pl-pde, - .pl-kou, - .pl-mm, - .pl-mp .pl-s3, - .pl-mq, - .pl-s3, - .pl-sok, - .pl-sv, - .pl-mb { - color: #d19965; - } - .pl-enc, - .pl-entc, - .pl-pse .pl-s2, - .pl-s2, - .pl-sc, - .pl-smp, - .pl-sr .pl-sre, - .pl-stj, - .pl-v, - .pl-pdb { - color: #e4bf7a; - } - .pl-ent, - .pl-entl, - .pl-entm, - .pl-mh, - .pl-pdv, - .pl-smi, - .pl-sol, - .pl-mdh, - .pl-mdi { - color: #df6b75; - } - } -} diff --git a/themes/LoveIt/assets/css/_partial/_single/_comment.scss b/themes/LoveIt/assets/css/_partial/_single/_comment.scss deleted file mode 100644 index 88899f6..0000000 --- a/themes/LoveIt/assets/css/_partial/_single/_comment.scss +++ /dev/null @@ -1,3 +0,0 @@ -#comments { - padding: 8rem 0 2rem; -} diff --git a/themes/LoveIt/assets/css/_partial/_single/_echarts.scss b/themes/LoveIt/assets/css/_partial/_single/_echarts.scss deleted file mode 100644 index c5c5872..0000000 --- a/themes/LoveIt/assets/css/_partial/_single/_echarts.scss +++ /dev/null @@ -1,4 +0,0 @@ -.echarts { - margin: .5rem 0; - text-align: center; -} diff --git a/themes/LoveIt/assets/css/_partial/_single/_footer.scss b/themes/LoveIt/assets/css/_partial/_single/_footer.scss deleted file mode 100644 index e2c1324..0000000 --- a/themes/LoveIt/assets/css/_partial/_single/_footer.scss +++ /dev/null @@ -1,98 +0,0 @@ -.post-footer { - margin-top: 3rem; - - .post-info { - border-bottom: 1px solid $global-border-color; - padding: 1rem 0 0.3rem; - - [theme=dark] & { - border-bottom: 1px solid $global-border-color-dark; - } - - .post-info-line { - display: flex; - justify-content: space-between; - - .post-info-mod { - font-size: 0.8em; - color: $global-font-secondary-color; - - [theme=dark] & { - color: $global-font-secondary-color-dark; - } - - @include link(false, false); - } - - .post-info-license { - font-size: 0.8em; - color: $global-font-secondary-color; - - [theme=dark] & { - color: $global-font-secondary-color-dark; - } - - @include link(false, false); - } - - .post-info-md { - font-size: 0.8rem; - width: 8rem; - - @include link(false, false); - } - - .post-info-share { - a * { - vertical-align: text-bottom; - } - } - } - } - - .post-info-more { - padding: 0.3rem 0 1rem; - display: flex; - justify-content: space-between; - font-size: 0.9rem; - } - - .post-tags { - max-width: 65%; - - * { - display: inline; - } - } - - .post-nav { - &::before, - &::after { - content: ' '; - display: table; - } - - & a.prev, - & a.next { - font-size: 1rem; - font-weight: 600; - @include transition(all 0.3s ease-out); - } - - & a.prev { - float: left; - } - - & a.prev:hover { - @include transform(translateX(-4px)); - } - - & a.next { - float: right; - } - - & a.next:hover { - @include transform(translateX(4px)); - } - } -} diff --git a/themes/LoveIt/assets/css/_partial/_single/_instagram.scss b/themes/LoveIt/assets/css/_partial/_single/_instagram.scss deleted file mode 100644 index 49e08ca..0000000 --- a/themes/LoveIt/assets/css/_partial/_single/_instagram.scss +++ /dev/null @@ -1,5 +0,0 @@ -iframe.instagram-media { - [theme=dark] & { - border: none !important; - } -} diff --git a/themes/LoveIt/assets/css/_partial/_single/_mapbox.scss b/themes/LoveIt/assets/css/_partial/_single/_mapbox.scss deleted file mode 100644 index 4ed9856..0000000 --- a/themes/LoveIt/assets/css/_partial/_single/_mapbox.scss +++ /dev/null @@ -1,4 +0,0 @@ -.mapbox { - margin: .5rem 0; - padding: .5rem 0; -} diff --git a/themes/LoveIt/assets/css/_partial/_single/_music.scss b/themes/LoveIt/assets/css/_partial/_single/_music.scss deleted file mode 100644 index 2a20549..0000000 --- a/themes/LoveIt/assets/css/_partial/_single/_music.scss +++ /dev/null @@ -1,3 +0,0 @@ -meting-js { - margin: .5rem 0; -} diff --git a/themes/LoveIt/assets/css/_partial/_single/_toc.scss b/themes/LoveIt/assets/css/_partial/_single/_toc.scss deleted file mode 100644 index 9cac056..0000000 --- a/themes/LoveIt/assets/css/_partial/_single/_toc.scss +++ /dev/null @@ -1,157 +0,0 @@ -.toc { - .toc-title { - font-size: $toc-title-font-size; - font-weight: bold; - text-transform: uppercase; - } - - .toc-content { - font-size: $toc-content-font-size; - - ul { - text-indent: -0.85rem; - padding-left: .8rem; - list-style: none; - - a:first-child::before { - content: "|"; - font-weight: bolder; - margin-right: .5rem; - color: $single-link-color; - - [theme=dark] & { - color: $single-link-color-dark; - } - } - - ul { - padding-left: 1.5rem; - } - } - } - - ruby { - background: $code-background-color; - - rt { - color: $global-font-secondary-color; - } - - [theme=dark] & { - background: $code-background-color-dark; - - rt { - color: $global-font-secondary-color-dark; - } - } - } -} - -#toc-auto { - display: block; - position: absolute; - width: $MAX_LENGTH; - max-width: 0; - padding: 0 .8rem; - border-left: 4px solid $global-border-color; - @include overflow-wrap(break-word); - box-sizing: border-box; - top: 10rem; - left: 0; - visibility: hidden; - - [header-desktop=normal] & { - top: 5rem; - } - - @include blur; - - [theme=dark] & { - border-left-color: $global-border-color-dark; - } - - .toc-title { - margin: .8rem 0; - } - - .toc-content { - &.always-active ul { - display: block; - } - - > nav > ul { - margin: .625rem 0; - } - - ul { - ul { - display: none; - } - - .has-active > ul { - display: block; - } - } - - a.active { - font-weight: bold; - color: $single-link-color; - - [theme=dark] & { - color: $single-link-color-dark; - } - - &::before { - color: $single-link-hover-color; - - [theme=dark] & { - color: $single-link-hover-color-dark; - } - } - } - } -} - -#toc-static { - display: none; - margin: .8rem 0; - - &[kept=true] { - display: block; - } - - .toc-title { - display: flex; - justify-content: space-between; - line-height: 2em; - padding: 0 .75rem; - background: darken($code-background-color, 6%); - - [theme=dark] & { - background: darken($code-background-color-dark, 6%); - } - } - - .toc-content { - background-color: $code-background-color; - - > nav > ul { - margin: 0; - padding: .4rem 1rem .4rem 1.8rem; - } - - [theme=dark] & { - background-color: $code-background-color-dark; - } - } - - &.open { - .toc-title { - background: darken($code-background-color, 3%); - - [theme=dark] & { - background: darken($code-background-color-dark, 3%); - } - } - } -} |