aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/sass/partials/_syntax.scss
diff options
context:
space:
mode:
Diffstat (limited to '.themes/classic/sass/partials/_syntax.scss')
-rw-r--r--.themes/classic/sass/partials/_syntax.scss5
1 files changed, 2 insertions, 3 deletions
diff --git a/.themes/classic/sass/partials/_syntax.scss b/.themes/classic/sass/partials/_syntax.scss
index a68ae1bb..a116cedf 100644
--- a/.themes/classic/sass/partials/_syntax.scss
+++ b/.themes/classic/sass/partials/_syntax.scss
@@ -84,6 +84,7 @@ p code {
.pre-code {
@include selection(adjust-color($base03, $lightness: 23%, $saturation: -65%), $text-shadow: $base03 0 1px);
+ font-family: $mono !important;
overflow: scroll;
overflow-y: hidden;
display: block;
@@ -173,7 +174,7 @@ pre, .highlight, .gist-highlight {
}
.highlight code { @extend .pre-code; background: #000;}
-figure {
+figure[role=code] {
margin-bottom: 1.5em;
figcaption {
position: relative;
@@ -209,5 +210,3 @@ figure {
text-shadow: #cbcccc 0 1px 0;
padding-left: 3em;
}
-
-