-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle-header.css
305 lines (235 loc) · 4.71 KB
/
style-header.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
body.no-scroll {
overflow: hidden;
}
/* Navigation Bar Styles */
.navbar-container {
background: #ffffff;
height: 80px;
width: 100%;
}
.navbar-toggle-btn {
color: #000000;
float: right;
line-height: 80px;
margin-right: 40px;
cursor: pointer;
display: none;
}
#nav-toggle {
display: none;
}
#nav-toggle:checked~.navigation-list {
left: 0;
overflow-y: hidden;
}
.logo-container {
position: absolute;
padding: 20px 50px;
}
.logo {
height: 40px;
}
.navigation-list {
float: right;
margin-right: 50px;
}
.navigation-list li {
display: inline-block;
line-height: 80px;
margin: 0 5px;
}
.navigation-list li a {
color: #000000;
font-size: 16px;
font-family: Poppins;
padding: 7px 30px;
text-decoration: underline;
}
.navigation-list li a.active,
.navigation-list li a:hover {
text-decoration: underline;
transition: 0.5s;
color: #6c6a6e;
}
/* Language Icon Styles */
.language-icon-container {
position: absolute;
top: 0px;
right: 0px;
color: #fff;
cursor: pointer;
}
.language-icon-container img {
margin: 0;
padding: 0;
}
/* Search Bar Styles */
.navigation-list li.search-bar {
line-height: 20px;
font-family: Poppins;
margin-right: 30px;
padding-right: 0px;
background-color: #e8e7e7;
border-radius: 20px;
}
.navigation-list li.search-bar form {
display: flex;
}
.navigation-list li.search-bar .search-container {
display: flex;
align-items: center;
}
.navigation-list li.search-bar input {
padding: 8px;
font-size: 15px;
width: 60%;
border-radius: 9px 0 0 9px;
padding-left: 0px;
margin-right: 0px;
}
.navigation-list li.search-bar button-searchbar {
border: none;
padding: 8px;
border: 2px;
cursor: pointer;
border-radius: 0 9px 9px 0;
margin-right: 0px;
}
.navigation-list li.search-bar input,
.navigation-list li.search-bar button-searchbar {
border: none;
outline: none;
background-color: #e8e7e7;
border-radius: 20px;
color: #000000;
margin-left: 5px;
}
/* Banner Styles */
.intro-banner-container {
background: url("images/banner-intro.jpg") no-repeat center center;
width: 100%;
background-size: cover;
font-family: "Poppins";
font-weight: 600;
height: calc(90vh - 80px);
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.intro-banner-container .banner-row h1 {
text-align: center;
font-size: 2.6rem;
color: white;
margin: 0 1.5rem;
}
/* Banner Button Styles */
.intro-banner-container .banner-row-button {
display: block;
margin: 20px auto;
color: #ffffff;
background-color: #e96b1d;
font-size: 20px;
font-family: "Poppins";
padding: 20px 20px;
border: none;
border-radius: 8px;
transition: all 200ms ease;
box-shadow: 5px 10px 10px rgb(0, 0, 0, 0.08);
}
.banner-row-button:hover {
opacity: 0.9;
cursor: pointer;
}
/* Media Queries */
@media (max-width: 952px) {
.logo-container {
padding-left: 20px;
}
.navigation-list li a {
font-size: 16px;
}
}
@media (max-width: 858px) {
.navbar-toggle-btn {
display: block;
}
.navigation-list {
position: fixed;
width: 100%;
height: 90vh;
background-color: #2492b1;
top: 80px;
left: -100%;
text-align: left;
transition: all 0.5s;
overflow-y: scroll;
}
.navigation-list li {
display: block;
margin: 50px 0px;
line-height: 5px;
padding: 0px 40px;
}
.navigation-list li a {
font-size: 20px;
color: #ffffff;
font-weight: 500;
text-decoration: none;
}
.navigation-list::-webkit-scrollbar {
display: none;
}
.navigation-list li a:hover,
.navigation-list li a.active {
background: none;
color: #ffffff;
font-weight: 500;
text-decoration: underline;
transition: all 200ms ease;
}
#nav-toggle:checked~.navigation-list {
left: 0;
}
#nav-toggle:checked~.navigation-list::-webkit-scrollbar {
display: initial;
}
}
@media (max-width: 858px) {
.navigation-list li.search-bar {
display: none;
}
}
/* Language Icon Hide on Small Screens */
@media only screen and (max-width: 768px) {
.language-icon-container {
display: none;
}
}
@media only screen and (max-width: 768px) {
.navigation-list li.search-bar {
display: none;
}
}
@media only screen and (max-width: 768px) {
.intro-banner-container {
background-position-x: 70%;
height: calc(60vh - 80px);
}
.intro-banner-container .banner-row h1 {
font-size: 30px;
text-align: center;
color: white;
margin: 0 1.5rem;
}
.intro-banner-container .banner-row-button {
font-size: 16px;
padding: 14px;
}
}
@media only screen and (max-width: 415px) {
.intro-banner-container .banner-row-button {
font-size: 14px;
padding: 8px;
}
}