Add border to code.

This commit is contained in:
Danila Fedorin 2020-06-30 21:31:16 -07:00
parent 2d77f8489f
commit 1908126607
2 changed files with 12 additions and 3 deletions

View File

@ -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 {
margin: 0; border: $code-border !important;
pre {
margin: 0;
}
code {
border: none;
}
} }
.container { .container {

View File

@ -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%);