Skip to content

Commit edb5c13

Browse files
johnpryankwalrath
authored andcommitted
set font weight to 400 for code blocks (#1747)
Contributes to #1710.
1 parent 90b0584 commit edb5c13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/_assets/css/main.scss

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
// Extra variables (defined in terms of bootstrap and other defaults)
2727
$font-color: $body-color;
2828
$font-weight-light-bold: ($font-weight-normal + $font-weight-bold)/2;
29+
$code-weight: 400;
2930

3031
/* -----------------------------------------
3132
Global
@@ -153,6 +154,7 @@ input, select {
153154

154155
pre, pre.prettyprint {
155156
padding: 30px;
157+
font-weight: $code-weight;
156158
background-color: #F5F5F7;
157159
color: $blue;
158160
position: relative;

0 commit comments

Comments
 (0)