|
|
|
@ -36,51 +36,60 @@
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html {
|
|
|
|
|
font-size: clamp(10px, 2vw, var(--max-font-size-unitless) * 1px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#toggle-theme-switch {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#theming-root {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
margin: 0;
|
|
|
|
|
background-color: var(--secondary-color);
|
|
|
|
|
color: var(--primary-color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#toggle-theme-switch:not(:checked) ~ #theming-root {
|
|
|
|
|
--primary-color: hsl(0, 0%, 100%);
|
|
|
|
|
--secondary-color: hsl(0, 0%, 0%);
|
|
|
|
|
--secondary-color-heading: hsl(0, 0%, 17%);
|
|
|
|
|
--secondary-color-shaded: hsl(0, 0%, 9%);
|
|
|
|
|
--anchor-color: hsl(210, 100%, 60%);
|
|
|
|
|
--color-http: hsl(0, 0%, 17%);
|
|
|
|
|
--color-https: hsl(195, 53%, 21%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.light-theme {
|
|
|
|
|
|
|
|
|
|
#toggle-theme-switch:checked ~ #theming-root {
|
|
|
|
|
--primary-color: hsl(0, 0%, 0%);
|
|
|
|
|
--secondary-color: hsl(0, 0%, 100%);
|
|
|
|
|
--secondary-color-heading: hsl(0, 0%, 83%);
|
|
|
|
|
--secondary-color-shaded: hsl(0, 0%, 91%);
|
|
|
|
|
--anchor-color: hsl(210, 100%, 40%);
|
|
|
|
|
--color-http: hsl(0, 0%, 83%);
|
|
|
|
|
--color-https: hsl(195, 53%, 79%)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a, .anchorstyle {
|
|
|
|
|
color: hsl(210, 100%, 60%);
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.light-theme :is(a, .anchorstyle) {
|
|
|
|
|
color: hsl(210, 100%, 40%);
|
|
|
|
|
color: var(--anchor-color);
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
*, *::after, *::before {
|
|
|
|
|
transition: color 3s, background-color 2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html {
|
|
|
|
|
font-size: clamp(10px, 2vw, var(--max-font-size-unitless) * 1px);
|
|
|
|
|
color: var(--primary-color);
|
|
|
|
|
background-color: var(--secondary-color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.js .noscript, .hidden {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.clickable {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html:not(.js) .js-only {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
@ -263,19 +272,11 @@ header {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a[href^="http:"] .protocol-indicator {
|
|
|
|
|
background-color: hsl(0, 0%, 17%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.light-theme a[href^="http:"] .protocol-indicator {
|
|
|
|
|
background-color: hsl(0, 0%, 83%);
|
|
|
|
|
background-color: var(--color-http);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a[href^="https:"] .protocol-indicator {
|
|
|
|
|
background-color: hsl(195, 53%, 21%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html.light-theme a[href^="https:"] .protocol-indicator {
|
|
|
|
|
background-color: hsl(195, 53%, 79%)
|
|
|
|
|
background-color: var(--color-https);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a[href^="http:"] .protocol-indicator::after {
|
|
|
|
|