-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbiography_style.css
80 lines (65 loc) · 1.17 KB
/
biography_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
@import url('https://fonts.googleapis.com/css?family=Playfair+Display');
main {
height: 80vh;
color: white;
margin: 2em auto;
width: 90%;
}
h2 {
font-family: 'PlayFair Display', serif;
line-height: 1.25;
margin: 0 0 1em;
font-size: 2em;
font-weight: bold;
}
article em {
color: #ff5bad;
}
article {
padding: 1em;
font-family: 'PlayFair Display', serif;
margin: 1em;
letter-spacing: 0.05em;
background: #515151;
text-align: left;
text-justify: inter-word;
font-size: 1em;
}
#articles {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
article {
flex: 1;
}
article:nth-of-type(3) {
flex: 2;
}
article:nth-of-type(4) {
flex: 3;
}
article {
-ms-flex: 1 300px;
flex: 1 300px;
}
article:nth-of-type(3) {
-ms-flex: 2 600px;
flex: 2 600px;
}
article:nth-of-type(4) {
-ms-flex: 3 1080px;
flex: 3 1080px;
}
article:nth-of-type(5) {
-ms-flex: 3 1080px;
flex: 4 1080px;
}
@media all and (max-width: 580px) {
h2 {
font-size: 6vw;
}
article {
font-size: 3vw;
}
}