From 1089c9d124b9bcc00810d6538a8f2867ccb454df Mon Sep 17 00:00:00 2001 From: AutumnVN Date: Mon, 23 Oct 2023 17:20:10 +0700 Subject: [PATCH] --- index.css | 75 ++++++++++++++++++++++++++++++++---------------------- index.html | 53 +++++++++++++++++++------------------- index.js | 1 + 3 files changed, 71 insertions(+), 58 deletions(-) diff --git a/index.css b/index.css index dbaf518..67cbc5f 100644 --- a/index.css +++ b/index.css @@ -31,30 +31,24 @@ font-family: Inter, system-ui, sans-serif; } -.bold { - font-weight: 700; +a { + text-decoration: none; } -a .bold~div, -a .bold~span { +b+div { opacity: .7; } -a, -#arrow { +html { -webkit-tap-highlight-color: transparent; - text-decoration: none; + scrollbar-width: none; + user-select: none; } ::-webkit-scrollbar { display: none; } -html { - scrollbar-width: none; - user-select: none; -} - body { margin: 0 auto; min-width: 320px; @@ -82,6 +76,10 @@ body { background: var(--background) center/cover no-repeat; } +h1 { + margin: 0; +} + header { display: flex; flex-direction: row; @@ -265,10 +263,6 @@ main .meta { margin-top: 10px; } -main .meta>.bold+div { - font-size: .9em; -} - [style*='--rows: 1;']>a { align-items: center; } @@ -291,6 +285,24 @@ main .meta>.bold+div { white-space: nowrap; } +#lanyard { + display: flex; + flex-direction: column; + box-sizing: border-box; + padding: 24px; + width: 100%; + height: 100%; +} + +#lanyard>div { + display: flex; + flex-direction: row; +} + +#lanyard>div>div+div { + margin-left: 20px; +} + #dot { display: inline-block; margin-right: .1em; @@ -301,18 +313,17 @@ main .meta>.bold+div { } #rpc { - flex-direction: row; margin-top: 10px; white-space: nowrap; } -#big, -#small { - background: var(--image) center/cover no-repeat; +#rpc>div+div { + opacity: .7; } #big { border-radius: 10px; + background: var(--image) center/cover no-repeat; width: 72px; height: 72px; } @@ -322,6 +333,7 @@ main .meta>.bold+div { top: -22px; left: 50px; border-radius: 50%; + background: var(--image) center/cover no-repeat; width: 30px; height: 30px; } @@ -354,6 +366,12 @@ main .meta>.bold+div { height: 100%; } +#clock>div>b { + display: block; + min-width: 7ch; + font-size: 2.5em; +} + #face { position: relative; aspect-ratio: 1/1; @@ -415,15 +433,6 @@ main .meta>.bold+div { opacity: .4; } -#utc-offset { - opacity: .6; -} - -#timezone-diff, -footer span:hover { - opacity: .8; -} - aside { display: flex; grid-column: span 4; @@ -451,7 +460,7 @@ aside a { color: #000; } -aside .bold { +aside b { color: #06b; font-size: 1.1em; } @@ -501,6 +510,10 @@ footer>span { text-align: center; } +footer>span:hover { + opacity: .8; +} + footer a { transition: color .2s; color: #fff; @@ -526,7 +539,7 @@ footer a:hover { } .handle { - transition: opacity .15s, background-color .15s, border-color .15s, width .15s; + transition: background-color .15s; border-radius: 4px; background: #def6; min-height: 33px; diff --git a/index.html b/index.html index 43821cd..dbb6931 100644 --- a/index.html +++ b/index.html @@ -32,7 +32,7 @@
avatar
-

+

AutumnVN @@ -58,7 +58,7 @@

-
GitHub
+ GitHub
AutumnVN
@@ -74,7 +74,7 @@

-
Discord
+ Discord
autumnvn
@@ -90,7 +90,7 @@

-
Facebook
+ Facebook
autumnvnchino
@@ -106,7 +106,7 @@

-
Youtube
+ Youtube
AutumnVN
@@ -120,33 +120,32 @@

- -
+
+
avatar
-
- AutumnVN 🍂 - autumnvn +
+
- +
@@ -161,12 +160,12 @@

- + ICT
-
+ :: -
+
@@ -190,7 +189,7 @@

-
Email
+ Email
autumnvnchino@gmail.com
@@ -212,7 +211,7 @@

-
Twitter
+ Twitter
autumnvnchino
@@ -228,7 +227,7 @@

-
osu!
+ osu!
AutumnVN
@@ -244,7 +243,7 @@

-
Chino Kafuu osu! skin
+ Chino Kafuu osu! skin
Gotchuumon wa Usagi desu ka?
@@ -260,7 +259,7 @@

-
Mahiru Shiina osu! skin
+ Mahiru Shiina osu! skin
Otonari no Tenshi-sama
@@ -271,7 +270,7 @@