-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
100 lines (87 loc) · 1.48 KB
/
index.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
@import url('https://fonts.googleapis.com/css?family=Poppins:300,600');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: "Poppins", sans-serif;
color: #444;
font-size: 1.1rem;
}
h1{
font-size: 5rem;
color: #0F9;
text-transform: uppercase;
letter-spacing: 15px;
outline: 3px solid #fff;
outline-offset: 0.25em;
display: inline-block;
margin: 0.25em 0 0.5em;
}
h1 span{
font-weight: 300;
}
h2{
font-size: 1.6rem;
margin-bottom: 0.5em;
}
p span{
color: #0F9;
}
.btn{
display: inline-block;
padding: 0.7em 1.7em;
background: #0F9;
color: #444;
font-weight: 600;
text-decoration: none;
}
.btn:hover{
background: #00cc7a;
}
.hero{
background-color: #444;
background-image: url(//unsplash.it/1000/600);
background-blend-mode: multiply;
background-size: cover;
height: 100vh;
padding: 1em;
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.sales-points{
padding: 12vh 0;
text-align: center;
display: flex;
justify-content: space-around;
flex-direction: column;
}
@media (min-width: 40rem) {
.sales-points{
flex-direction: row;
}
}
.sales-point{
flex-basis: 30%;
}
.cta{
background-image: url(//unsplash.it/600/400);
background-size: cover;
padding: 10vh 0;
color: #fff;
display: flex;
justify-content: flex-end;
}
.cta-text{
flex-basis: 100%;
padding: 0 2em;
}
@media (min-width: 40rem) {
.cta-text{
flex-basis: 50%;
}
}