Add border to code.
This commit is contained in:
parent
2d77f8489f
commit
1908126607
|
@ -39,11 +39,19 @@ pre code {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
background-color: $code-color;
|
border: $code-border;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.highlight table pre {
|
div.highlight table {
|
||||||
|
border: $code-border !important;
|
||||||
|
|
||||||
|
pre {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
|
|
|
@ -12,3 +12,4 @@ $font-body: "Raleway", serif;
|
||||||
$font-code: "Inconsolata", monospace;
|
$font-code: "Inconsolata", monospace;
|
||||||
|
|
||||||
$standard-border: $standard-border-width solid $border-color;
|
$standard-border: $standard-border-width solid $border-color;
|
||||||
|
$code-border: 0.0375rem solid darken($code-color, 10%);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user