Skip to content

Commit dc17fc4

Browse files
committed
Add monospace font as fallback.
1 parent b3cf9c2 commit dc17fc4

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

template/css/style.css

+15-15
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ body {
77
}
88

99
body, p, a, div, th, td {
10-
font-family: "Source Sans Pro", sans-serif;
10+
font-family: "Source Sans Pro", monospace, sans-serif;
1111
font-weight: 400;
1212
font-size: 16px;
1313
}
1414

1515
td.code {
1616
font-size: 14px;
17-
font-family: "Source Code Pro";
17+
font-family: "Source Code Pro", monospace;
1818
font-style: normal;
1919
font-weight: 400;
2020
}
@@ -30,7 +30,7 @@ p {
3030
}
3131

3232
h1 {
33-
font-family: "Source Sans Pro Semibold", sans-serif;
33+
font-family: "Source Sans Pro Semibold", monospace, sans-serif;
3434
font-weight: normal;
3535
font-size: 44px;
3636
line-height: 50px;
@@ -39,7 +39,7 @@ h1 {
3939
}
4040

4141
h2 {
42-
font-family: "Source Sans Pro", sans-serif;
42+
font-family: "Source Sans Pro", monospace, sans-serif;
4343
font-weight: normal;
4444
font-size: 24px;
4545
line-height: 40px;
@@ -53,7 +53,7 @@ section {
5353
}
5454

5555
section h1 {
56-
font-family: "Source Sans Pro", sans-serif;
56+
font-family: "Source Sans Pro", monospace, sans-serif;
5757
font-weight: 700;
5858
font-size: 32px;
5959
line-height: 40px;
@@ -67,30 +67,30 @@ article {
6767
}
6868

6969
article h1 {
70-
font-family: "Source Sans Pro Bold", sans-serif;
70+
font-family: "Source Sans Pro Bold", monospace, sans-serif;
7171
font-weight: 600;
7272
font-size: 24px;
7373
line-height: 26px;
7474
}
7575

7676
article h2 {
77-
font-family: "Source Sans Pro", sans-serif;
77+
font-family: "Source Sans Pro", monospace, sans-serif;
7878
font-weight: 600;
7979
font-size: 18px;
8080
line-height: 24px;
8181
margin: 0 0 10px 0;
8282
}
8383

8484
article h3 {
85-
font-family: "Source Sans Pro", sans-serif;
85+
font-family: "Source Sans Pro", monospace, sans-serif;
8686
font-weight: 600;
8787
font-size: 16px;
8888
line-height: 18px;
8989
margin: 0 0 10px 0;
9090
}
9191

9292
article h4 {
93-
font-family: "Source Sans Pro", sans-serif;
93+
font-family: "Source Sans Pro", monospace, sans-serif;
9494
font-weight: 600;
9595
font-size: 14px;
9696
line-height: 16px;
@@ -106,7 +106,7 @@ table {
106106
th {
107107
background-color: #f5f5f5;
108108
text-align: left;
109-
font-family: "Source Sans Pro", sans-serif;
109+
font-family: "Source Sans Pro", monospace, sans-serif;
110110
font-weight: 700;
111111
padding: 4px 8px;
112112
border: #e0e0e0 1px solid;
@@ -143,7 +143,7 @@ td {
143143
}
144144

145145
#apidoc h1 {
146-
font-family: "Source Sans Pro", sans-serif;
146+
font-family: "Source Sans Pro", monospace, sans-serif;
147147
font-weight: 700;
148148
font-size: 32px;
149149
line-height: 40px;
@@ -153,7 +153,7 @@ td {
153153
}
154154

155155
#apidoc h2 {
156-
font-family: "Source Sans Pro Bold", sans-serif;
156+
font-family: "Source Sans Pro Bold", monospace, sans-serif;
157157
font-weight: 600;
158158
font-size: 22px;
159159
line-height: 26px;
@@ -189,7 +189,7 @@ pre.language-html:before {
189189
position: absolute;
190190
top: -30px;
191191
left: 0;
192-
font-family: "Source Sans Pro", sans-serif;
192+
font-family: "Source Sans Pro", monospace, sans-serif;
193193
font-weight: 600;
194194
font-size: 15px;
195195
display: inline-block;
@@ -266,7 +266,7 @@ pre code.sample-request-response-json {
266266
border: 0;
267267
border-left: transparent 4px solid;
268268
border-right: transparent 4px solid;
269-
font-family: "Source Sans Pro", sans-serif;
269+
font-family: "Source Sans Pro", monospace, sans-serif;
270270
font-weight: 400;
271271
font-size: 14px;
272272
}
@@ -275,7 +275,7 @@ pre code.sample-request-response-json {
275275
padding: 5px 15px;
276276
border: 1px solid #e5e5e5;
277277
width: 190px;
278-
font-family: "Source Sans Pro", sans-serif;
278+
font-family: "Source Sans Pro", monospace, sans-serif;
279279
font-weight: 700;
280280
font-size: 16px;
281281
background-color: #ffffff;

0 commit comments

Comments
 (0)