source: Application/ocrent/wwwroot/css/site.css@ f5f7c24

Last change on this file since f5f7c24 was f5f7c24, checked in by 192011 <mk.snicker@…>, 17 months ago

Initial commit

  • Property mode set to 100644
File size: 8.5 KB
RevLine 
[f5f7c24]1@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap");
2
3* {
4 margin: 0;
5 padding: 0;
6 box-sizing: border-box;
7}
8
9html,
10body {
11 background-color: #121d33;
12}
13
14body {
15 margin: 0;
16 font-family: "Poppins", sans-serif;
17 -webkit-font-smoothing: antialiased;
18 -moz-osx-font-smoothing: grayscale;
19}
20
21nav {
22 background-color: #121d33;
23 color: #f1f1f1;
24 min-height: 80px;
25 box-shadow: 0 0 2px 1px #f1f1f1;
26 border-bottom: 2px solid #f1f1f1;
27}
28
29 nav > div > img {
30 max-height: 60px;
31 }
32
33 nav label {
34 position: absolute;
35 right: 50px;
36 }
37
38 nav input[type="checkbox"] {
39 visibility: hidden;
40 }
41
42 nav .nav-links-section {
43 transition: 1s;
44 transition-delay: 0ms;
45 }
46
47 nav .nav-links {
48 margin: 10px;
49 color: #f1f1f1;
50 text-decoration: none;
51 padding: 5px 8px;
52 opacity: 0.7;
53 transition: background-color 0.5s ease;
54 }
55
56 nav .nav-links:hover {
57 text-decoration: none;
58 background-color: cornflowerblue;
59 opacity: 1;
60 }
61
62 nav #show-nav-links,
63 nav #collapse-nav-links {
64 display: none;
65 cursor: pointer;
66 font-size: 30px;
67 z-index: 2;
68 }
69
70.jumbotron {
71 padding-top: 60px;
72 color: #f1f1f1;
73 min-height: calc(100vh - 89px);
74 background: #bc48ff;
75 background: -webkit-radial-gradient( circle, #bc48ff 0%, #121d33 50%, #121d33 100% );
76 background: radial-gradient(circle, #bc48ff 0%, #121d33 50%, #121d33 100%);
77}
78
79 .jumbotron h1 {
80 font-weight: bold;
81 font-size: 30px;
82 max-width: 40%;
83 }
84
85 .jumbotron img {
86 max-width: 400px;
87 transform: scaleX(-1) rotate(5deg);
88 }
89
90 .jumbotron .gap {
91 gap: 20px;
92 }
93
94.info {
95 background-color: cornflowerblue;
96 color: #121d33;
97 font-weight: bold;
98 width: 100%;
99}
100
101 .info h3 {
102 margin-bottom: 0;
103 }
104
105 .info .info-text {
106 margin-left: 15px;
107 }
108
109.faq {
110 color: #f1f1f1;
111}
112
113footer {
114 color: #f1f1f1;
115 border-top: 2px solid #f1f1f1;
116}
117
118 footer img {
119 max-width: 200px;
120 margin-left: 25px;
121 }
122
123 footer div:first-child {
124 gap: 50px;
125 }
126
127 footer .get-started-btn {
128 min-width: 200px;
129 padding: 10px;
130 border-radius: 15px;
131 background-color: cornflowerblue;
132 color: #121d33;
133 font-weight: bold;
134 border: none;
135 }
136
137 footer .get-started-btn:hover {
138 box-shadow: 0 0 3px 3px cornflowerblue;
139 background-color: #121d33;
140 color: cornflowerblue;
141 }
142
143.search-wrapper {
144 margin-top: 50px;
145 background-color: white;
146 width: calc(100% - 100px);
147 padding: 0px;
148 position: relative;
149 height: 150px;
150 display: flex;
151 justify-content: space-evenly;
152 align-items: center;
153 gap: 25px;
154}
155
156 .search-wrapper::after {
157 content: "";
158 position: absolute;
159 right: -100px;
160 top: 0;
161 width: 0;
162 height: 0;
163 border-style: solid;
164 border-width: 75px 0 75px 100px;
165 border-color: transparent transparent transparent white;
166 }
167
168 .search-wrapper .search-btn {
169 position: relative;
170 background-color: #121d33;
171 width: 100px;
172 height: 50px;
173 color: white;
174 border: none;
175 }
176
177 .search-wrapper .triangle {
178 width: 0;
179 height: 0;
180 border-style: solid;
181 border-width: 25px 0 25px 25px;
182 border-color: transparent transparent transparent #121d33;
183 cursor: pointer;
184 }
185
186 .search-wrapper .search-btn:hover,
187 .search-wrapper .search-btn:hover + .triangle {
188 opacity: 0.9;
189 }
190
191.car-wrapper {
192 display: flex;
193 justify-content: center;
194 align-items: center;
195 flex-direction: column;
196}
197
198.car {
199 width: 100%;
200 display: flex;
201 justify-content: flex-start;
202 align-items: center;
203}
204
205.car-wrapper {
206 position: relative;
207 margin: 10px auto 50px auto;
208 border-radius: 15px;
209 max-width: 800px;
210 padding: 25px;
211 border: solid 2px #f1f1f1;
212}
213
214.car .car-img {
215 max-width: 250px;
216}
217
218.icon {
219 width: 30px;
220 background-color: white;
221 border-radius: 5px;
222 padding: 2px;
223 margin-right: 5px;
224}
225
226.type {
227 border: solid 2px #f1f1f1;
228 padding: 5px;
229 border-radius: 5px;
230 text-transform: uppercase;
231 display: flex;
232 align-items: center;
233 justify-content: center;
234}
235
236.details {
237 display: flex;
238 justify-content: flex-start;
239 align-items: center;
240 gap: 10px;
241}
242
243.pricing {
244 margin-top: 10px;
245 display: flex;
246 justify-content: space-between;
247 align-items: center;
248}
249
250 .details span,
251 .pricing span {
252 text-transform: uppercase;
253 }
254
255.price {
256 display: flex;
257 justify-content: center;
258 align-items: center;
259 padding: 5px;
260 font-size: 25px;
261}
262
263.rent-btn {
264 padding: 10px;
265 background-color: cornflowerblue;
266 color: #121d33;
267 font-weight: bold;
268 border-radius: 5px;
269 margin: 5px auto;
270 display: block;
271 color: white;
272}
273
274 .rent-btn:hover {
275 opacity: 0.9;
276 }
277
278.company {
279 margin-top: 20px;
280 display: flex;
281 justify-content: center;
282 align-items: center;
283}
284
285.company-logo {
286 max-width: 100px;
287}
288
289.class {
290 font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
291 text-transform: uppercase;
292 font-weight: bold;
293 position: absolute;
294 top: 5px;
295 right: 5px;
296 opacity: 0.8;
297 color: white;
298 padding: 5px;
299 border-radius: 5px;
300}
301
302.luxury {
303 background-color: gold;
304}
305
306.economic {
307 background-color: green;
308}
309
310.equipment {
311 width: 100%;
312}
313
314.icon2 {
315 max-width: 50px;
316 margin-right: 5px;
317}
318
319p {
320 margin: 0;
321}
322
323.auth-wrapper {
324 min-height: calc(100vh - 100px);
325 width: 100%;
326 display: flex;
327 justify-content: center;
328 align-items: center;
329}
330
331.auth {
332 padding: 50px;
333 width: 500px;
334 box-shadow: 0 0 2px 1px #f1f1f1;
335 margin: 25px auto;
336 color: white;
337 border-radius: 15px;
338}
339
340 .auth input[type="text"], .auth input[type="password"], .auth input[type="submit"] {
341 display: block;
342 padding: 10px;
343 margin: 15px auto;
344 min-width: 250px;
345 }
346
347 .auth input[type="submit"] {
348 background-color: cornflowerblue;
349 color: white;
350 }
351
352 .auth input[type="submit"]:hover {
353 opacity: 0.9;
354 }
355
356 .auth span {
357 margin-bottom: 30px;
358 }
359
360.business-acc {
361 min-height: calc(100vh - 100px);
362}
363
364 .business-acc form {
365 display: grid;
366 grid-template-columns: 1fr 1fr;
367 gap: 25px;
368 }
369
370.search-area {
371 min-height: calc(100vh - 100px);
372}
373
374.custom-button {
375 display: inline-block;
376 border-radius: 5px;
377 position: relative;
378 background: transparent;
379 padding: 10px;
380 border: solid 2px #fff;
381 outline: none;
382 color: #fff;
383 text-decoration: none;
384 cursor: pointer;
385}
386
387 .custom-button span::before {
388 content: "";
389 position: absolute;
390 top: -6px;
391 left: 10px;
392 width: 15px;
393 height: 9px;
394 background-color: transparent;
395 border: solid 2px #fff;
396 transition: 0.5s;
397 }
398
399 .custom-button span::after {
400 content: "";
401 position: absolute;
402 bottom: -6px;
403 right: 10px;
404 width: 15px;
405 height: 9px;
406 background-color: transparent;
407 border: solid 2px #fff;
408 transition: 0.5s;
409 }
410
411 .custom-button:hover {
412 color: cornflowerblue;
413 border-color: cornflowerblue;
414 box-shadow: 0 0 25px cornflowerblue;
415 }
416
417 .custom-button:hover span::before {
418 border-color: cornflowerblue;
419 right: 10px;
420 left: auto;
421 }
422
423 .custom-button:hover span::after {
424 border-color: cornflowerblue;
425 right: auto;
426 left: 10px;
427 }
428
429@media screen and (max-width: 1410px) {
430 .nav-links-section {
431 position: fixed;
432 top: -100vh;
433 left: 0;
434 z-index: 1;
435 min-width: 100%;
436 min-height: 100vh;
437 background-color: #121d33;
438 display: flex;
439 flex-direction: column;
440 align-items: center;
441 justify-content: center;
442 }
443
444 nav #show-nav-links {
445 display: block;
446 }
447
448 #nav-toggler:checked + .nav-links-section {
449 top: 0;
450 }
451}
452
453@media screen and (max-width: 877px) {
454 footer .f-first {
455 flex-direction: column;
456 }
457}
458
459@media screen and (max-width: 600px) {
460 .auth {
461 max-width: 90%;
462 }
463}
Note: See TracBrowser for help on using the repository browser.