summaryrefslogtreecommitdiff
path: root/static/styles.css
diff options
context:
space:
mode:
Diffstat (limited to 'static/styles.css')
-rw-r--r--static/styles.css45
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;
+}