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;
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 {

View File

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