43 lines
997 B
CSS
43 lines
997 B
CSS
/* Color scheme. */
|
|
|
|
:root {
|
|
--accent-red: #fb4c9e;
|
|
--accent-yellow: #ffac0c;
|
|
--accent-green: #0dd292;
|
|
--accent-blue: #0577f0;
|
|
--accent-purple: #c952f5;
|
|
--accent-pink: #ffa8f3;
|
|
|
|
--background-color: #faeaff;
|
|
--background-color-tooltip: color-mix(
|
|
in lab,
|
|
var(--background-color),
|
|
var(--shading-base) 10%
|
|
);
|
|
--text-color: #302859;
|
|
--link-color: #004ec8;
|
|
--link-color-visited: #6c2380;
|
|
|
|
--shading-base: #592782;
|
|
|
|
--shaded-background: rgb(from var(--shading-base) r g b / 5%);
|
|
--border-1: rgb(from var(--shading-base) r g b / 15%);
|
|
--border-2: rgb(from var(--shading-base) r g b / 30%);
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--background-color: rgb(31, 30, 53);
|
|
--text-color: #f7ece5;
|
|
--link-color: #93cce8;
|
|
--link-color-visited: #f7afde;
|
|
|
|
--shading-base: #e4d2ff;
|
|
}
|
|
}
|
|
|
|
/* Reset things to more sensible sizing rules */
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|