forked from HarkiratVirdi/TV-Mount
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
109 lines (88 loc) · 1.4 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
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
*{
padding:0;
margin:0;
box-sizing: border-box;
}
body{
font-family: 'Lato', sans-serif;
font-size: 62.5%;
}
.container{
width: 80%;
margin: auto;
overflow: hidden;
}
a{
text-decoration: none;
color: white;
font-size: 1.2rem;
}
ul{list-style: none;}
nav{
height: 5rem;
background-color: transparent;
display: flex;
justify-content: space-around;
align-items: center;
width: 100%;
}
header{
position: absolute;
width: 100%;
top: 0;
}
.left-menu{
flex: 1;
}
.dropdown_menu{
width: 3rem;
height: 3rem;
border: 10px solid black;
}
.right{
flex: 2;
align-items: center;
background-color: black;
height: 5rem;
display: flex;
justify-content: space-around;
}
.logo a{
font-size:1.5rem;
text-transform: uppercase;
font-weight: bold;
text-align: center;
}
.hide{
display: none;
}
.right a{
color: white;
}
main{
position: relative;
top: 0;
width: 100%;
height: 100%;
}
.hero{
height: 100vh;
width: 100%;
position: absolute;
top:0;
z-index: -2;
}
.hero img{
height: 100vh;
width: 100%;
object-fit: cover;
}
.hero h1{
color: white;
position: absolute;
top: 50%;
font-size: 3rem;
left: 50%;
transform: translate(-50%, -50%);
}