mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
properly include taxonomy_dark mixin (#581)
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
@mixin taxonomy {
|
@mixin taxonomy_dark {
|
||||||
.taxonomy-element {
|
.taxonomy-element {
|
||||||
background-color: $alt-bg-color-dark;
|
background-color: $alt-bg-color-dark;
|
||||||
|
|
||||||
@@ -10,3 +10,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.colorscheme-dark {
|
||||||
|
@include taxonomy_dark();
|
||||||
|
}
|
||||||
|
|
||||||
|
body.colorscheme-auto {
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
@include taxonomy_dark();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
|||||||
{"Target":"css/coder-dark.min.d8f89ef09509afb63b9b2595ee174e53cc51ce02a6f6a2179e1621f9389e4340.css","MediaType":"text/css","Data":{"Integrity":"sha256-2Pie8JUJr7Y7myWV7hdOU8xRzgKm9qIXnhYh+TieQ0A="}}
|
{"Target":"css/coder-dark.min.aa883b9ce35a8ff4a2a5008619005175e842bb18a8a9f9cc2bbcf44dab2d91fa.css","MediaType":"text/css","Data":{"Integrity":"sha256-qog7nONaj/SipQCGGQBRdehCuxioqfnMK7z0Tastkfo="}}
|
||||||
@@ -101,6 +101,13 @@ body.colorscheme-dark {
|
|||||||
body.colorscheme-auto table th {
|
body.colorscheme-auto table th {
|
||||||
border: 2px solid #dadada; } }
|
border: 2px solid #dadada; } }
|
||||||
|
|
||||||
|
body.colorscheme-dark .content .post .tags .tag {
|
||||||
|
background-color: #424242; }
|
||||||
|
body.colorscheme-dark .content .post .tags .tag a {
|
||||||
|
color: #dadada; }
|
||||||
|
body.colorscheme-dark .content .post .tags .tag a:active {
|
||||||
|
color: #dadada; }
|
||||||
|
|
||||||
body.colorscheme-dark .content .list ul li .title {
|
body.colorscheme-dark .content .list ul li .title {
|
||||||
color: #dadada; }
|
color: #dadada; }
|
||||||
body.colorscheme-dark .content .list ul li .title:hover, body.colorscheme-dark .content .list ul li .title:focus {
|
body.colorscheme-dark .content .list ul li .title:hover, body.colorscheme-dark .content .list ul li .title:focus {
|
||||||
@@ -112,6 +119,12 @@ body.colorscheme-dark .content .centered .about ul li a {
|
|||||||
color: #42a5f5; }
|
color: #42a5f5; }
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
|
body.colorscheme-auto .content .post .tags .tag {
|
||||||
|
background-color: #424242; }
|
||||||
|
body.colorscheme-auto .content .post .tags .tag a {
|
||||||
|
color: #dadada; }
|
||||||
|
body.colorscheme-auto .content .post .tags .tag a:active {
|
||||||
|
color: #dadada; }
|
||||||
body.colorscheme-auto .content .list ul li .title {
|
body.colorscheme-auto .content .list ul li .title {
|
||||||
color: #dadada; }
|
color: #dadada; }
|
||||||
body.colorscheme-auto .content .list ul li .title:hover, body.colorscheme-auto .content .list ul li .title:focus {
|
body.colorscheme-auto .content .list ul li .title:hover, body.colorscheme-auto .content .list ul li .title:focus {
|
||||||
@@ -186,6 +199,21 @@ body.colorscheme-dark .navigation .menu-button i:hover, body.colorscheme-dark .n
|
|||||||
body.colorscheme-auto .navigation .menu-button i:hover, body.colorscheme-auto .navigation .menu-button i:focus {
|
body.colorscheme-auto .navigation .menu-button i:hover, body.colorscheme-auto .navigation .menu-button i:focus {
|
||||||
color: #dadada; } }
|
color: #dadada; } }
|
||||||
|
|
||||||
|
body.colorscheme-dark .taxonomy-element {
|
||||||
|
background-color: #424242; }
|
||||||
|
body.colorscheme-dark .taxonomy-element a {
|
||||||
|
color: #dadada; }
|
||||||
|
body.colorscheme-dark .taxonomy-element a:active {
|
||||||
|
color: #dadada; }
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
body.colorscheme-auto .taxonomy-element {
|
||||||
|
background-color: #424242; }
|
||||||
|
body.colorscheme-auto .taxonomy-element a {
|
||||||
|
color: #dadada; }
|
||||||
|
body.colorscheme-auto .taxonomy-element a:active {
|
||||||
|
color: #dadada; } }
|
||||||
|
|
||||||
body.colorscheme-dark .footer a {
|
body.colorscheme-dark .footer a {
|
||||||
color: #42a5f5; }
|
color: #42a5f5; }
|
||||||
|
|
||||||
|
|||||||
@@ -3228,7 +3228,7 @@ figure {
|
|||||||
width: 100%; }
|
width: 100%; }
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
margin: 0 auto;
|
margin: 1rem auto;
|
||||||
max-width: 90rem;
|
max-width: 90rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-left: 2rem;
|
padding-left: 2rem;
|
||||||
@@ -3485,7 +3485,6 @@ img.emoji {
|
|||||||
font-size: 1.7rem;
|
font-size: 1.7rem;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, "PingFang SC", STXihei, "华文细黑", "Microsoft YaHei", "微软雅黑", SimSun, "宋体", Heiti, "黑体", sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, "PingFang SC", STXihei, "华文细黑", "Microsoft YaHei", "微软雅黑", SimSun, "宋体", Heiti, "黑体", sans-serif;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 6rem;
|
|
||||||
color: #212121; }
|
color: #212121; }
|
||||||
.navigation a:hover, .navigation a:focus {
|
.navigation a:hover, .navigation a:focus {
|
||||||
color: #1565c0; }
|
color: #1565c0; }
|
||||||
@@ -3499,8 +3498,8 @@ img.emoji {
|
|||||||
margin-top: 0; }
|
margin-top: 0; }
|
||||||
@media only screen and (max-width: 768px) {
|
@media only screen and (max-width: 768px) {
|
||||||
.navigation .navigation-list {
|
.navigation .navigation-list {
|
||||||
position: absolute;
|
position: relative;
|
||||||
top: 6rem;
|
top: 2rem;
|
||||||
right: 0;
|
right: 0;
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
@@ -3557,8 +3556,8 @@ img.emoji {
|
|||||||
display: none; }
|
display: none; }
|
||||||
@media only screen and (max-width: 768px) {
|
@media only screen and (max-width: 768px) {
|
||||||
.navigation .menu-button {
|
.navigation .menu-button {
|
||||||
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
margin: 1.8rem 0;
|
|
||||||
font-size: 2.4rem;
|
font-size: 2.4rem;
|
||||||
font-weight: 400; } }
|
font-weight: 400; } }
|
||||||
.navigation .menu-button i:hover, .navigation .menu-button i:focus {
|
.navigation .menu-button i:hover, .navigation .menu-button i:focus {
|
||||||
|
|||||||
Reference in New Issue
Block a user