Skip to content

Commit

Permalink
Merge pull request apidoc#465 from SecretAgentKen/fix414
Browse files Browse the repository at this point in the history
Do not use monospace for sans-serif fonts, only code fonts.
  • Loading branch information
rottmann committed Apr 21, 2016
2 parents 73917a7 + a183fc7 commit dc19c2d
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions template/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Expand All @@ -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;
Expand Down

0 comments on commit dc19c2d

Please sign in to comment.