-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.css
408 lines (341 loc) · 9.52 KB
/
about.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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Rubik', sans-serif;
line-height: 1.5;
}
/* #onama{
display: none;} /* Not displaying "o nama" button when viewer is on the same page */
.header{
min-height: 130vh;
width: 100%;
background-image: linear-gradient(rgba(0, 0, 0, 0.603),rgba(0, 0, 0, 0.363)),url('images/background_4.jpg'); /* Background gradient for background picture*/
background-position: center;
background-size: cover;
background-repeat: no-repeat;
position: relative;
}
nav{
display: flex;
padding: 2% 6%; /* Nav padding */
justify-content: space-between;
align-items: center;
}
nav img{
width: 200px; /* Logo size */
}
.nav-links{
flex: 1;
text-align: right;
}
.nav-links ul li{ /* Navigation menu */
list-style: none;
display: inline-block;
padding: 8px 12px;
position: relative;
}
.nav-links ul li a{
color: #ff0015; /* Navigation button color */
text-decoration: none;
font-size: 18px; /* Font size of navigation buttons */
font-weight: 500;
filter: contrast(70%)
}
.nav-links ul li::after{
content: '';
width: 0%; /* Animation % before hovering */
height: 2px; /* Navigation button animation size */
background: #ff0015; /* Color for navigation button animation */
display: block;
margin: auto;
transition: 0.5s; /* Animation transition speed */
filter: contrast(75%)
}
.nav-links ul li:hover::after{
width: 100%; /* Hover animation % after hovering */
}
.text-box{
width: 100%;
color: #ff0015; /* Middle text color */
position: absolute;
top: 35%;
left: 50%;
transform: translate(-50%,-50%);
text-align: center;
filter: contrast(75%);
max-height: 350px;
}
.text-box h1{
font-size: 42px; /* Middle title text font size */
text-align: center;
padding-bottom: -50px;
text-underline-offset: 10px;
}
.text-box p{
margin: 20px 0px 10px 0px;
font-size: 16px; /* Middle title paragraph font size */
color: #ffffff; /* Middle title paragraph text color */
text-align: center;
word-break: normal;
display: block;
}
.text-box .fa-comment{
font-size: 32px;
margin-top: 10px;
}
.text-box .onama{
text-decoration: underline;
text-underline-offset: 10px;
font-size: 40px;
}
nav .fa{
display: none;
}
#to-top{
display: none;
}
/* @media rule is used in media queries to apply different styles for different media devices */
@media (max-width: 1000px),(max-height: 760px){
#to-top{
display: contents;
}
/* #onama{
display: none;} /* Not displaying "o nama" button when viewer is on the same page for mobile*/
.header{
background-image: linear-gradient(rgba(0, 0, 0, 0.603),rgba(0, 0, 0, 0.363)),url('images/background_5.jpg');
background-repeat: no-repeat;
}
.text-box{
overflow-y: scroll;
border: 2px solid rgba(31, 31, 31, 0.534);
border-radius: 0px;
max-height: 90vh;
max-width: 100vw;
margin-top: 100px;
top: 55%;
}
.text-box h1{
font-size: 52px; /* Middle text size for mobile */
}
.text-box p{
font-size: 15px; /* Middle paragraph text size for mobile */
text-align: center;
margin: 20px 80px 20px;
word-break: normal;
}
.nav-links2 ul li{
display: block;
}
.nav-links ul li a{
font-size: 50px; /* Mobile navigation menu font size */
text-decoration: none;
padding-left: 20px;
}
.nav-links ul li::after{
content: '';
width: 0%; /* Mobile animation % before hovering */
height: 6px; /* Mobile navigation button animation size */
background: #ff0015; /* Mobile color for navigation button animation */
display: block;
margin: auto;
transition: 0.5s; /* Mobile animation transition speed */
filter: contrast(75%)
}
.nav-links ul li:hover::after{
width: 100%; /* Mobile hover animation % after hovering */
}
nav img{
width: 300px; /* Mobile logo size */
padding-top: 30px;
}
.nav-links{
position: fixed;
background-image: linear-gradient(rgb(7, 7, 7),rgba(7, 7, 7, 0.36)); /* Mobile navigation menu color */
opacity: 100%; /* Mobile navigation menu opacity % */
height: 100vh;
width: 400px; /* Mobile navigation menu width */
top: 0px;
right: -400px;
text-align: left;
z-index: 2;
transition: 1s;
}
nav .fa-times{
display: block;
color: #ff0015; /* Close icon color */
filter: contrast(75%);
margin: 10px;
font-size: 66px;
cursor: pointer;
opacity: 80%; /* Navigation close icon opacity % */
padding-left: 45px; /* Adds space(padding) to close icon */
padding-top: 25px;
}
nav .fa-bars{
display: block;
color: #ff0015; /* Menu bar icon color */
filter: contrast(75%);
margin: 10px;
font-size: 56px;
cursor: pointer;
opacity: 80%; /* Navigation menu icon opacity % */
padding-left: 15px; /* Adds space(padding) to menu icon */
}
a{
text-decoration: none; /* Removes purple/blue underline on icons */
}
.nav-links ul{
padding: 20px;
}
.text-box .fa-comment{
font-size: 52px;
margin-top: 50px;
}
}
/* ------------Footer Section------------ */
footer *{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.copyright{
color: #ffffff;
font-size: 12px;
margin-left: 10px;
}
.container{
max-width: 1170px;
margin: auto;
}
.row{
display: flex;
flex-wrap: wrap;
}
ul{
list-style: none; /* Removes dots from listing */
}
.footer{
background-color: #181818; /* Footer background color */
margin: auto;
position: relative;
width: 100%;
}
.footer-col{
width: 25%;
padding: 25px 15px;
}
.footer-col h4{
font-size: 18px; /* Footer h4 column title font size */
color: #ff0015; /* Footer h4 column title color */
text-transform: capitalize;
margin-bottom: 30px;
font-weight: 500;
filter: contrast(75%);
position: relative;
}
.footer-col h4::before{
content: '';
position: absolute;
left: 0;
bottom: -5px;
background-color: #ff0015; /* Footer h4 column underline color */
height: 2px;
box-sizing: border-box;
width: 125px; /* Footer h4 column underline width */
}
.footer-col p{
color: #ffffff;
}
.foot-col ul li:not(:last-child){
margin-bottom: 10px;
}
.footer-col ul li a{
font-size: 16px; /* Footer listing font size */
text-transform: capitalize;
text-decoration: none;
font-weight: 300;
color: #bbbbbb; /* Footer listing color */
display: block;
transition: all 0.3s ease;
}
.footer-col ul li a:hover{
color: #ff0015;
filter: contrast(85%);
padding-left: 8px;
}
.footer-col .social-links a{
display: inline-block;
height: 40px; /* Footer social links icon border height */
width: 40px; /* Footer social links icon border width */
background-color: rgba(255,255,255,0.2);
margin-right:0px 10px 10px 0px;
text-align: center;
line-height: 40px;
border-radius: 50%;
color: #ffffff; /* Footer social links icon background color */
filter: contrast(75%);
transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
background-color: #ff0015; /* Footer social links animation background color */
filter: contrast(70%);
}
.footer-col ul li{
color: #ffffff; /* Footer column company info title font color */
}
.footer-col ul li p{
color: #bbbbbb; /* Footer column company info list font color */
}
/* @media rule is used in media queries to apply different styles for different media devices */
@media screen and (max-width: 1000px){
.copyright{
font-size: 25px;
margin-right: 10px;
text-align: right;
padding-bottom: 5px;
}
.row{
flex-direction: column;
}
.footer-col{
width: 50%;
font-size: 50px; /* Mobile footer column company info font size */
text-align: left;
}
.footer-col h4{
font-size: 60px; /* Mobile footer column title font size */
padding-top: 40px;
}
.footer-col ul li a{
font-size: 50px; /* Mobile footer column links font size */
}
.footer-col .social-links a{
display: inline-block;
height: 100px;
width: 100px;
background-color: rgba(255,255,255,0.2); /* Mobile footer social links border background color */
margin-right:0px 10px 10px 0px;
line-height: 100px;
text-align: center;
border-radius: 50%;
color: #ffffff; /* Mobile footer social links icon color */
transition: all 0.5s ease;
}
.footer-col h4::before{
content: '';
position: fixed;
left: 0px;
bottom: -5px;
background-color: #ff0015; /* Mobile footer h4 column underline color */
height: 4px; /* Mobile footer h4 column underline height (tickness) */
box-sizing: border-box;
width: 400px; /* Mobile footer h4 column underline width */
}
.footer-col ul li{
color: #ffffff; /* Mobile footer column company info title font color */
}
.footer-col ul li p{
color: #bbbbbb; /* Mobile footer column company info list font color */
}
}