2020-07-13 21:26:05 +00:00
|
|
|
// dark mode preference
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
body {
|
|
|
|
background: var(--bg-dark);
|
|
|
|
color: var(--text-dark);
|
|
|
|
}
|
|
|
|
header {
|
|
|
|
border-top-color: var(--border-dark);
|
|
|
|
h1 {
|
|
|
|
a {
|
|
|
|
color: var(--text-dark-hl);
|
|
|
|
}
|
|
|
|
span {
|
|
|
|
color: var(--text-subdued-dark);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-07-17 16:00:18 +00:00
|
|
|
a,
|
|
|
|
b {
|
2020-07-13 21:26:05 +00:00
|
|
|
color: var(--link-color-dark);
|
2020-07-17 16:00:18 +00:00
|
|
|
}
|
|
|
|
p a:hover {
|
|
|
|
border-bottom: 2px solid var(--link-color-dark);
|
2020-07-13 21:26:05 +00:00
|
|
|
}
|
|
|
|
main {
|
|
|
|
aside {
|
|
|
|
h1 {
|
|
|
|
background: var(--text-title-dark);
|
|
|
|
background: linear-gradient(135deg, $blue-lt 0%, $purple-lt 67%);
|
2020-07-14 18:00:38 +00:00
|
|
|
-webkit-background-clip: text;
|
2020-07-13 21:26:05 +00:00
|
|
|
background-clip: text;
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
article {
|
2020-07-14 16:46:08 +00:00
|
|
|
h2,
|
|
|
|
h3 {
|
2020-07-13 21:26:05 +00:00
|
|
|
color: var(--text-dark-hl);
|
|
|
|
}
|
|
|
|
blockquote {
|
|
|
|
p {
|
|
|
|
border-left-color: var(--border-dark);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-07-14 16:46:08 +00:00
|
|
|
section#author.border::before {
|
|
|
|
background: var(--bg-dark);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ul.tags li a {
|
|
|
|
background: var(--border-dark);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: var(--link-color-dark);
|
|
|
|
}
|
2020-07-13 21:26:05 +00:00
|
|
|
}
|
|
|
|
}
|