forked from benbjohnson/thesecretlivesofdata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
108 lines (95 loc) · 1.72 KB
/
main.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
body {
height: 100%;
margin: 0;
font-family: Georgia,Cambria,"Times New Roman",Times,serif;
letter-spacing: 0.01rem;
font-weight: 400;
font-style: normal;
font-size: 22px;
line-height: 1.5;
color: rgba(0,0,0,0.8);
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5 {
font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;
letter-spacing: -0.02em;
}
header h1 {
font-weight: 400;
font-style: normal;
font-size: 28px;
margin-left: -1.8px;
line-height: 1.2;
margin-bottom: 4px;
}
article h1 {
font-weight: 700;
font-style: normal;
font-size: 36px;
margin-left: -1.8px;
line-height: 1.2;
margin-top: 40px;
margin-bottom: 4px;
}
h2 {
font-weight: 700;
font-style: normal;
font-size: 30px;
margin-left: -1.5px;
line-height: 1.2;
margin-top: 40px;
margin-bottom: 2px;
}
h3 {
margin-bottom: 10px;
}
a {
color: rgba(70,130,180,1);
text-decoration: none;
}
header h1 a {
color: rgba(0,0,0,0.8);
text-decoration: none;
}
header, article {
width: 700px;
position: relative;
right: 0%;
margin: 0 auto;
word-wrap: break-word;
margin-bottom: 30px;
}
@media (max-width: 800px) {
header, article {
width: 640px;
}
}
@media (max-width: 680px) {
header, article {
width: auto;
margin-left: 20px;
margin-right: 25px;
}
}
hr {
border: 0;
background: #666;
height: 1px;
}
/* SVG styles for responsive resizing. */
div.svg {
position: relative;
height:0;
/* padding-top: ???; */
}
svg {
position: absolute;
display:block;
width: 100%;
height: 100%;
top:0;
left:0;
/* background-color: cyan; */
}