[Docs] Clean up the <code> styling on doc pages.
This commit is contained in:
parent
3b3fcf26f1
commit
2754f2df48
@ -62,3 +62,7 @@ $alt: #005498
|
||||
#skip-links
|
||||
position: relative
|
||||
+skip-links
|
||||
|
||||
=code-text
|
||||
font-family: monospace
|
||||
|
||||
|
@ -55,14 +55,14 @@ body.reference {
|
||||
}
|
||||
|
||||
body.docs {
|
||||
.code {
|
||||
code {
|
||||
@include code-text;
|
||||
border: 1px solid #ccc;
|
||||
padding: 2px;
|
||||
background-color: #e7e7e7;
|
||||
}
|
||||
pre { @extend .code; }
|
||||
p, ol, ul, dl, table { code { @extend .code; }}
|
||||
code code { border-width: 0px; }
|
||||
pre { @extend code; }
|
||||
}
|
||||
|
||||
table.constants {
|
||||
|
@ -243,9 +243,6 @@ aside[role="sidebar"] + article
|
||||
a.selected:after
|
||||
content: "«"
|
||||
|
||||
=code-text
|
||||
font-family: monospace
|
||||
|
||||
#code
|
||||
+full(12)
|
||||
+pie-clearfix
|
||||
|
Loading…
Reference in New Issue
Block a user