-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
118 lines (100 loc) · 1.77 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
@import url('https://fonts.googleapis.com/css?family=Poppins:300,600');
/* variables */
/* white: #FFF;
green: #0F9;
black: #444; */
/* Styles */
* { box-sizing: border-box; margin-top: 0; }
body {
font-family: 'Poppins', sans-serif;
color: black;
font-size: 1.1rem;
}
h1 {
font-size: 5rem;
color: green;
text-transform: uppercase;
letter-spacing: 15px;
outline: 3px solid white;
outline-offset: .25em;
display: inline-block;
margin: 0.25em 0 0.5em;
span {
font-weight: 300;
}
}
h2 {
font-size: 1.6rem;
margin-bottom: 0.5em;
}
p {
span {
color: green;
}
}
.btn {
display: inline-block;
padding: .7em 1.7em;
background: green;
color: black;
font-weight: 600;
text-decoration: none;
&:hover {
background: darken(green, 10%);
}
}
.hero {
background-color: #444;
background-image: url("photo.jpeg");
background-blend-mode: multiply;
background-size: cover;
height: 100vh;
padding: 1em;
color: white;
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-color: #444;
background-image: url("photo.jpeg");
background-blend-mode: multiply;
background-size: cover;
padding: 10vh 0;
color: white;
display: flex;
justify-content: flex-end;
}
.cta-text {
flex-basis: 100%;
padding: 0 2em;
@media (min-width: 40rem) {
flex-basis: 50%;
}
}
@media (max-width: 660px) {
.hero h1 {
font-size: 2rem ;
}
.container h2 p{
.sales-point .cta {
margin: 6px 6px;
}
}
}