[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
|
#skip-links
|
||||||
position: relative
|
position: relative
|
||||||
+skip-links
|
+skip-links
|
||||||
|
|
||||||
|
=code-text
|
||||||
|
font-family: monospace
|
||||||
|
|
||||||
|
@ -55,14 +55,14 @@ body.reference {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body.docs {
|
body.docs {
|
||||||
.code {
|
code {
|
||||||
@include code-text;
|
@include code-text;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
background-color: #e7e7e7;
|
background-color: #e7e7e7;
|
||||||
}
|
}
|
||||||
pre { @extend .code; }
|
code code { border-width: 0px; }
|
||||||
p, ol, ul, dl, table { code { @extend .code; }}
|
pre { @extend code; }
|
||||||
}
|
}
|
||||||
|
|
||||||
table.constants {
|
table.constants {
|
||||||
|
@ -243,9 +243,6 @@ aside[role="sidebar"] + article
|
|||||||
a.selected:after
|
a.selected:after
|
||||||
content: "«"
|
content: "«"
|
||||||
|
|
||||||
=code-text
|
|
||||||
font-family: monospace
|
|
||||||
|
|
||||||
#code
|
#code
|
||||||
+full(12)
|
+full(12)
|
||||||
+pie-clearfix
|
+pie-clearfix
|
||||||
|
Loading…
Reference in New Issue
Block a user