-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
251 lines (215 loc) · 4.71 KB
/
style.css
File metadata and controls
251 lines (215 loc) · 4.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&family=Heebo:wght@400;500;700;900&display=swap');
/* font-family: 'Courier Prime', monospace;
font-family: 'Heebo', sans-serif; */
:root {
--primaryColor: #fffb00;
--primaryDarkColor: #372958;
--primaryHoverColor: #ffe600;
--secondaryColor: #F9B000;
--baseColor: #ddd8c7;
--baseFont: 'Heebo', sans-serif;
--titleFont: 'Courier Prime', monospace;
--regular: 400;
--medium: 500;
--bold: 700;
--black: 900;
--lightBg: #292424;
}
html {
scroll-behavior: smooth;
}
body {
font-family: var(--baseFont);
color: var(--baseColor);
line-height: normal;
background-color: rgb(20, 20, 20);
margin: auto;
text-align: center;
}
ul {
margin: 0;
padding: 0;
list-style-type: none;
}
img {
max-width: 100%;
}
a {
color: inherit;
}
a:hover {
color: var(--primaryHoverColor);
}
.primaryColor {
color: var(--primaryColor);
}
/* titles */
.xlTitle {
font-size: 44px;
line-height: 1.3;
font-weight: var(--bold);
font-family: var(--titleFont)
}
.lgTitle {
font-size: 30px;
line-height: normal;
font-weight: var(--bold);
font-family: var(--titleFont)
}
.mdTitle {
font-size: 26px;
line-height: normal;
font-weight: var(--bold);
font-family: var(--titleFont)
}
.smTitle {
font-size: 22px;
line-height: normal;
font-weight: var(--regular);
font-family: var(--titleFont)
}
.smText {
font-size: 22px;
}
.xsTitle {
font-size: 18px;
line-height: normal;
}
.regular {
font-weight: var(--regular);
}
.medium {
font-weight: var(--medium);
}
.bold {
font-weight: var(--bold);
}
.headerCol {
background-color: #353535;
padding: 18px 0;
-webkit-transition: all 300ms ease-in-out 0s;
-o-transition: all 300ms ease-in-out 0s;
transition: all 300ms ease-in-out 0s;
position: fixed;
z-index: 99;
left: 0;
right: 0;
top: 0;
}
.fixedHeader .headerCol {
padding: 10px 0;
-webkit-box-shadow: 0 0 24px rgba(0,0,0,0.1);
box-shadow: 0 0 24px rgba(0,0,0,0.1);
}
/* navigation */
.navCol {
text-align: center;
}
.navCol a {
font-size: 20px;
color: rgb(185, 174, 174);
font-weight: var(--medium);
display: inline-block;
position: relative;
}
.navCol a:hover {
color: var(--primaryColor);
}
.navCol a::before {
content: "";
position: absolute;
left: 50%;
right: 50%;
bottom: 0;
height: 2px;
border-radius: 2px;
background-color: var(--primaryColor);
-webkit-transition: all 500ms ease-in-out 0s;
-o-transition: all 500ms ease-in-out 0s;
transition: all 500ms ease-in-out 0s;
opacity: 0;
}
.navCol a.active::before {
opacity: 1;
width: 27px;
right: auto;
left: 0;
}
.navCol a:hover::before {
opacity: 1;
left: 0;
right: 0;
}
.navCol a.active {
color: var(--primaryColor);
}
.navCol li {
display: inline-block;
}
.navCol li + li {
padding-left: 32px;
}
.center {
margin: auto;
width: 50%;
border: 3px solid green;
padding: 10px;
}
/* Styles for Add Game Section */
#addGameSection {
background-color: #353535; /* Similar to header */
color: var(--baseColor);
padding: 20px;
margin-top: 30px;
margin-bottom: 30px;
border-radius: 8px;
text-align: left; /* Align text to the left within this section */
}
#addGameSection h2 {
font-family: var(--titleFont);
color: var(--primaryColor);
text-align: center; /* Center the heading of this section */
margin-bottom: 20px;
}
#addGameSection label {
display: block;
margin-bottom: 5px;
font-weight: var(--medium);
}
#addGameSection input[type="text"],
#addGameSection textarea {
width: 100%; /* Make input fields take full width of their container */
padding: 10px;
margin-bottom: 15px;
border: 1px solid #555;
border-radius: 4px;
background-color: #292424; /* Darker background for inputs */
color: var(--baseColor);
font-family: var(--baseFont);
box-sizing: border-box; /* Include padding and border in the element's total width and height */
}
#addGameSection button {
background-color: var(--primaryColor);
color: var(--primaryDarkColor); /* Text color that contrasts with primaryColor */
border: none;
padding: 10px 20px;
font-family: var(--titleFont);
font-weight: var(--bold);
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s ease;
display: block; /* Make button a block to allow margin auto for centering */
margin: 0 auto; /* Center the button */
}
#addGameSection button:hover {
background-color: var(--primaryHoverColor);
}
#addGameStatus {
margin-top: 15px;
font-weight: var(--medium);
text-align: center; /* Center status messages */
}
#addGameStatus a {
color: var(--primaryHoverColor); /* Make links stand out */
text-decoration: underline;
}