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 Feb 4, 2021
1 parent 3009659 commit 116907c
Show file tree
Hide file tree
Showing 2 changed files with 9 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
5 changes: 5 additions & 0 deletions man/ioslides_presentation.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 116907c

Please sign in to comment.