Permalink
Browse files

Do not use monospace for sans fonts, only code fonts.

  • Loading branch information...
1 parent 73917a7 commit a183fc744320a9bd580f61476b29b74dcbf9f4aa @SecretAgentKen SecretAgentKen committed Apr 21, 2016
Showing with 15 additions and 15 deletions.
  1. +15 −15 template/css/style.css
@@ -7,7 +7,7 @@ body {
}
body, p, a, div, th, td {
- font-family: "Source Sans Pro", monospace, sans-serif;
+ font-family: "Source Sans Pro", sans-serif;
font-weight: 400;
font-size: 16px;
}
@@ -30,7 +30,7 @@ p {
}
h1 {
- font-family: "Source Sans Pro Semibold", monospace, sans-serif;
+ font-family: "Source Sans Pro Semibold", sans-serif;
font-weight: normal;
font-size: 44px;
line-height: 50px;
@@ -39,7 +39,7 @@ h1 {
}
h2 {
- font-family: "Source Sans Pro", monospace, sans-serif;
+ font-family: "Source Sans Pro", sans-serif;
font-weight: normal;
font-size: 24px;
line-height: 40px;
@@ -53,7 +53,7 @@ section {
}
section h1 {
- font-family: "Source Sans Pro", monospace, sans-serif;
+ font-family: "Source Sans Pro", sans-serif;
font-weight: 700;
font-size: 32px;
line-height: 40px;
@@ -67,30 +67,30 @@ article {
}
article h1 {
- font-family: "Source Sans Pro Bold", monospace, sans-serif;
+ font-family: "Source Sans Pro Bold", sans-serif;
font-weight: 600;
font-size: 24px;
line-height: 26px;
}
article h2 {
- font-family: "Source Sans Pro", monospace, sans-serif;
+ font-family: "Source Sans Pro", sans-serif;
font-weight: 600;
font-size: 18px;
line-height: 24px;
margin: 0 0 10px 0;
}
article h3 {
- font-family: "Source Sans Pro", monospace, sans-serif;
+ font-family: "Source Sans Pro", sans-serif;
font-weight: 600;
font-size: 16px;
line-height: 18px;
margin: 0 0 10px 0;
}
article h4 {
- font-family: "Source Sans Pro", monospace, sans-serif;
+ font-family: "Source Sans Pro", sans-serif;
font-weight: 600;
font-size: 14px;
line-height: 16px;
@@ -106,7 +106,7 @@ table {
th {
background-color: #f5f5f5;
text-align: left;
- font-family: "Source Sans Pro", monospace, sans-serif;
+ font-family: "Source Sans Pro", sans-serif;
font-weight: 700;
padding: 4px 8px;
border: #e0e0e0 1px solid;
@@ -143,7 +143,7 @@ td {
}
#apidoc h1 {
- font-family: "Source Sans Pro", monospace, sans-serif;
+ font-family: "Source Sans Pro", sans-serif;
font-weight: 700;
font-size: 32px;
line-height: 40px;
@@ -153,7 +153,7 @@ td {
}
#apidoc h2 {
- font-family: "Source Sans Pro Bold", monospace, sans-serif;
+ font-family: "Source Sans Pro Bold", sans-serif;
font-weight: 600;
font-size: 22px;
line-height: 26px;
@@ -189,7 +189,7 @@ pre.language-html:before {
position: absolute;
top: -30px;
left: 0;
- font-family: "Source Sans Pro", monospace, sans-serif;
+ font-family: "Source Sans Pro", sans-serif;
font-weight: 600;
font-size: 15px;
display: inline-block;
@@ -228,7 +228,7 @@ pre.language-api .pun {
pre code {
display: block;
font-size: 14px;
- font-family: "Source Code Pro";
+ font-family: "Source Code Pro", monospace;
font-style: normal;
font-weight: 400;
word-wrap: normal;
@@ -266,7 +266,7 @@ pre code.sample-request-response-json {
border: 0;
border-left: transparent 4px solid;
border-right: transparent 4px solid;
- font-family: "Source Sans Pro", monospace, sans-serif;
+ font-family: "Source Sans Pro", sans-serif;
font-weight: 400;
font-size: 14px;
}
@@ -275,7 +275,7 @@ pre code.sample-request-response-json {
padding: 5px 15px;
border: 1px solid #e5e5e5;
width: 190px;
- font-family: "Source Sans Pro", monospace, sans-serif;
+ font-family: "Source Sans Pro", sans-serif;
font-weight: 700;
font-size: 16px;
background-color: #ffffff;

0 comments on commit a183fc7

Please sign in to comment.