Skip to content

Commit 298b50f

Browse files
committed
Bump font sizes
1 parent fd6f9b2 commit 298b50f

File tree

1 file changed

+19
-24
lines changed

1 file changed

+19
-24
lines changed

website/modules/base.css

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,23 @@
1+
html {
2+
box-sizing: border-box;
3+
}
4+
*,
5+
*:before,
6+
*:after {
7+
box-sizing: inherit;
8+
}
9+
110
body {
211
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
312
Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4-
line-height: 1.3;
13+
font-size: 18px;
14+
line-height: 1.5;
515
}
16+
17+
code {
18+
font-family: Menlo, monospace;
19+
}
20+
621
h1,
722
h2,
823
h3,
@@ -34,16 +49,6 @@ a {
3449
-webkit-overflow-scrolling: touch;
3550
}
3651

37-
* {
38-
box-sizing: border-box;
39-
}
40-
41-
pre,
42-
code {
43-
font-family: Menlo, monospace;
44-
line-height: 1.5;
45-
}
46-
4752
/* have messed with these! */
4853

4954
.api-doc-wrapper {
@@ -89,12 +94,12 @@ code {
8994
font-family: Menlo, monospace;
9095
padding: 40px 0px 10px 0px;
9196
color: rgb(204, 65, 65);
92-
font-size: 200%;
97+
font-size: 2em;
9398
}
9499

95100
.markdown h2 {
96101
font-family: Menlo, monospace;
97-
font-size: 150%;
102+
font-size: 1.5em;
98103
padding-top: 40px;
99104
position: relative;
100105
}
@@ -116,16 +121,6 @@ code {
116121
color: rgb(45, 45, 45);
117122
}
118123

119-
.markdown pre code {
120-
font-size: 11px;
121-
}
122-
.markdown code {
123-
font-size: 12px;
124-
}
125-
.markdown h2 code {
126-
font-size: 100%;
127-
font-weight: 100;
128-
}
129124
.markdown h2 + p {
130125
margin-top: 10px;
131126
}
@@ -185,7 +180,7 @@ h3 {
185180
.markdown th {
186181
border-bottom: 1px solid #f0f0f0;
187182
text-align: center;
188-
font-size: 80%;
183+
font-size: 0.8em;
189184
font-weight: normal;
190185
font-style: italic;
191186
}

0 commit comments

Comments
 (0)