-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
156 lines (144 loc) · 2.25 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
html,
body,
.wrapper {
height: 100%;
}
html,
body {
padding: 0;
margin: 0;
}
body {
font: 1rem/1.516 "Montserrat", Arial, sans-serif;
}
.wrapper {
position: relative;
background: url('./assets/images/background2.jpg') no-repeat center center/cover;
}
.wrapper:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(33, 33, 33, 0.25);
}
header,
.content,
footer {
position: absolute;
}
header,
footer {
width: 100%;
}
header {
top: 0;
text-align: center;
}
.header__logo {
max-width: 65px;
fill: #fff;
}
.content {
top: 50%;
left: 50%;
text-align: center;
color: #fff;
transform: translate(-50%, -50%);
}
.content h1 {
margin-top: 0;
}
.content form {
margin: auto;
display: table;
}
.content input {
float: left;
font-size: 16px;
border: 1px solid #fff;
}
.content input[type=email] {
padding: 12px;
background: #fff;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.content input[type=submit] {
padding: 12px 24px;
color: #fff;
background: transparent;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
cursor: pointer;
transition: all 0.235s ease-in-out;
}
.content input[type=submit]:hover {
color: #212121;
background: #fff;
}
.countdown {
margin: auto;
display: table;
font-size: 28px;
font-weight: 500;
}
.countdown > div {
float: left;
min-width: 75px;
}
.countdown span {
position: relative;
display: block;
font-size: 16px;
text-align: center;
}
.countdown span:before {
content: "";
position: absolute;
top: -2px;
right: 0;
left: 0;
margin-right: auto;
margin-left: auto;
width: 20px;
height: 1px;
background: #fff;
}
footer {
padding-bottom: 12px;
bottom: 0;
}
.footer__links {
text-align: center;
list-style-type: none;
}
.footer__links li {
display: inline-block;
}
.footer__links li:nth-of-type(n+2) {
margin-left: 12px;
}
.footer__links a {
padding: 8px 0;
display: block;
width: 41px;
text-align: center;
color: #fff;
border: 1px solid;
border-radius: 50%;
transition: opacity 0.235s ease-in-out;
}
.footer__links a:hover {
opacity: 0.5;
}
.footer__links .fa {
vertical-align: middle;
font-size: 21px;
}
.logo
{
width: 300px;
}