Start on CSS, but we are barely even getting started
This commit is contained in:
parent
001aa1d611
commit
3eb60ae8ab
1 changed files with 19 additions and 0 deletions
|
@ -1,5 +1,24 @@
|
||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--bg-back: #eee8f2;
|
||||||
|
|
||||||
|
--text-main: #111111;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
:root {
|
||||||
|
--bg-back: hsl(270, 29%, 28%);
|
||||||
|
|
||||||
|
--text-main: hsl(277, 38%, 89%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
html, body { font-size: 100%; }
|
html, body { font-size: 100%; }
|
||||||
body {
|
body {
|
||||||
|
background: var(--bg-back);
|
||||||
|
|
||||||
|
color: var(--text-main);
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue