We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12f8957 commit 4643aa0Copy full SHA for 4643aa0
1 file changed
assets/css/_addon/syntax.scss
@@ -43,6 +43,8 @@ html[mode=dark] {
43
padding: 0.8rem 1rem;
44
}
45
46
+$code-font-size: 0.85rem;
47
+
48
div > pre {
49
@extend %code-snippet-bg;
50
@extend %code-snippet-radius;
@@ -82,7 +84,7 @@ div > pre {
82
84
83
85
pre {
86
margin-bottom: 0;
- font-size: 0.85rem;
87
+ font-size: $code-font-size;
88
line-height: 1.4rem;
89
word-wrap: normal; /* Fixed Safari overflow-x */
90
@@ -107,6 +109,7 @@ code {
107
109
hyphens: none;
108
110
111
&.highlighter-rouge {
112
113
padding: 3px 5px;
114
margin: 0 0.15rem;
115
border-radius: 4px;
0 commit comments