aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/code.scss
diff options
context:
space:
mode:
Diffstat (limited to 'stylesheets/code.scss')
-rw-r--r--stylesheets/code.scss7
1 files changed, 2 insertions, 5 deletions
diff --git a/stylesheets/code.scss b/stylesheets/code.scss
index d37addb..a4872c3 100644
--- a/stylesheets/code.scss
+++ b/stylesheets/code.scss
@@ -1,13 +1,11 @@
%code-block {
+ font-family: $code-font;
background-color: $title-font-color;
color: rgb(255, 255, 255);
box-sizing: content-box;
border-radius: 3px;
- white-space: pre-wrap;
-
- font-family: $code-font, $code-font;
}
%code-italic { font-style: italic; }
@@ -15,9 +13,7 @@
code {
@extend %code-block;
-
padding: 3px 5px;
- border-radius: 3px;
}
.highlight {
@@ -34,6 +30,7 @@ code {
@include print {
background: none;
+ border-radius: none;
border-top: 1px solid black;
border-bottom: 1px solid black;