diff options
Diffstat (limited to 'src/styles/style.css')
| -rw-r--r-- | src/styles/style.css | 63 |
1 files changed, 42 insertions, 21 deletions
diff --git a/src/styles/style.css b/src/styles/style.css index 737c6fc..dc1ea6d 100644 --- a/src/styles/style.css +++ b/src/styles/style.css @@ -1,8 +1,47 @@ -@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap'); +@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap"); + +@media (prefers-color-scheme: dark) { + body { + background: #252525; + color: #ffffff; + } + + a { + color: #00e600; + text-decoration: none; + } + + a:hover { + color: #00ff00; + } + + a:active { + color: #009400; + } +} + +@media (prefers-color-scheme: light) { + body { + background: #f3f3f3; + color: #000000; + } + + a { + color: #009000; + text-decoration: none; + } + + a:hover { + color: #00d000; + } + + a:active { + color: #00e100; + } +} + body { font-family: "JetBrains Mono", monospace; - background: #252525; - color: white; } .container { @@ -15,24 +54,6 @@ body { text-align: center; } -a { - color: #00e600; - text-decoration: none; -} - -a:hover { - color: #00ff00; -} - -a:active { - color: #009400; -} - -.nav { - font-size: 1.2em; - font-weight: bold; -} - p { font-size: 1.1em; } |
