Hi, I'mAri
-
-
-
-
-
-
-
-
-
-
-
-
-diff --git a/assets/media/avatar.webp b/assets/media/avatar.webp new file mode 100644 index 0000000..b1216a7 Binary files /dev/null and b/assets/media/avatar.webp differ diff --git a/css/fonts.css b/css/fonts.css index 649ee3a..d0c5672 100644 --- a/css/fonts.css +++ b/css/fonts.css @@ -1,4 +1,5 @@ @font-face { + font-display: swap; font-family: 'Comic Code'; src: url('https://fonts.doughmination.co.uk/ComicCode-Regular_2022-05-24-151938_hsmz.woff2') format('woff2'), url('https://fonts.doughmination.co.uk/ComicCode-Regular_2022-05-24-151938_hsmz.woff') format('woff'); @@ -7,6 +8,7 @@ } @font-face { + font-display: swap; font-family: 'Comic Code'; src: url('https://fonts.doughmination.co.uk/ComicCode-Italic_2022-05-24-151939_rdtu.woff2') format('woff2'), url('https://fonts.doughmination.co.uk/ComicCode-Italic_2022-05-24-151939_rdtu.woff') format('woff'); @@ -15,6 +17,7 @@ } @font-face { + font-display: swap; font-family: 'Comic Code'; src: url('https://fonts.doughmination.co.uk/ComicCode-Medium_2022-05-24-151941_ugqm.woff2') format('woff2'), url('https://fonts.doughmination.co.uk/ComicCode-Medium_2022-05-24-151941_ugqm.woff') format('woff'); @@ -23,6 +26,7 @@ } @font-face { + font-display: swap; font-family: 'Comic Code'; src: url('https://fonts.doughmination.co.uk/ComicCode-Bold_2022-05-24-152309_zqkm.woff2') format('woff2'), url('https://fonts.doughmination.co.uk/ComicCode-Bold_2022-05-24-152309_zqkm.woff') format('woff'); diff --git a/css/index.css b/css/index.css index cc9f9a0..87448aa 100644 --- a/css/index.css +++ b/css/index.css @@ -1,43 +1,46 @@ /* IMPORTS */ - -@import url("fonts.css"); +@import url(fonts.css); +@import url(picker.css); @import url(theme-switcher.css); -@import url("picker.css"); -@import url(themes/mocha.css); -@import url(themes/macchiato.css); @import url(themes/frappe.css); @import url(themes/latte.css); +@import url(themes/macchiato.css); +@import url(themes/mocha.css); -/* Index.html */ - - -html, -body { - display: flex; - justify-content: center; - align-items: center; - padding: 1.5rem 1rem; - height: 100%; - width: 100%; - overflow: hidden; - font-family: 'Comic Code', sans-serif; - overflow-x: hidden; - max-width: 100vw; - margin: 0; - min-height: 100vh; - background: linear-gradient(135deg, var(--base) 0%, var(--mantle) 60%, var(--crust) 100%); - color: var(--text); +*, +*::before, +*::after { + box-sizing: border-box; } html { + height: 100%; background: linear-gradient(135deg, var(--base) 0%, var(--mantle) 60%, var(--crust) 100%); } -.hub { - position: auto; - z-index: 1; +body { + margin: 0; + min-height: 100vh; width: 100%; - max-width: 460px; + max-width: 100vw; + overflow-x: hidden; + font-family: 'Comic Code', sans-serif; + background: linear-gradient(135deg, var(--base) 0%, var(--mantle) 60%, var(--crust) 100%); + color: var(--text); + + /* top-anchored, horizontally centered, scrollable */ + display: flex; + flex-direction: column; + align-items: center; + padding: clamp(2.5rem, 9vh, 6rem) 1.25rem 5rem; +} + +/* main content column */ +main.intro, +.hub { + width: 100%; + max-width: 480px; + z-index: 1; } .pfp { @@ -138,19 +141,20 @@ body::before { filter: invert(78%) sepia(36%) saturate(640%) hue-rotate(280deg) brightness(105%); } - - @media (max-width: 600px) { .intro { - margin-top: 10vh; color: var(--text); text-align: center; - padding: 5vh + padding: 0; } .intro-text { - margin-top: 1vh; - padding: 1vh; + margin-top: 0.75rem; + padding: 0 0.25rem; + } + + .hub-header h1 { + font-size: 1.7rem; } } @@ -164,19 +168,41 @@ body::before { } } +.intro-text { + max-width: 42ch; + margin-left: auto; + margin-right: auto; + line-height: 1.6; + color: var(--subtext-1); + font-size: 0.98rem; +} + .gitgay-link { - background-color: var(--mauve); - border: none; - color: black; - padding: 20px; - text-align: center; - text-decoration: none; - display: inline-block; - font-size: 16px; - margin: 4px 2px; - cursor: pointer; - border-radius: 15px; - font-family: "Comic Code"; + background-color: var(--mauve); + border: none; + color: black; + padding: 0.85rem 1.5rem; + text-align: center; + text-decoration: none; + display: inline-block; + font-size: 1rem; + font-weight: 600; + margin: 4px 2px; + cursor: pointer; + border-radius: 14px; + 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); +} + +.gitgay-link:hover { + transform: translateY(-2px); + filter: brightness(1.05); + box-shadow: 0 10px 24px -8px rgba(var(--accent-rgb), 0.8); +} + +.gitgay-link:active { + transform: translateY(0); } .hub-header, .pfp, .hey, .pronouns, .intro-text, .gitgay-link { @@ -186,42 +212,42 @@ body::before { /* ---- 88x31 button wall (always visible on desktop) ---- */ .button-wall { - position: fixed; - bottom: 1rem; - left: 50%; - transform: translateX(-50%); - z-index: 5; - display: flex; - flex-wrap: wrap; - justify-content: center; - gap: 0.5rem; - max-width: min(90vw, 480px); + position: fixed; + bottom: 1rem; + left: 50%; + transform: translateX(-50%); + z-index: 5; + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 0.5rem; + max-width: min(90vw, 480px); } /* hide on mobile */ @media (max-width: 768px) { - .button-wall { - display: none; - } + .button-wall { + display: none; + } } .button-wall a { - display: block; - line-height: 0; + display: block; + line-height: 0; } .button-wall img { - width: 88px; - height: 31px; - image-rendering: pixelated; - border: 1px solid var(--surface-1); - border-radius: 2px; - transition: transform 0.12s ease, border-color 0.12s ease; + width: 88px; + height: 31px; + image-rendering: pixelated; + border: 1px solid var(--surface-1); + border-radius: 2px; + transition: transform 0.12s ease, border-color 0.12s ease; } .button-wall a:hover img { - transform: translateY(-2px); - border-color: rgb(var(--accent-rgb)); + transform: translateY(-2px); + border-color: rgb(var(--accent-rgb)); } @@ -242,7 +268,7 @@ body.message-page { } .message-card { - background: var(--surface0); + background: var(--surface-0); padding: 2.5rem; border-radius: 12px; max-width: 520px; @@ -251,7 +277,7 @@ body.message-page { text-align: center; line-height: 1.6; color: var(--text); - border: 1px solid var(--surface1); + border: 1px solid var(--surface-1); } .message-card h1 { @@ -261,7 +287,7 @@ body.message-page { } .message-card p { - color: var(--subtext1); + color: var(--subtext-1); } .message-card .ok { color: var(--green); } @@ -269,7 +295,7 @@ body.message-page { .message-card .warn { color: var(--yellow); } .message-card .muted { - color: var(--overlay1); + color: var(--overlay-1); font-size: 0.9rem; margin-top: 1.5rem; } diff --git a/index.html b/index.html index 75274aa..bbe004f 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-