Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions source/css/_common/components/highlight/highlight.styl
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@

// Placeholder: $code-block
$code-block {
overflow: auto;
margin: 20px 0;
padding: 0;
font-size $code-font-size;
font-size: $code-font-size;
color: $highlight-foreground;
background: $highlight-background;
line-height: $line-height-code-block;
Expand All @@ -27,6 +25,7 @@ code {

pre {
@extend $code-block;
overflow: auto;
padding: 10px;
code {
padding: 0;
Expand Down Expand Up @@ -64,7 +63,6 @@ pre {
font-size: 1em;
color: $highlight-foreground;
line-height: 1em;
margin-bottom: 1em;
margin: 0em;
padding: 0.5em;
background: $code-background;
Expand All @@ -89,7 +87,6 @@ pre {
.code pre {
width: 100%
padding-left: 10px
padding-right: 10px
background-color: $highlight-background
}

Expand Down
9 changes: 0 additions & 9 deletions source/css/_common/components/post/post-expand.styl
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,10 @@
}

.post-body {
pre {
.gutter pre {
padding-right: 10px;
}
}

.highlight {
margin-left: 0px;
margin-right: 0px;
padding: 0;
.gutter pre {
padding-right: 10px;
}
}
}
}
Expand Down