forked from Technigo/project-buzzfeed
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
65 lines (56 loc) · 1.31 KB
/
styles.css
File metadata and controls
65 lines (56 loc) · 1.31 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
/* Imported the Cantata One from Google Fonts (as it didn't showed up before (looks like it was not enough with just adding "font-family") and added a new font "Cormorant Garamond" that's more suitable for reading longer pieces of text*/
@import url('https://fonts.googleapis.com/css2?family=Cantata+One&family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap');
body {
font-family: "Cantata One", serif;
text-align: left;
max-width: 800px;
margin: 0 auto;
}
p {
font-family: "Cormorant Garamond", serif;
font-weight: 400;
font-style: normal;
font-display: swap;
/* Fixes Google Fonts loading */
}
.header {
padding: 60px;
text-align: center;
background: #1abc9c;
color: white;
font-size: 30px;
}
h1 {
font-family: "Cantata One", serif;
font-weight: 400;
font-style: normal;
}
h2 a {
font-size: 25px;
align-items: center;
font-family: "Cantata One", serif;
color: #16a085;
text-decoration: none;
/* Removes underline to not make it look like plain html*/
}
h2 a:hover {
color: #12836c;
/* Slightly darker shade for hover effect */
}
img {
float: center;
margin: 20px 0;
width: 100%;
max-width: 800px;
display: block;
border-radius: 8px;
}
/* Lists */
ul {
list-style-type: none;
/* Removes default bullets */
padding: 0;
}
ul li {
margin-bottom: 5px;
}