aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/css
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/css')
-rw-r--r--frontend/src/css/Maplist.css198
-rw-r--r--frontend/src/css/Maps.css2
2 files changed, 199 insertions, 1 deletions
diff --git a/frontend/src/css/Maplist.css b/frontend/src/css/Maplist.css
new file mode 100644
index 0000000..bd1f646
--- /dev/null
+++ b/frontend/src/css/Maplist.css
@@ -0,0 +1,198 @@
1h1 {
2 font-family: "BarlowCondensed-Bold";
3 margin: 0px 0px;
4}
5
6h2 {
7 margin: 20px 0px;
8 font-family: "BarlowSemiCondensed-SemiBold";
9 font-size: 96px;
10}
11
12h3 {
13 font-family: "BarlowSemiCondensed-Regular";
14 margin: 0px 10px;
15 font-size: 42px;
16}
17
18.game-header {
19 text-align: center;
20 border-radius: 24px;
21 overflow: hidden;
22 background-size: cover;
23 background-position: 25%;
24 margin-top: 12px;
25}
26
27.blur {
28 backdrop-filter: blur(4px);
29 display: flex;
30 flex-direction: column;
31 width: 100%;
32}
33
34.blur.map {
35 flex-direction: row;
36 align-items: center;
37 justify-content: center;
38}
39
40.blur.map span {
41 width: fit-content;
42}
43
44.blur.map span:nth-child(1) {
45 font-family: "BarlowSemiCondensed-SemiBold";
46 font-size: 60px;
47 margin-right: 6px;
48}
49
50.game-header-portal-count {
51 height: 100%;
52 display: flex;
53 justify-content: center;
54 align-items: center;
55}
56
57.game-header-categories {
58 display: flex;
59 height: 50px;
60 background-color: #202232;
61 gap: 2px;
62}
63
64.game-cat-button {
65 background-color: #2b2e46;
66 border: 0;
67 color: #cdcfdf;
68 font-family: "BarlowSemiCondensed-Regular";
69 font-size: 22px;
70 cursor: pointer;
71 transition: all 0.1s;
72 width: 100%;
73}
74
75.game-cat-button:hover, .game-cat-button.selected {
76 background-color: #202232;
77}
78
79/* maplist */
80.maplist {
81 display: grid;
82 grid-template-columns: repeat(4, 1fr);
83 grid-gap: 20px;
84 margin: 20px 0px;
85}
86
87.maplist-entry {
88 background-color: #202232;
89 border-radius: 24px;
90 overflow: hidden;
91}
92
93.maplist-entry span {
94 text-align: center;
95 font-size: 20px;
96 width: 100%;
97 display: block;
98 margin: 5px 0px;
99 color: #cdcfdf;
100}
101
102.map-entry-image {
103 display: flex;
104 height: 150px;
105 background-size: cover;
106}
107
108.difficulty-bar {
109 display: flex;
110 margin: 0px 10px;
111}
112
113.difficulty-bar span {
114 text-align: left;
115 margin-left: 0px;
116 width: fit-content;
117}
118
119.difficulty-bar div {
120 display: flex;
121 width: 100%;
122 align-items: center;
123 justify-content: center;
124 gap: 5px;
125 border-radius: 2000px;
126 margin-left: 2px;
127 transform: translateY(1px);
128}
129
130.difficulty-bar div div {
131 display: flex;
132 height: 3px;
133 width: 100%;
134 background-color: #2B2E46;
135}
136
137.difficulty-bar div.one .difficulty-point:nth-child(1) {
138 background-color: #51C355;
139}
140
141.difficulty-bar div.two .difficulty-point:nth-child(-n+2) {
142 background-color: #8AC93A;
143}
144
145.difficulty-bar div.three .difficulty-point:nth-child(-n+3) {
146 background-color: #8AC93A;
147}
148
149.difficulty-bar div.four .difficulty-point:nth-child(-n+4) {
150 background-color: #C35F51;
151}
152
153.difficulty-bar div.five .difficulty-point:nth-child(-n+5) {
154 background-color: #dd422e;
155}
156
157.dropdown {
158 cursor: pointer;
159 user-select: none;
160 display: flex;
161 width: fit-content;
162 align-items: center;
163}
164
165.dropdown i {
166 transform: translate(5px, 8px) rotate(-90deg);
167}
168
169.dropdown-elements {
170 position: absolute;
171 z-index: 1000;
172 background-color: #2B2E46;
173 border-radius: 15px;
174 overflow: hidden;
175 padding: 4px 4px;
176 animation: dropdown-in 0.1s ease;
177}
178
179.dropdown-element {
180 cursor: pointer;
181 font-size: 20px;
182 border-radius: 2000px;
183 padding: 1px 4px;
184}
185
186.dropdown-element:hover {
187 background-color: #202232;
188}
189
190@keyframes dropdown-in {
191 0% {
192 opacity: 0;
193 }
194
195 100% {
196 opacity: 1;
197 }
198}
diff --git a/frontend/src/css/Maps.css b/frontend/src/css/Maps.css
index d164d3b..335e0b2 100644
--- a/frontend/src/css/Maps.css
+++ b/frontend/src/css/Maps.css
@@ -29,7 +29,7 @@
29 height: 40px; 29 height: 40px;
30 background-color: #2b2e46; 30 background-color: #2b2e46;
31 31
32 color: inherit; 32 color: #cdcfdf;
33 font-size: 18px; 33 font-size: 18px;
34 font-family: inherit; 34 font-family: inherit;
35 border: none; 35 border: none;