-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
249 lines (234 loc) · 3.96 KB
/
styles.css
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
/* Color pallete
white: #F3F7F6
green: #5BA39B
red: #C34C34
yellow: #F8E02D
black: #1E1811 */
/* Global styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #1e1811;
color: #f3f7f6;
font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
"Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 0.5em;
background-color: transparent;
}
::-webkit-scrollbar-thumb {
background-color: #5ba39b;
border-radius: 10px;
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}
/* Navbar */
nav {
display: grid;
grid-template-columns: auto 1fr;
align-items: center;
padding: 0 20px;
border-bottom: 3px solid #f8e02d;
border-radius: 1px;
position: sticky;
top: 0;
z-index: 1;
}
.page-title {
margin: 10px;
color: #f8e02d;
font-size: 3vw;
font-weight: bold;
text-decoration: none;
}
.navbar-items {
display: grid;
grid-template-columns: repeat(6, auto);
justify-content: end;
list-style: none;
}
.navbar-items li a,
input[type="submit"] {
padding: 0.5vw 2vw;
background-color: #f8e02d;
color: #1e1811;
font-weight: bold;
text-decoration: none;
font-size: 1vw;
margin: 0.3vw;
transition-duration: 0.5s;
border-radius: 3px;
}
.navbar-items li a:hover,
input[type="submit"]:hover {
transform: scale(1.1);
background-color: #5ba39b;
color: #f3f7f6;
cursor: pointer;
}
.navbar-items li .in {
background-color: #5ba39b;
color: #f3f7f6;
border: 3px solid #f3f7f6;
}
.navbar-items li .in:hover {
background-color: #7cb6af;
color: #1e1811;
border-color: #1e1811;
}
/* Banner */
.banner {
background-image: url("./assets/banner1.jpg");
background-size: cover;
background-position: center;
height: 100vh;
width: 100%;
position: relative;
background-attachment: fixed;
}
/* Section */
.section-title {
text-align: center;
font-size: 2vw;
padding: 0.75vw 2.25vw;
border: solid #f8e02d;
color: #f8e02d;
border-radius: 2px;
}
.section-container {
display: grid;
grid-template-columns: 1fr 3fr;
align-items: center;
margin: 1.5rem;
}
.section-container ul {
list-style: none;
}
.section-container li {
margin: 0.5rem;
}
.section-container h2 {
color: #5ba39b;
}
.logo {
width: 15vw;
margin: auto;
}
/* Gallery */
.gallery {
margin: 0;
}
.gallery-container {
margin-left: 10vw;
}
.gallery-img {
border: 8px solid #c34c34;
border-radius: 5px;
display: inline-block;
margin: 4vw 2vw;
height: 16vw;
transition: transform 0.5s;
}
.gallery-img:hover {
transform: scale(1.3);
}
/* Info */
table {
text-align: center;
}
th {
color: #f8e02d;
border-bottom: 3px solid #c34c34;
border-radius: 2px;
}
td {
border-bottom: 1px solid #dd8e7e;
}
/* Rules */
.rules {
margin: 2vw;
}
.rules h2 {
margin: 0.5vw 0;
}
.field-regulations-list h3 {
color: #dd8e7e;
}
.field-rules {
list-style: lower-alpha;
}
/* Form */
form {
max-width: 60vw;
margin: 1.5rem auto;
}
fieldset {
margin-bottom: 1rem;
border: 3px solid #dd8e7e;
border-radius: 4px;
padding: 1rem;
}
legend {
font-size: 1.2rem;
font-weight: bold;
text-align: center;
padding: 0 1rem;
color: #5ba39b;
}
label {
display: inline-block;
margin: 10px;
font-weight: bold;
}
input[type="text"],
select {
padding: 10px;
margin-bottom: 20px;
border-radius: 5px;
border: 1px solid #f3f7f6;
width: 100%;
}
input[type="radio"],
input[type="checkbox"] {
display: inline-block;
}
.input {
display: inline-block;
margin: 10px;
}
input[type="submit"] {
width: 100%;
}
/* Locations */
#locations h3 {
text-align: center;
font-size: 1.5rem;
padding: 0.5rem;
border-bottom: 2px solid #5ba39b;
margin: 2vw;
min-width: 25rem;
}
.additional-info {
margin: 3vw 20vw;
}
.map {
margin: 5vw;
display: flex;
justify-content: center;
align-items: center;
}
iframe{
min-width: 30rem;
min-height: 20rem;
}
/* Footer */
footer {
text-align: center;
font-weight: bold;
}
footer p {
background-color: #5ba39b;
color: #1e1811;
}