From 36dde64b611f7bd3112038fd868c2a3c300eeb7a Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Wed, 4 Feb 2026 01:53:04 +1000 Subject: [PATCH] format socials as list (im still learning...) --- www/css/style.css | 49 +++++++++++++---- www/css/themes/maps/rose-pine.css | 1 + www/index.html | 91 +++++++++++-------------------- 3 files changed, 70 insertions(+), 71 deletions(-) diff --git a/www/css/style.css b/www/css/style.css index 412e7f9..67aec8a 100644 --- a/www/css/style.css +++ b/www/css/style.css @@ -45,21 +45,46 @@ main { font-size: 1.5em } -socials-list { +.socials-list { + /* display: flex; */ + /* flex-direction: column; */ + /* gap: 1ch; */ + /* align-content: centerr; */ + /* align-items: start; */ + + list-style: none; + width: 45ch; +} + +.socials-item { display: flex; - flex-direction: column; - - /* justify-content: start; */ - align-content: centerr; - align-items: start; - - gap: 1ch; -} - -socials-item { + align-items: start; + gap: 12px; + padding: 8px 0; + border-bottom: 1px solid var(--theme-icon-off); } -.icon-social { +.socials-icon { + width: 2ch; height: 2ch; + object-fit: contain; + flex: 0 0 40px; /* fixed column */ +} + +.socials-name { + flex: 1 1 140px; + text-align: left; + min-width: 0; /* important to allow truncation if needed */ + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.socials-link { + flex: 0 0 auto; /* fixed link column width; adjust as needed */ + text-align: left; + color: var(--theme-link); + text-decoration: none; + white-space: nowrap; } diff --git a/www/css/themes/maps/rose-pine.css b/www/css/themes/maps/rose-pine.css index 4beaaea..a9fd520 100644 --- a/www/css/themes/maps/rose-pine.css +++ b/www/css/themes/maps/rose-pine.css @@ -21,6 +21,7 @@ Variables: --theme-base: var(--palette-rose-pine-base); --theme-bg: var(--palette-rose-pine-base); --theme-text: var(--palette-rose-pine-text); + --theme-link: var(--palette-rose-pine-foam); --theme-icon: var(--palette-rose-pine-pine); --theme-icon-off: var(--palette-rose-pine-foam); diff --git a/www/index.html b/www/index.html index 2dd7517..9fcd45d 100644 --- a/www/index.html +++ b/www/index.html @@ -19,6 +19,13 @@ + + +
@@ -64,82 +71,48 @@
- -
-
- +
+
-
-

hi!! i'm cry (they/them)

+ -
- - - - - - - - - - - - - - - - - - - - - - - - - -
+
+ +
Bluesky
+ + -
+
  • - + - - Discord - -
  • +
    Discord
    + + -
    +
  • - + - - - Github - -
  • -
    - + +
    Github
    + + +
    - + +

    hi!! i'm cry (they/them) <3

    +