summaryrefslogtreecommitdiff
path: root/themes/LoveIt/assets/css/_partial
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2022-08-14 19:01:21 +0200
committerChristoph Cullmann <cullmann@kde.org>2022-08-14 19:01:21 +0200
commit51fb029ca27d67d7cd67352cdede45e5b25868f7 (patch)
tree6d8e34b2abdc757310ffe11189e926d017417bae /themes/LoveIt/assets/css/_partial
parent260b6803e78609e16ad3d59792f1681d9df0f1e4 (diff)
switch back to LoveIt, other theme is deprectated
Diffstat (limited to 'themes/LoveIt/assets/css/_partial')
-rw-r--r--themes/LoveIt/assets/css/_partial/_archive/_tags.scss27
-rw-r--r--themes/LoveIt/assets/css/_partial/_archive/_terms.scss82
-rw-r--r--themes/LoveIt/assets/css/_partial/_cookieconsent.scss17
-rw-r--r--themes/LoveIt/assets/css/_partial/_details.scss33
-rw-r--r--themes/LoveIt/assets/css/_partial/_fixed-button.scss46
-rw-r--r--themes/LoveIt/assets/css/_partial/_icon.scss17
-rw-r--r--themes/LoveIt/assets/css/_partial/_img.scss9
-rw-r--r--themes/LoveIt/assets/css/_partial/_mask.scss16
-rw-r--r--themes/LoveIt/assets/css/_partial/_single/_admonition.scss72
-rw-r--r--themes/LoveIt/assets/css/_partial/_single/_bilibili.scss16
-rw-r--r--themes/LoveIt/assets/css/_partial/_single/_code.scss399
-rw-r--r--themes/LoveIt/assets/css/_partial/_single/_comment.scss8
-rw-r--r--themes/LoveIt/assets/css/_partial/_single/_echarts.scss4
-rw-r--r--themes/LoveIt/assets/css/_partial/_single/_footer.scss98
-rw-r--r--themes/LoveIt/assets/css/_partial/_single/_instagram.scss5
-rw-r--r--themes/LoveIt/assets/css/_partial/_single/_mapbox.scss4
-rw-r--r--themes/LoveIt/assets/css/_partial/_single/_music.scss3
-rw-r--r--themes/LoveIt/assets/css/_partial/_single/_toc.scss157
18 files changed, 1013 insertions, 0 deletions
diff --git a/themes/LoveIt/assets/css/_partial/_archive/_tags.scss b/themes/LoveIt/assets/css/_partial/_archive/_tags.scss
new file mode 100644
index 0000000..d12b26f
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_archive/_tags.scss
@@ -0,0 +1,27 @@
+.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
new file mode 100644
index 0000000..25889f8
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_archive/_terms.scss
@@ -0,0 +1,82 @@
+.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: 5em;
+ 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
new file mode 100644
index 0000000..01deb5a
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_cookieconsent.scss
@@ -0,0 +1,17 @@
+.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
new file mode 100644
index 0000000..71c5b6b
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_details.scss
@@ -0,0 +1,33 @@
+.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: 10000px;
+ @include details-transition-close;
+ }
+ }
+}
diff --git a/themes/LoveIt/assets/css/_partial/_fixed-button.scss b/themes/LoveIt/assets/css/_partial/_fixed-button.scss
new file mode 100644
index 0000000..eaad26e
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_fixed-button.scss
@@ -0,0 +1,46 @@
+#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/_icon.scss b/themes/LoveIt/assets/css/_partial/_icon.scss
new file mode 100644
index 0000000..f42d2e6
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_icon.scss
@@ -0,0 +1,17 @@
+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/_img.scss b/themes/LoveIt/assets/css/_partial/_img.scss
new file mode 100644
index 0000000..2ebc966
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_img.scss
@@ -0,0 +1,9 @@
+img {
+ &.lazyload, &.lazyloading {
+ @include object-fit(scale-down);
+ }
+
+ &.lazyloaded {
+ @include object-fit(contain);
+ }
+}
diff --git a/themes/LoveIt/assets/css/_partial/_mask.scss b/themes/LoveIt/assets/css/_partial/_mask.scss
new file mode 100644
index 0000000..65b5734
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_mask.scss
@@ -0,0 +1,16 @@
+#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/_single/_admonition.scss b/themes/LoveIt/assets/css/_partial/_single/_admonition.scss
new file mode 100644
index 0000000..5e06096
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_single/_admonition.scss
@@ -0,0 +1,72 @@
+.admonition {
+ position: relative;
+ margin: 1rem 0;
+ padding: 0 .75rem;
+ border-left: .25rem solid;
+ overflow: auto;
+
+ .admonition-title {
+ font-weight: bold;
+ margin: 0 -0.75rem;
+ padding: .25rem 1.8rem;
+ }
+
+ .admonition-content {
+ padding: .5rem 0;
+ }
+
+ i.icon {
+ font-size: 0.85rem;
+ position: absolute;
+ top: .6rem;
+ left: .4rem;
+ }
+
+ i.details-icon {
+ position: absolute;
+ top: .6rem;
+ right: .3rem;
+ }
+
+ @each $type, $color, $background-color in $admonition-color-list {
+ @if $type == "note" {
+ background-color: $background-color;
+ border-left-color: $color;
+
+ .admonition-title {
+ border-bottom-color: $background-color;
+ background-color: opacify($background-color, 0.15);
+ }
+
+ &.open .admonition-title {
+ background-color: $background-color;
+ }
+
+ i.icon {
+ color: $color;
+ }
+ } @else {
+ &.#{$type} {
+ background-color: $background-color;
+ border-left-color: $color;
+
+ .admonition-title {
+ border-bottom-color: $background-color;
+ background-color: opacify($background-color, 0.15);
+ }
+
+ &.open .admonition-title {
+ background-color: $background-color;
+ }
+
+ i.icon {
+ 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
new file mode 100644
index 0000000..6eef8e6
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_single/_bilibili.scss
@@ -0,0 +1,16 @@
+.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
new file mode 100644
index 0000000..a573d46
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_single/_code.scss
@@ -0,0 +1,399 @@
+code {
+ display:inline-block;
+ max-width: 100%;
+ padding: 0 .4rem;
+ @include overflow-wrap(break-word);
+ @include line-break(anywhere);
+ font-size: var(--code-font-size);
+ font-family: var(--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 !important;
+
+ [theme=dark] & {
+ background: $code-background-color-dark !important;
+ }
+}
+
+.highlight {
+ font-family: var(--code-font-family);
+ font-size: var(--code-font-size);
+ line-height: 1.4em;
+ margin: .5rem 0;
+
+ .table-wrapper {
+ > table,
+ > table thead,
+ > table tr,
+ > table td {
+ margin: 0;
+ padding: 0;
+ border: none !important;
+
+ span.c {
+ white-space: nowrap;
+ }
+ }
+ }
+
+ > .chroma {
+ position: relative;
+
+ .code-header {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ box-sizing: border-box;
+ width: 100%;
+ font-family: var(--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-list {
+ &.#{$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: 10000px;
+ @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 {
+ font-family: var(--code-font-family);
+ font-size: var(--code-font-size);
+
+ .table-wrapper {
+ > table,
+ > table thead,
+ > table tr,
+ > table td {
+ margin: 0;
+ padding: 0;
+ border: none !important;
+ }
+ }
+
+ .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
new file mode 100644
index 0000000..2095cc6
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_single/_comment.scss
@@ -0,0 +1,8 @@
+#comments {
+ padding: 8rem 0 2rem;
+
+ .vemoji {
+ max-width: 1.5em;
+ max-height: 1.5em;
+ }
+}
diff --git a/themes/LoveIt/assets/css/_partial/_single/_echarts.scss b/themes/LoveIt/assets/css/_partial/_single/_echarts.scss
new file mode 100644
index 0000000..c5c5872
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_single/_echarts.scss
@@ -0,0 +1,4 @@
+.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
new file mode 100644
index 0000000..ba8e6c4
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_single/_footer.scss
@@ -0,0 +1,98 @@
+.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
new file mode 100644
index 0000000..49e08ca
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_single/_instagram.scss
@@ -0,0 +1,5 @@
+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
new file mode 100644
index 0000000..4ed9856
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_single/_mapbox.scss
@@ -0,0 +1,4 @@
+.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
new file mode 100644
index 0000000..2a20549
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_single/_music.scss
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 0000000..25a7917
--- /dev/null
+++ b/themes/LoveIt/assets/css/_partial/_single/_toc.scss
@@ -0,0 +1,157 @@
+.toc {
+ .toc-title {
+ font-size: var(--toc-title-font-size);
+ font-weight: bold;
+ text-transform: uppercase;
+ }
+
+ .toc-content {
+ font-size: var(--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: 10000px;
+ 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;
+
+ [data-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;
+
+ &[data-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%);
+ }
+ }
+ }
+}