change ui of codes

This commit is contained in:
Simon Vieille 2022-10-09 16:20:48 +02:00
parent 312eaa62ad
commit 131939d07e
Signed by: deblan
GPG key ID: 579388D585F70417
2 changed files with 5 additions and 3 deletions

View file

@ -30,12 +30,14 @@
} }
@mixin make-pre { @mixin make-pre {
padding: 10px; padding: 10px 1em;
border: 1px solid $color-code-border; border: 1px solid $color-code-border;
overflow: auto; overflow: auto;
background: $color-code-background; background: $color-code-background;
color: $color-code-text; color: $color-code-text;
font-size: 13px; font-size: 1em;
box-shadow: 1px 1px .5em black inset;
border-radius: 15px;
} }
@mixin make-pre-code { @mixin make-pre-code {

View file

@ -35,7 +35,7 @@ $content-max-width: 1250px;
/* GIST compatiblity */ /* GIST compatiblity */
$color-code-border: #1d2231; $color-code-border: #1d2231;
$color-code-background: #222222; $color-code-background: hsl(0, 0%, 8%);
$color-code-text: #f8f8f2; $color-code-text: #f8f8f2;
$color-code-mark-background: $color-light-blue; $color-code-mark-background: $color-light-blue;
$color-code-title-background: #1d2231; $color-code-title-background: #1d2231;