Skip to content

Commit 77e2acb

Browse files
committed
Update main.scss
1 parent 1c563f5 commit 77e2acb

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

‎assets/main.scss‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,28 +49,27 @@ body, .post-content {
4949
margin-bottom: 6px;
5050
}
5151
div.highlighter-rouge,
52-
div.highlighter-rouge pre.highlight,
53-
div.highlighter-rouge code {
52+
div.highlighter-rouge * {
53+
font-family: $code-font-stack !important;
5454
background-color: #f6f8fa !important;
5555
color: #24292f !important;
56-
font-family: $code-font-stack !important;
5756
}
5857
div.highlighter-rouge pre.highlight {
5958
padding: 0.75rem 0.95rem !important;
6059
border-radius: 6px !important;
6160
border: 1px solid #d0d7de !important;
62-
font-size: 0.82rem !important;
61+
font-size: 14px !important;
6362
line-height: 1.5 !important;
6463
overflow-x: auto !important;
6564
margin: 0.8em 0 !important;
6665
}
6766
p code, li code {
67+
font-family: $code-font-stack !important;
6868
background-color: rgba(175, 184, 193, 0.2) !important;
6969
color: #24292f !important;
7070
padding: 0.15em 0.35em !important;
7171
border-radius: 4px !important;
72-
font-family: $code-font-stack !important;
73-
font-size: 0.82em !important;
72+
font-size: 14px !important;
7473
}
7574
.post-content blockquote {
7675
padding: 0 0.8em;

0 commit comments

Comments
 (0)