diff options
author | Squibid <me@zacharyscheiman.com> | 2023-07-15 04:42:58 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-07-15 04:42:58 -0400 |
commit | de8eb4c3ec65910d14807c5fba0ad6c0a7c02382 (patch) | |
tree | 5de7c5b68b12f79fa3e3038b0ef6bd496a6ee78f /style.css | |
parent | 81e150fbd84e0bff8a5d4b80f93a128cabeb4433 (diff) | |
download | site-de8eb4c3ec65910d14807c5fba0ad6c0a7c02382.tar.gz site-de8eb4c3ec65910d14807c5fba0ad6c0a7c02382.tar.bz2 site-de8eb4c3ec65910d14807c5fba0ad6c0a7c02382.zip |
rework website view & remove unused images (all of them)
Diffstat (limited to '')
-rw-r--r-- | style.css | 70 |
1 files changed, 46 insertions, 24 deletions
@@ -1,43 +1,65 @@ -html, body { - background-color: #141414; - display: flex; - justify-content: center; +:root { + --lr-width: 45%; +} + +/* desktop mode */ +@media only screen and (min-width: 100ch) { + #master { + width: 95ch; + } + div#master #left { + float: left; + text-align: left; + width: var(--lr-width); + } + div#master #right { + float: right; + text-align: right; + width: var(--lr-width); + } + p#blogpreview a { + max-width: 30ch; + } +} +/* mobile mode */ +@media only screen and (max-width: 100ch) { + #master { + width: 85%; + } + p#blogpreview a { + max-width: 50vw; + } } -.master { - position: absolute; - width: 50%; + +html, body { + display: flex; + justify-content: center; } -header { +div#master header { text-align: center; - font-size: 3.5vh; + font-size: 30px; } -#profile { - vertical-align: middle; - margin: 10vw; +div#group hgroup { + text-align: center; } -#font, p { +#font, p, ul, ol { font-family: sans-serif; color: white; } -#left { +p#blogpreview a { float: left; - text-align: left; - width: 50%; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } -#right { +p#blogpreview span { float: right; - text-align: right; - width: 50%; } a { font-family: sans-serif; text-decoration: none; - color: #ED8182; + color: #ea83a5; } a:hover, a:active { font-style: italic; } -#svg { - max-height: .8em; - max-width: 1em; -} |