From e52c8d40a5718787debb2cc4cbecdda83c64ffee Mon Sep 17 00:00:00 2001 From: Ari Date: Wed, 24 Jun 2026 00:14:25 +0100 Subject: [PATCH] socials fixed --- css/discord.css | 3 +-- css/index.css | 46 ++++++++++++++++++++++++++++++++++++++------ socials/index.html | 48 +++++++++++++++++++++------------------------- 3 files changed, 63 insertions(+), 34 deletions(-) diff --git a/css/discord.css b/css/discord.css index a601568..a110ed9 100644 --- a/css/discord.css +++ b/css/discord.css @@ -852,8 +852,7 @@ body:has(.presence-stage) { .presence-stage .presence-card { position: static; margin: 0; - width: 100%; - max-width: 680px; + width: 60vw; border-radius: 20px; } diff --git a/css/index.css b/css/index.css index df440bf..f921a2a 100644 --- a/css/index.css +++ b/css/index.css @@ -232,20 +232,54 @@ body::after { font-family: "Comic Code"; transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease; box-shadow: 0 6px 18px -8px rgba(var(--accent-rgb), 0.7); - } -.links { - display: inline-flex; - flex-direction: column; - gap: 8px; +.links-socials { + width: 60vw; + display: flex; + flex-direction: column; + gap: 8px; + max-width: 800px; } .gitgay-link { display: block; text-align: center; + width: 100%; } + +/* Normal desktop */ +#discord, +.links-socials { + width: 60vw; + max-width: 800px; +} + +.gitgay-link, +.presence-stage .presence-card { + width: 100%; + max-width: 100%; +} + +/* Wide screens (16:9 and wider) */ +@media (min-aspect-ratio: 16/9) { + #discord, + .links-socials { + width: 40vw; + max-width: 600px; + } +} + +/* Mobile */ +@media (max-width: 768px) { + #discord, + .links-socials { + width: 90vw; + } +} + + .gitgay-link:hover { transform: translateY(-2px); filter: brightness(1.05); @@ -645,4 +679,4 @@ body:has(.dev-info) .hub { text-decoration: underline; } -} \ No newline at end of file +} diff --git a/socials/index.html b/socials/index.html index 884c190..75b04dd 100644 --- a/socials/index.html +++ b/socials/index.html @@ -44,6 +44,7 @@ Ari + @@ -75,46 +76,41 @@
× - Index + Index Dev Info Hardware Curriculum Vitae - Socials + Socials
+ - -
- -
-
+

My Socials

A list of all of my socials
-
-
-
-

Socials

+
+
+
+

Socials

-
+ + + + - - - - - - \ No newline at end of file + +