diff options
| author | andre4ik3 <andre4ik3@fastmail.com> | 2025-08-18 17:42:27 +0000 |
|---|---|---|
| committer | andre4ik3 <andre4ik3@fastmail.com> | 2025-08-18 17:42:27 +0000 |
| commit | d9ff6edbfcdc408e23684c00df806eac72fd02b2 (patch) | |
| tree | 45a8fe89aa4de37a2dab4b293330874e37907beb /static/styles.css | |
Initial commit
Diffstat (limited to 'static/styles.css')
| -rw-r--r-- | static/styles.css | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/static/styles.css b/static/styles.css new file mode 100644 index 0000000..1296f0a --- /dev/null +++ b/static/styles.css @@ -0,0 +1,45 @@ +@font-face { + font-family: "Caladea"; + src: url(fonts/Caladea-Regular.woff2); +} + +@font-face { + font-family: "Caladea"; + src: url(fonts/Caladea-Bold.woff2); + font-weight: bold; +} + +@font-face { + font-family: "Caladea"; + src: url(fonts/Caladea-Italic.woff2); + font-style: italic; +} + +@font-face { + font-family: "Caladea"; + src: url(fonts/Caladea-BoldItalic.woff2); + font-style: italic; + font-weight: bold; +} + +html, body { + font-family: "Caladea", serif; + background-color: #ffffee; + color: #222222; +} + +@media (prefers-color-scheme: dark) { + html, body { + background-color: #222; + color: #eee; + } + + a { color: #8888ff; } + a:visited { color: #ff88ff; } +} + +main { + width: clamp(60em, 80vw, 100em); + max-width: 100%; + margin: auto; +} |
