-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
186 lines (161 loc) · 3.02 KB
/
style.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
@import url(https://fonts.googleapis.com/css?family=Lato:100,300,400|Playfair+Display:400,700,400italic|Libre+Baskerville:400,700,400italic|Muli:300,400|Open+Sans:400,300,700|Oswald:400,700|Raleway:400,100,300,700|Montserrat:400,700|Merriweather:400,300,300italic,400italic,700|Bree+Serif|Vollkorn:400italic,400,700|Abril+Fatface|Cardo:400,400italic);
* {
font-family: "Montserrat";
}
body {
margin: 0;
padding: 0;
background: url("assets/2021_911_gt3.jpg") no-repeat center center fixed;
background-size: cover;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 40px 10%;
max-height: 30px;
background: linear-gradient(
rgba(0, 0, 0, 0.7) 10%,
rgba(0, 0, 0, 0.5) 40%,
rgba(0, 0, 0, 0) 85%
);
}
.logo {
cursor: pointer;
transform: scale(0.05);
}
.nav__links a,
.cta,
.overlay__content a {
font-family: "Montserrat", sans-serif;
font-weight: 500;
color: #edf0f1;
text-decoration: none;
}
.nav__links {
list-style: none;
display: flex;
}
.nav__links li {
padding: 0px 20px;
}
.nav__links li a {
transition: color 0.3s ease 0s;
}
.nav__links li a:hover {
color: #0088a9;
}
.cta {
padding: 9px 25px;
background-color: rgba(0, 136, 169, 1);
border: none;
border-radius: 50px;
cursor: pointer;
transition: background-color 0.3s ease 0s;
}
.cta:hover {
background-color: rgba(0, 136, 169, 0.8);
}
/* Mobile Nav */
.menu {
display: none;
}
.overlay {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
left: 0;
top: 0;
background-color: #24252a;
overflow-x: hidden;
transition: width 0.5s ease 0s;
}
.overlay--active {
width: 100%;
}
.overlay__content {
display: flex;
height: 100%;
flex-direction: column;
align-items: center;
justify-content: center;
}
.overlay a {
padding: 15px;
font-size: 36px;
display: block;
transition: color 0.3s ease 0s;
}
.overlay a:hover,
.overlay a:focus {
color: #0088a9;
}
.overlay .close {
position: absolute;
top: 20px;
right: 45px;
font-size: 60px;
color: #edf0f1;
}
@media screen and (max-height: 450px) {
.overlay a {
font-size: 20px;
}
.overlay .close {
font-size: 40px;
top: 15px;
right: 35px;
}
#text {
font-size: 0.5em;
}
}
@media only screen and (max-width: 800px) {
.nav__links,
.cta {
display: none;
}
.menu {
display: initial;
}
.console-container {
font-size: 20vw !important;
}
#text {
font-size: 0.5em;
}
}
.hidden {
opacity: 0;
}
.console-container {
font-family: "Montserrat";
font-size: 10vw;
text-transform: uppercase;
text-align: center;
font-weight: bold;
height: 600px;
width: 100vw;
display: flex;
justify-content: left;
align-items: center;
position: absolute;
margin: auto;
color: white;
text-shadow: 1px 1px 2px black;
}
.console-underscore {
display: inline-block;
position: relative;
top: -0.14em;
left: 10px;
}
.unpeudetexte {
width: 30%;
color: white;
text-shadow: 1px 1px 1px black;
position: absolute;
right: 40px;
bottom: 40px;
}