diff options
author | azahi <azat@bahawi.net> | 2024-11-12 23:28:32 +0300 |
---|---|---|
committer | azahi <azat@bahawi.net> | 2024-11-12 23:28:32 +0300 |
commit | 9ba3c3d09c6db4449722607d899ccef2730ac886 (patch) | |
tree | 6f7329b5b0800fe223ea9c989a148469d46c4908 /style.css | |
parent | fix: typo (diff) |
Diffstat (limited to '')
-rw-r--r-- | style.css | 63 |
1 files changed, 28 insertions, 35 deletions
diff --git a/style.css b/style.css index 31b9de3..3cd652d 100644 --- a/style.css +++ b/style.css @@ -1,58 +1,51 @@ -:root { - --black: #161719; - --blue: #81a2be; - --cyan: #8abeb7; - --green: #b5bd68; - --magenta: #b294bb; - --red: #cc6666; - --white: #ffffff; - --yellow: #f0c674; -} - @media (prefers-color-scheme: light) { - :root { - --background: var(--white); - --foreground: var(--black); - --link-color: var(--blue); - } + :root { + --link-color: #81a2be; + } } @media (prefers-color-scheme: dark) { - :root { - --background: var(--black); - --foreground: var(--white); - --link-color: var(--red); - } + :root { + --link-color: #cc6666; + } } body { - background-color: var(--background); - color: var(--foreground); - font-family: Iosevka, monospace; - font-size: 1.3em; - line-height: 1.2em; + font-family: Bahnschrift, "DIN Alternate", "Franklin Gothic Medium", + "Nimbus Sans Narrow", sans-serif-condensed, sans-serif; + font-weight: normal; + font-size: 1.2rem; + line-height: 1.4rem; } a { - color: var(--link-color); + color: var(--link-color); } dt { - font-style: italic; + font-style: italic; } code { - white-space: pre; + white-space: pre; } .container { - position: absolute; - top: 50%; - left: 50%; - -ms-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); + position: absolute; + top: 50%; + left: 50%; + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + margin: auto; } .center { - text-align: center; + text-align: center; +} + +.image { + display: block; + margin-left: auto; + margin-right: auto; + width: 50%; } |