-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
133 lines (116 loc) · 2.26 KB
/
main.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
html {
box-sizing: border-box;
font-size: 62.5%;
height: 100%;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
margin: 0;
font-family: 'Work Sans', sans-serif;
font-weight: 300;
min-height: 100%;
font-size: 1.4rem;
}
.header {
min-height: 100%;
min-height: 100vh;
transition: background-image 1.5s 0.5s;
background: #292627 center center no-repeat;
background-image: url('./bg-blur.jpg');
background-size: cover;
text-align: center;
padding: 2rem;
}
.logo {
display: block;
margin: 0 auto 0;
padding-top: 5rem;
text-align: center;
max-width: 40rem;
}
.logo img {
width: 100%;
height: auto;
}
.tagline {
text-align: center;
color: #F8F8F8;
font-size: 2rem;
}
.text {
text-shadow: 0 2px 2px rgba(0, 0, 0, 0.8);
}
.type {
font-weight: bold;
}
.cursor {
animation: flash 0.8s infinite;
}
.copy {
font-size: 1.6rem;
color: #F8F8F8;
max-width: 50rem;
margin: 0 auto;
text-shadow: 0 2px 2px rgba(0, 0, 0, 0.8);
}
.btn, .email-input {
border: 2px solid #F8F8F8;
padding: 2rem;
color: #F8F8F8;
font-size: 1.4rem;
width: auto;
display: inline-block;
margin: 3rem auto 0;
text-transform: uppercase;
transition: all 0.3s;
cursor: pointer;
background-color: transparent;
cursor: pointer;
outline: none;
-webkit-appearance: none;
border-radius: 0;
}
.btn:hover, .email-input:focus {
background-color: rgba(255, 255, 255, 0.1);
}
.email-input {
width: 100%;
max-width: 30rem;
text-transform: none;
padding: 1.4rem 2rem;
}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
color: #F8F8F8;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: #F8F8F8;
opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color: #F8F8F8;
opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: #F8F8F8;
}
:placeholder-shown { /* Standard (https://drafts.csswg.org/selectors-4/#placeholder) */
color: #F8F8F8;
}
@keyframes flash {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@media (min-width: 42rem) {
.tagline {
font-size: 4rem;
}
.copy {
font-size: 2rem;
}
}