-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.css
142 lines (118 loc) · 1.97 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
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
main * {
margin: 0;
padding: 0;
font-family: 'Rubik', sans-serif;
box-sizing: border-box;
}
p {
font-size: 26px;
line-height: 31px;
}
p.text {
font-family: 'Lato', sans-serif;
font-size: 20px;
letter-spacing: 0;
margin-top: 16px;
}
main img {
border-radius: 8px;
box-shadow: 0 3px 20px 0 rgba(0,0,0,0.2);
}
#hero {
background-color: #386DB0;
color: #fdfdfd;
margin-bottom: 180px;
padding: 70px 0 0;
box-shadow: 0 3px 20px 0 rgba(0,0,0,0.2);
}
#hero p {
width: 100%;
max-width: 527px;
line-height: 31px;
font-weight: lighter;
}
#hero img {
margin: 0 0 -168px 0;
max-width: 480px;
width: 100%;
}
#how-to {
padding: 0 0 50px 0;
}
#how-to .flex {
margin-top: 94px;
}
.examples {
padding: 48px 0;
}
.examples:first-child {
background-color: #f2f2f2;
}
.examples .wrapper > p {
margin-bottom: 42px;
}
.examples a {
display: block;
height: 260px;
background-size: cover;
background-position: 50% 50%;
border-radius: 8px;
position: relative;
box-shadow: 0 3px 20px 0 rgba(0,0,0,0.2);
margin-bottom: 40px;
}
.examples a p {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background-color: #f2f2f2;
border-radius: 0 0 8px 8px;
color: #000000;
font-size: 16px;
letter-spacing: 0;
line-height: 24px;
padding: 14px 0 50px 7px;
}
.wrapper {
width: 100%;
max-width: 1096px;
margin: 0 auto;
}
@media (max-width: 1096px) {
#how-to .flex > div:first-child {
margin-bottom: 40px;
}
.wrapper {
padding: 0 20px 0;
}
}
@media (min-width: 600px) {
.flex {
display: flex;
flex-direction: row;
align-items: center;
}
.flex-top {
align-items: start;
}
.flex-column {
align-items: start;
flex-direction: column;
}
.flex-column > *:last-child {
margin-right: 0;
}
.flex-small > * {
margin-right: 22px;
}
.flex-medium > * {
margin-right: 44px;
}
.flex-large > * {
margin-right: 100px;
}
.wrapper a {
flex-basis: 25%;
}
}