Skip to content

Commit 91a955e

Browse files
committed
Make code font-family inherit from font-family-monospace
1 parent e2a9f41 commit 91a955e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

inst/rmd/ioslides/ioslides-13.5.1/theme/css/default.scss

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ $success: #0da861 !default;
2525
$success1: lighten($success, 5%) !default;
2626
$success2: darken($success, 5%) !default;
2727

28+
$font-family-monospace: 'Source Code Pro', 'Courier New', monospace !default;
29+
2830

2931
/* line 17, ../../../../../../Library/Ruby/Gems/1.8/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
3032
html, body, div, span, applet, object, iframe,
@@ -579,7 +581,7 @@ pre[data-lang="go"] {
579581
/* line 368, ../scss/default.scss */
580582
code {
581583
font-size: 95%;
582-
font-family: 'Source Code Pro', 'Courier New', monospace;
584+
font-family: $font-family-monospace;
583585
color: $black;
584586
}
585587

@@ -1517,7 +1519,7 @@ slides > slide {
15171519

15181520
/* line 1044, ../scss/default.scss */
15191521
pre, code {
1520-
font-family: monospace !important;
1522+
font-family: $font-family-monospace !important;
15211523
}
15221524
}
15231525

0 commit comments

Comments
 (0)