diff options
| author | Bobby <[email protected]> | 2024-12-15 19:11:48 -0500 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-12-15 19:11:48 -0500 |
| commit | 8bb529d5eefec11360e7aacb287120d6427793bd (patch) | |
| tree | 356d0690288513eee99abedafd3cf0929a3f27a3 /static/css/shared | |
| parent | 12c92bf4d74f3717b1eafe1737e671a2b8bda02e (diff) | |
| download | thatcomputerscientist-8bb529d5eefec11360e7aacb287120d6427793bd.tar.xz thatcomputerscientist-8bb529d5eefec11360e7aacb287120d6427793bd.zip | |
user stats
Diffstat (limited to 'static/css/shared')
| -rw-r--r-- | static/css/shared/core.css | 65 | ||||
| -rw-r--r-- | static/css/shared/login-area.css | 4 |
2 files changed, 65 insertions, 4 deletions
diff --git a/static/css/shared/core.css b/static/css/shared/core.css index 02d41657..094f9555 100644 --- a/static/css/shared/core.css +++ b/static/css/shared/core.css @@ -1,11 +1,13 @@ /* Reset and Base Styles */ -@font-face { +@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100;300;400;500;700;800;900&display=swap'); + +/* @font-face { font-family: 'Klee'; src: url('../../fonts/KleeOne-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap -} +} */ @font-face { font-family: 'SweetFairy'; @@ -39,7 +41,7 @@ body { body, textarea, input { - font-family: 'Klee'; + font-family: 'M PLUS Rounded 1c'; font-size: 12px; font-weight: 400; } @@ -259,6 +261,63 @@ html[lang='ja'] .navigation-title { margin-right: 8px; } +.user-stats-area { + margin: 12px 0px 0px 0px; + background-color: #f4f1e90f; + padding: 8px 0px; + border-radius: 8px; +} + +.stats-profile-image { + width: 120px; + height: 120px; + margin: 4px auto; + display: block; +} + +.stats-username, +.stats-bio { + margin: 4px 0px; +} + +.stats-bio { + padding: 4px 0px; + border-top: 1px solid #fff; + border-bottom: 1px solid #fff; +} + +.user-stats { + display: flex; + justify-content: space-between; + padding: 4px; + background-color: #6446858a; +} + +.user-stats:nth-child(odd) { + background-color: #54266a85; +} + +.stat-links a { + display: block; + padding: 4px; +} + +.stat-links a::before { + content: '>'; + margin-right: 4px; +} + +.stat-value { + display: flex; + align-items: center; + gap: 2px; +} + +.stat-value img { + width: 12px; + height: 12px; +} + /* Sidebar Search Bar */ #search-area { diff --git a/static/css/shared/login-area.css b/static/css/shared/login-area.css index cb3d1a07..b2e86506 100644 --- a/static/css/shared/login-area.css +++ b/static/css/shared/login-area.css @@ -152,7 +152,7 @@ .user-avatar { width: 72px; height: 72px; - border: solid 2px #8d8dff; + /* border: solid 2px #8d8dff; */ padding: 4px; position: absolute; bottom: 0; @@ -162,4 +162,6 @@ .user-avatar img { width: 100%; height: 100%; + border-radius: 50%; + }
\ No newline at end of file |
