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 @@