-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
111 lines (92 loc) · 1.73 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
html {
/* Setting a base font size of 10px give us easier rem calculations
Info: 1rem === 10px, 1.5rem === 15px, 2rem === 20px and so forth
*/
font-size: 10px;
}
body {
background-color: #393b44;
color: #f1f3f8;
font-family: 'Kufam';
line-height: 1.5;
}
h1 {
font-size: 3rem;
}
h2 {
font-size: 1.5rem;
font-weight: 300;
}
p {
font-size: 2rem;
}
a {
color: #393b44;
}
/* CONTENT */
#main {
max-width: 100%;
overflow-x: hidden;
text-align: center;
margin: 0;
}
#title {
padding: 20px 0;
background-color: #d6e0f0;
color: #393b44;
line-height: 1;
display: flex;
flex-direction: column;
}
/* the div holding the photo */
#img-div {
margin: auto;
padding: 40px 0;
width: 400px;
max-width: 100%;
}
#image {
/* responsive image properties */
max-width: 100%;
height: auto;
display: block;
/* image border properties */
border: 20px solid #f1f3f8;
box-sizing: border-box; /* border-box ensures that the width will be automatically calculated to include the border, thus keeping it centered and not 20px off-center*/
}
#img-caption {
font-size: 1.3rem;
}
/* the div holding the text */
#tribute-section {
background-color: #d6e0f0;
color: #393b44;
padding: 25px;
}
#tribute-info {
margin: auto;
width: 500px;
max-width: 100%;
text-align: left;
}
#tribute-info-heading {
text-align: center;
font-size: 2rem;
padding-bottom: 10px;
}
/* the actual text */
#tribute-info > p, footer {
margin: 15px 0;
font-size: 1.8rem;
}
/* blockquote {
padding: 10px;
} */
#quote {
padding: 10px;
border-left: solid 5px ;
font-size: 2.5rem;
}
#read-more {
font-weight: 600;
}