Add monospace hack to example css
relative font sizes inside pre tags are not honored by default. this is the industry standard way of fixing that. go figure... https://github.com/necolas/normalize.css#extended-details-and-known-issues
This commit is contained in:
parent
07d90c960c
commit
08ff3ac22e
1 changed files with 4 additions and 4 deletions
|
@ -55,7 +55,7 @@ blockquote {
|
||||||
border-left: solid 1px #fa6432; }
|
border-left: solid 1px #fa6432; }
|
||||||
|
|
||||||
table {
|
table {
|
||||||
font-family: monospace;
|
font-family: monospace, monospace; /* https://github.com/necolas/normalize.css#extended-details-and-known-issues */
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
caption-side: bottom;
|
caption-side: bottom;
|
||||||
|
@ -80,6 +80,7 @@ table, .highlight > pre, pre.example {
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
font-family: monospace, monospace; /* https://github.com/necolas/normalize.css#extended-details-and-known-issues */
|
||||||
font-size: 0.85rem;
|
font-size: 0.85rem;
|
||||||
border: 1px solid rgba(250, 100, 50, 0.5); }
|
border: 1px solid rgba(250, 100, 50, 0.5); }
|
||||||
|
|
||||||
|
@ -88,11 +89,10 @@ figure {
|
||||||
}
|
}
|
||||||
|
|
||||||
figcaption {
|
figcaption {
|
||||||
font-family: monospace;
|
font-family: monospace, monospace; /* https://github.com/necolas/normalize.css#extended-details-and-known-issues */
|
||||||
font-size: 0.75em;
|
font-size: 0.75em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: grey;
|
color: grey; }
|
||||||
margin-top: 0; }
|
|
||||||
|
|
||||||
.footnote-definition sup {
|
.footnote-definition sup {
|
||||||
float: left; }
|
float: left; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue