-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsizing-elements
More file actions
117 lines (92 loc) · 1.57 KB
/
sizing-elements
File metadata and controls
117 lines (92 loc) · 1.57 KB
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
/* Universal Styles */
p{
min-width: 200px;
min-height: 200px;
}
html{
font-size: 16px;
}
body {
background-color: white;
}
.image-container {
overflow: hidden;
}
.image-container img {
max-width: 100%;
height: auto;
display: block;
}
/* Banner Section */
#banner {
background-image: url('camel-background.png');
background-position: center;
background-size: cover;
background-repeat: no-repeat;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
height: 46rem;
}
#banner h1 {
font-family: 'Roboto', sans-serif;
font-weight: 300;
color: white;
font-size: 3.75rem;
}
/* Blog Post */
#blog {
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
width: 86%;
}
#blog .post {
margin-top: 12.5%;
margin-bottom: 7.5%;
display: flex;
flex-direction: column;
align-items: center;
font-family: 'Merriweather', serif;
font-weight: 300;
font-size: 1rem;
text-align: center;
line-height: 1.8;
color: #444444;
width: 52%;
}
.post h2 {
font-size: 1.875rem;
}
.post h3 {
font-size: 1.125rem;
color: #999999;
}
.post .opening-line {
margin-top: 4.1875rem;
margin-bottom: 1.5rem;
color: black;
font-weight: bold;
}
.post .image-container {
width: 100%;
}
/* Blog Images */
.images {
margin-bottom: 20%;
}
.images .image-container {
display: inline-block;
width: 50%;
}
/* Footer */
footer {
padding: 4rem 0;
border-top: 1px solid #999999;
font-family: 'Roboto', sans-serif;
font-size: 1.125rem;
color: #999999;
text-align: center;
}