-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
232 lines (192 loc) · 3.51 KB
/
styles.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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
/* Setup */
* {
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
}
section {
width: 98%;
max-width: 1250px;
margin-right: auto;
margin-left: auto;
}
a {
color: inherit;
text-decoration: none;
}
picture {
display: block;
}
img {
display: block;
width: 100%;
height: auto;
}
/* End of Setup */
/* Start of Media Setup */
@media screen and (max-width: 900px) {
.header {
flex-wrap: wrap;
justify-content: center;
}
}
@media screen and (max-width: 530px) {
.box .nav {
flex-wrap: wrap;
justify-content: center;
gap: 8px;
}
}
@media screen and (max-width: 584px) {
body .contact, .contact-left {
text-align: center;
display: flex;
flex-direction: column;
gap: 6px;
}
}
/* End of media setup */
/* Colors and Font */
.hero, .footer {
background-color: #1f2937;
}
li a:hover, li a:focus {
text-decoration: underline;
}
.box {
border-bottom: 1px solid #1f2937;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
}
.logo a, .bold {
font-size: 24px;
color: #f9faf8;
font-weight: 1000;
}
.links a, .description, button, .contact-left .text, .footer {
font-size: 16px;
color: #e5e7eb;
}
.title {
font-size: 48px;
color: #f9faf8;
font-weight: 1000;
}
button {
background: #3882f6;
border: 1px solid #3882f6;
border-radius: 8px;
width: 125px;
font-weight: 800;
padding: 8px 16px;
}
.sign-up:hover {
background-color: white;
color: #3882f6;
}
.info .title {
color: #1f2937;
font-size: 36px;
margin: 52px 0;
}
.quote .text {
color: #1f2937;
font-size: 36px;
font-style: italic;
font-weight: 100;
}
.author {
color: #1f2937;
font-size: 24px;
font-weight: 800;
}
.contact button {
border: 2px solid white;
}
/* End of Colors and Font */
/* Nav Bar Positioning */
.nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 0px;
}
ul {
display: flex;
gap: 16px;
}
/* End of Nav Bar Positioning */
/* Start of Header Positioning */
.header {
display: flex;
flex-direction: row-reverse;
align-items: center;
gap: 50px;
padding: 72px 0px;
}
.header :is(.picture, .header-left) {
flex-basis: 50%;
}
.header-left {
display: flex;
flex-flow: column;
gap: 16px;
}
/* End of Header Positioning */
/* Start of Info Positioning */
.info {
text-align: center;
}
.images {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 52px;
}
.item {
max-width: 350px;
}
.item img {
border: 2px solid #3882f6;
border-radius: 20px;
}
.item .text {
padding-top: 12px;
}
/* End of Info Positioning */
/* Start of Quote Positioning */
.quote {
display: flex;
flex-flow: column wrap;
align-content: center;
align-items: flex-end;
gap: 10px;
padding: 200px 0px;
width: 50%;
}
.author {
white-space: nowrap;
}
/* End of Quote Positioning */
/* Start of Contact Positioning */
.contact {
display: flex;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
background-color: #3882f6;
border-radius: 5px;
padding: 48px 0px;
}
.contact-left :is(.bold, .text) {
margin-bottom: 6px;
}
/* End of Contact Positioning */
/* Start of Footer */
.footer {
margin-top: 72px;
text-align: center;
padding: 48px 0;
}
/* End of Footer */