Add border to code.
This commit is contained in:
parent
2d77f8489f
commit
1908126607
|
@ -39,11 +39,19 @@ pre code {
|
|||
display: block;
|
||||
padding: 0.5rem;
|
||||
overflow-x: auto;
|
||||
background-color: $code-color;
|
||||
border: $code-border;
|
||||
}
|
||||
|
||||
div.highlight table pre {
|
||||
margin: 0;
|
||||
div.highlight table {
|
||||
border: $code-border !important;
|
||||
|
||||
pre {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
code {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
.container {
|
||||
|
|
|
@ -12,3 +12,4 @@ $font-body: "Raleway", serif;
|
|||
$font-code: "Inconsolata", monospace;
|
||||
|
||||
$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