diff options
| author | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2024-11-25 09:20:01 +0100 |
|---|---|---|
| committer | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2024-11-25 09:20:01 +0100 |
| commit | 207a2540101b2f216bde94ae53286d2e52f044e3 (patch) | |
| tree | 0d36c7d3ea8b87f654aa47384d16f1f8f96a0157 /frontend/src/App.css | |
| parent | feat/rankings: optimize Steam ID comparison (#236) (diff) | |
| download | lphub-207a2540101b2f216bde94ae53286d2e52f044e3.tar.gz lphub-207a2540101b2f216bde94ae53286d2e52f044e3.tar.bz2 lphub-207a2540101b2f216bde94ae53286d2e52f044e3.zip | |
frontend: begin port to css modules, sidebar refactor
Diffstat (limited to 'frontend/src/App.css')
| -rw-r--r-- | frontend/src/App.css | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/frontend/src/App.css b/frontend/src/App.css index 14a9972..a6ef415 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css | |||
| @@ -1,13 +1,11 @@ | |||
| 1 | main { | 1 | main { |
| 2 | overflow: auto; | 2 | overflow: auto; |
| 3 | overflow-x: hidden; | 3 | overflow-x: hidden; |
| 4 | position: relative; | ||
| 5 | 4 | ||
| 6 | width: calc(100% - 380px); | 5 | width: calc(100% - 350px); |
| 7 | height: 100vh; | 6 | height: 100vh; |
| 8 | left: 350px; | ||
| 9 | 7 | ||
| 10 | padding-right: 30px; | 8 | padding: 0px 30px; |
| 11 | 9 | ||
| 12 | font-size: 40px; | 10 | font-size: 40px; |
| 13 | font-family: BarlowSemiCondensed-Regular; | 11 | font-family: BarlowSemiCondensed-Regular; |
| @@ -15,9 +13,28 @@ main { | |||
| 15 | 13 | ||
| 16 | } | 14 | } |
| 17 | 15 | ||
| 16 | button img { | ||
| 17 | height: 24px; | ||
| 18 | } | ||
| 19 | |||
| 20 | b { | ||
| 21 | font-family: BarlowCondensed-Bold; | ||
| 22 | } | ||
| 23 | |||
| 24 | * { | ||
| 25 | --text-color: #cdcfdf; | ||
| 26 | --primary: #2B2E46; | ||
| 27 | --primary-dark: #202232; | ||
| 28 | } | ||
| 29 | |||
| 30 | #root { | ||
| 31 | display: flex; | ||
| 32 | } | ||
| 33 | |||
| 18 | a { | 34 | a { |
| 19 | color: inherit; | 35 | color: inherit; |
| 20 | width: fit-content; | 36 | width: fit-content; |
| 37 | text-decoration: none; | ||
| 21 | } | 38 | } |
| 22 | 39 | ||
| 23 | body { | 40 | body { |