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; }
|
||||
|
||||
table {
|
||||
font-family: monospace;
|
||||
font-family: monospace, monospace; /* https://github.com/necolas/normalize.css#extended-details-and-known-issues */
|
||||
font-size: 1rem;
|
||||
text-align: left;
|
||||
caption-side: bottom;
|
||||
|
@ -80,6 +80,7 @@ table, .highlight > pre, pre.example {
|
|||
margin: 1em 0;
|
||||
padding: 1em;
|
||||
overflow: auto;
|
||||
font-family: monospace, monospace; /* https://github.com/necolas/normalize.css#extended-details-and-known-issues */
|
||||
font-size: 0.85rem;
|
||||
border: 1px solid rgba(250, 100, 50, 0.5); }
|
||||
|
||||
|
@ -88,11 +89,10 @@ figure {
|
|||
}
|
||||
|
||||
figcaption {
|
||||
font-family: monospace;
|
||||
font-family: monospace, monospace; /* https://github.com/necolas/normalize.css#extended-details-and-known-issues */
|
||||
font-size: 0.75em;
|
||||
text-align: center;
|
||||
color: grey;
|
||||
margin-top: 0; }
|
||||
color: grey; }
|
||||
|
||||
.footnote-definition sup {
|
||||
float: left; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue