diff options
Diffstat (limited to 'frontend/src/css')
| -rw-r--r-- | frontend/src/css/Games.module.css | 61 | ||||
| -rw-r--r-- | frontend/src/css/Info.module.css | 21 |
2 files changed, 82 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 | } | ||
diff --git a/frontend/src/css/Info.module.css b/frontend/src/css/Info.module.css new file mode 100644 index 0000000..144346e --- /dev/null +++ b/frontend/src/css/Info.module.css | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | .infoBlock { | ||
| 2 | background-color: var(--primary); | ||
| 3 | display: flex; | ||
| 4 | width: 100%; | ||
| 5 | border-radius: 18px; | ||
| 6 | text-align: center; | ||
| 7 | justify-content: center; | ||
| 8 | padding: 4px 0px; | ||
| 9 | text-wrap: nowrap; | ||
| 10 | } | ||
| 11 | |||
| 12 | .infoBlock > div > span:nth-child(1) { | ||
| 13 | margin-top: 0px; | ||
| 14 | font-size: 26px; | ||
| 15 | } | ||
| 16 | |||
| 17 | .infoBlock > div > span:nth-child(3) { | ||
| 18 | font-size: 50px; | ||
| 19 | font-family: BarlowCondensed-Bold; | ||
| 20 | } | ||
| 21 | |||