diff options
| author | Alexander Kassouni <alex@kassouni.net> | 2026-09-28 21:35:50 -0700 |
|---|---|---|
| committer | Alexander Kassouni <alex@kassouni.net> | 2026-09-28 21:35:50 -0700 |
| commit | a570da443586fa3b3490b5add88ea5932456a5b3 (patch) | |
| tree | 41d45d56ef31b7e632578a7e384e7cb4bf25911f /site/sass/style.scss | |
| parent | 151d2de0894d726de80d8702aea3335b9389de6f (diff) | |
site
Diffstat (limited to 'site/sass/style.scss')
| -rw-r--r-- | site/sass/style.scss | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/site/sass/style.scss b/site/sass/style.scss new file mode 100644 index 0000000..5ce9f88 --- /dev/null +++ b/site/sass/style.scss @@ -0,0 +1,122 @@ +@use "palette"; +@use "fonts"; + +body { + background: var(--bg); + color: var(--fg); + font-family: fonts.$mono; + line-height: 1.6; + + max-width: 46rem; + margin: 0 auto; + padding: 3rem 1.5rem; +} + +header { + margin-bottom: 2.5rem; + padding-bottom: 0.75rem; + border-bottom: 1px solid var(--grey); +} + +nav { + display: flex; + align-items: baseline; + justify-content: space-between; + gap: 1.5rem; + + ul { + display: flex; + gap: 1.5rem; + margin: 0; + padding: 0; + list-style: none; + } +} + +.brand, +.brand:visited { + color: var(--fg-bright); + font-weight: 500; +} + +.brand:hover { + font-weight: 700; +} + +footer { + display: flex; + gap: 1.5rem; + margin-top: 3rem; + padding-top: 0.75rem; + border-top: 1px solid var(--grey); +} + +img { + max-width: 100%; + height: auto; +} + +.centered-img { + display: block; + margin: 2rem auto; +} + +.intro { + display: flex; + align-items: flex-start; + gap: 2.5rem; +} + +.intro-text > p:first-child { + margin-top: 0; +} + +.avatar { + flex: none; + width: 14rem; + height: 14rem; + border-radius: 50%; + object-fit: cover; +} + +@media (max-width: 34rem) { + .intro { + flex-direction: column-reverse; + align-items: center; + } +} + +.post-list { + margin: 0; + padding: 0; + list-style: none; + + li { + display: flex; + justify-content: space-between; + gap: 1rem; + } +} + +time { + color: var(--fg-dim); +} + +strong { + color: var(--orange); + font-weight: 600; +} + +a { + color: var(--blue); + text-decoration: none; +} + +a:visited { + color: var(--purple); +} + +a:hover { + font-weight: 700; + text-decoration: underline; +} |