Skip to content

Commit

Permalink
Make code font-family inherit from font-family-monospace
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed Jan 20, 2021
1 parent e2a9f41 commit 91a955e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions inst/rmd/ioslides/ioslides-13.5.1/theme/css/default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ $success: #0da861 !default;
$success1: lighten($success, 5%) !default;
$success2: darken($success, 5%) !default;

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


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

Expand Down Expand Up @@ -1517,7 +1519,7 @@ slides > slide {

/* line 1044, ../scss/default.scss */
pre, code {
font-family: monospace !important;
font-family: $font-family-monospace !important;
}
}

Expand Down

0 comments on commit 91a955e

Please sign in to comment.