diff options
| author | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2024-12-11 09:41:13 +0100 |
|---|---|---|
| committer | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2024-12-11 09:41:13 +0100 |
| commit | d19aebd898af77dbc65fabfc4fe905f72769ccc7 (patch) | |
| tree | 28121000fd821b01d8662f238ea2d0a6e10ec1b5 /frontend/src/css/Games.module.css | |
| parent | fix/frontent: fix category parameter not working (diff) | |
| download | lphub-d19aebd898af77dbc65fabfc4fe905f72769ccc7.tar.gz lphub-d19aebd898af77dbc65fabfc4fe905f72769ccc7.tar.bz2 lphub-d19aebd898af77dbc65fabfc4fe905f72769ccc7.zip | |
fix/frontend: games page css rehaul, small maplist fixes
Diffstat (limited to 'frontend/src/css/Games.module.css')
| -rw-r--r-- | frontend/src/css/Games.module.css | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/frontend/src/css/Games.module.css b/frontend/src/css/Games.module.css new file mode 100644 index 0000000..4c598cd --- /dev/null +++ b/frontend/src/css/Games.module.css | |||
| @@ -0,0 +1,61 @@ | |||
| 1 | .content { | ||
| 2 | position: relative; | ||
| 3 | display: flex; | ||
| 4 | flex-direction: column; | ||
| 5 | width: 100%; | ||
| 6 | gap: 24px; | ||
| 7 | margin-top: 24px; | ||
| 8 | } | ||
| 9 | |||
| 10 | .content a { | ||
| 11 | position: relative; | ||
| 12 | width: 100%; | ||
| 13 | } | ||
| 14 | |||
| 15 | .game { | ||
| 16 | display: flex; | ||
| 17 | width: 100%; | ||
| 18 | flex-direction: column; | ||
| 19 | overflow: hidden; | ||
| 20 | border-radius: 24px; | ||
| 21 | background-color: var(--primary-dark); | ||
| 22 | } | ||
| 23 | |||
| 24 | .header { | ||
| 25 | display: flex; | ||
| 26 | overflow: hidden; | ||
| 27 | position: relative; | ||
| 28 | flex: 1; | ||
| 29 | } | ||
| 30 | |||
| 31 | .header span { | ||
| 32 | position: relative; | ||
| 33 | z-index: 2; | ||
| 34 | display: flex; | ||
| 35 | text-align: center; | ||
| 36 | justify-content: center; | ||
| 37 | width: 100%; | ||
| 38 | padding: 24px 0px; | ||
| 39 | text-wrap: nowrap; | ||
| 40 | } | ||
| 41 | |||
| 42 | .header div { | ||
| 43 | position: absolute; | ||
| 44 | top: 0; | ||
| 45 | left: 0; | ||
| 46 | width: 100%; | ||
| 47 | height: 100%; | ||
| 48 | z-index: 1; | ||
| 49 | background-size: cover; | ||
| 50 | filter: blur(4px); | ||
| 51 | } | ||
| 52 | |||
| 53 | .infoBlockContainer { | ||
| 54 | flex: 1; | ||
| 55 | display: flex; | ||
| 56 | gap: 12px; | ||
| 57 | margin: 12px; | ||
| 58 | align-items: center; | ||
| 59 | justify-content: center; | ||
| 60 | height: 50%; | ||
| 61 | } | ||