main
Last change
on this file since 0c6b92a was 0c6b92a, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago |
Pred finalna verzija
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | @import url(https://fonts.googleapis.com/css?family=Exo:500);
|
---|
2 |
|
---|
3 | video {
|
---|
4 | object-fit: cover;
|
---|
5 | width: 100%;
|
---|
6 | height: 100%;
|
---|
7 | position: fixed;
|
---|
8 | z-index: -1;
|
---|
9 | }
|
---|
10 |
|
---|
11 |
|
---|
12 |
|
---|
13 |
|
---|
14 | .hero-container {
|
---|
15 | height: 100vh;
|
---|
16 | width: 100%;
|
---|
17 | display: flex;
|
---|
18 | flex-direction: column;
|
---|
19 | justify-content: center;
|
---|
20 | align-items: center;
|
---|
21 |
|
---|
22 | object-fit: contain;
|
---|
23 |
|
---|
24 |
|
---|
25 |
|
---|
26 | }
|
---|
27 |
|
---|
28 | .hero-container > h1 {
|
---|
29 | color: #fff;
|
---|
30 | font-size: 100px;
|
---|
31 | margin-top: -100px;
|
---|
32 | font-family: exo, sans-serif;
|
---|
33 | text-transform: uppercase;
|
---|
34 | text-shadow: 1px 1px 0px #ef404e,
|
---|
35 | 1px 2px 0px #ef404e,
|
---|
36 | 1px 3px 0px #ef404e,
|
---|
37 | 1px 4px 0px #ef404e,
|
---|
38 | 1px 5px 0px #ef404e,
|
---|
39 | 1px 6px 0px #ef404e,
|
---|
40 | 1px 10px 5px rgba(16, 16, 16, 0.5),
|
---|
41 | 1px 15px 10px rgba(16, 16, 16, 0.4),
|
---|
42 | 1px 20px 30px rgba(16, 16, 16, 0.3),
|
---|
43 | 1px 25px 50px rgba(16, 16, 16, 0.2);
|
---|
44 | }
|
---|
45 |
|
---|
46 | .hero-container > p {
|
---|
47 | margin-top: 8px;
|
---|
48 | color: #fff;
|
---|
49 | font-size: 32px;
|
---|
50 | font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
|
---|
51 | }
|
---|
52 |
|
---|
53 | .hero-btns {
|
---|
54 | margin-top: 32px;
|
---|
55 | }
|
---|
56 |
|
---|
57 | .hero-btns .btn {
|
---|
58 | margin: 6px;
|
---|
59 | }
|
---|
60 |
|
---|
61 | .fa-play-circle {
|
---|
62 | margin-left: 4px;
|
---|
63 | }
|
---|
64 |
|
---|
65 | @media screen and (max-width: 960px) {
|
---|
66 | .hero-container > h1 {
|
---|
67 | font-size: 70px;
|
---|
68 | margin-top: -150px;
|
---|
69 | }
|
---|
70 | }
|
---|
71 |
|
---|
72 | @media screen and (max-width: 768px) {
|
---|
73 | .hero-container > h1 {
|
---|
74 | font-size: 50px;
|
---|
75 | margin-top: -100px;
|
---|
76 | }
|
---|
77 |
|
---|
78 | .hero-container > p {
|
---|
79 | font-size: 30px;
|
---|
80 | }
|
---|
81 |
|
---|
82 | .btn-mobile {
|
---|
83 | display: block;
|
---|
84 | text-decoration: none;
|
---|
85 | }
|
---|
86 |
|
---|
87 | .btn {
|
---|
88 | width: 100%;
|
---|
89 | }
|
---|
90 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.