-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
183 lines (159 loc) · 2.82 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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
/* Set height to full viewport height, remove margin, and set font family */
body {
height: 100vh;
margin: 0;
font-family: Roboto, sans-serif;
display: flex;
flex-direction: column;
}
/* Remove default formatting to unordered list */
ul {
list-style-type: none;
margin: 0;
padding: 0;
}
/* Remove link underlines */
a {
text-decoration: none;
}
/* Add dark background color to header, hero, and footer */
header,
.hero,
.footer {
background-color: #1f2937;
}
/* Format header */
header {
display: flex;
justify-content: space-between;
padding: 0.5em 12em;
margin-bottom: 1px;
}
/* Make header menu align horizontally and add gap */
header ul {
display: flex;
gap: 24px;
}
/* Format header logo color and size*/
.logo {
font-size: 24px;
color: #f9faf8;
}
/* Format hero section */
.hero {
display: flex;
flex: 1 10 auto;
justify-content: space-between;
padding: 3em 12em;
gap: 1em;
flex-wrap: wrap-reverse;
}
.hero-content {
display: flex;
flex-direction: column;
justify-content: space-around;
flex: 1;
}
.hero img {
display: flex;
align-items: center;
flex: 1 1 10%;
min-width: 300px;
max-width: 100%;
height: auto;
}
/* Format button */
button {
padding: 6px 16px;
border-radius: 6px;
align-self: flex-start;
flex-shrink: 0;
}
/* Format hero button */
.hero button {
border-color: #1f2937;
}
/* Change font colors and size of hero subtext, header menu, and footer */
.hero p,
header a {
font-size: 18px;
color: #e5e7eb;
}
/* Format main hero text */
.hero h1 {
font-size: 48px;
font-weight: extra-bold;
color: #f9faf8;
}
/* Format the button and call-to-action section */
button,
.call-to-action {
background-color: #3882f6;
color: white;
}
/* Format tile container */
.tile-container {
display: flex;
justify-content: center;
padding: 3em 10em;
gap: 42px;
flex-wrap: wrap;
}
.tile {
width: 250px;
text-align: center;
}
.tile img {
width: 250px;
height: auto;
border: 2px solid #e5e7eb;
border-radius: 12px;
}
/* Format information text on tiles */
.tiles h2 {
font-size: 36px;
font-weight: extra-bold;
color: #1f2937;
text-align: center;
margin: 12px;
}
/* Format quote section */
.quote {
background-color: #e5e7eb;
color: #1f2937;
padding: 3em 12em;
}
.quote-text {
font-size: 36px;
font-weight: 100;
font-style: italic;
}
.quote-author {
text-align: right;
font-weight: bolder;
}
.call-to-action {
margin: 3em 12em;
border-radius: 6px;
min-height: auto;
padding: 2em 6em;
display: flex;
justify-content: space-between;
gap: 24px;
}
.call-to-action h2 {
font-size: 22px;
font-weight: 600;
}
.call-to-action button {
border-color: white;
align-self: center;
}
.footer {
font-size: 18px;
color: #e5e7eb;
padding: 1em;
display: flex;
justify-content: center;
align-items: center;
}