diff options
| author | Andrew Lee <[email protected]> | 2025-12-12 16:05:16 -0500 |
|---|---|---|
| committer | Andrew Lee <[email protected]> | 2025-12-12 16:05:16 -0500 |
| commit | 16c74dbf983da91b192d692fee1c9ade5266cc9b (patch) | |
| tree | e30ff346155a61fd339640afefa976c4583c9cf2 /src/styles | |
| parent | acc3732f939c0f796b8dce2e5d47f3174e4e695d (diff) | |
| download | shiftos-archive-website-16c74dbf983da91b192d692fee1c9ade5266cc9b.tar.gz shiftos-archive-website-16c74dbf983da91b192d692fee1c9ade5266cc9b.tar.bz2 shiftos-archive-website-16c74dbf983da91b192d692fee1c9ade5266cc9b.zip | |
revamped homepage (making it look similar to shiftos); updated astro
Diffstat (limited to 'src/styles')
| -rw-r--r-- | src/styles/style.css | 63 | ||||
| -rw-r--r-- | src/styles/window.css | 76 |
2 files changed, 118 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; } diff --git a/src/styles/window.css b/src/styles/window.css new file mode 100644 index 0000000..4adfcf0 --- /dev/null +++ b/src/styles/window.css @@ -0,0 +1,76 @@ + .titlebar { + background-color: #808080; + color: #FFFFFF; + padding: 0.3em; + display: flex; + justify-content: space-between; + align-items: center; + } + + .titlebar-text { + margin: 0; + padding: 0.2em; + font-size: 1em; + font-weight: bold; + } + + .titlebar-buttons { + display: flex; + } + + .titlebar-box { + background-color: #000000; + width: 25px; + height: 25px; + margin-left: 0.2em; + } + + .window { + font-family: Arial, Helvetica, sans-serif; + background-color: #ffffff; + margin: 1em 15%; + color: #000000; + } + + .border { + border-style: solid; + border-top: none; + border-color: #808080; + border-width: 0.2em; + } + + .button { + color: #000000; + padding: 15px 40px; + border: solid; + border-width: 2px; + } + + .button:hover { + background-color: #bebebe; + color: #000000; + } + + .button:active { + box-shadow: inset 0 0 0 1px #000; + color: #000000; + } + + .nav { + display: flex; + gap: 10px; + justify-content: center; + padding: 20px; + } + + @media (min-width:480px) { + .nav { + flex-direction: column; + } + + } + @media (min-width:801px) { + .nav { + flex-direction: row; + } + } |
