Merge pull request #2266 from f00ale/custom_code_font

Make code font customizable for themes.
This commit is contained in:
Hakim El Hattab 2018-11-21 08:33:56 +01:00 committed by GitHub
commit 87d6af2cb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -28,6 +28,8 @@ $heading2Size: 2.11em;
$heading3Size: 1.55em;
$heading4Size: 1.00em;
$codeFont: monospace;
// Links and actions
$linkColor: #13DAEC;
$linkColorHover: lighten( $linkColor, 20% );
@ -40,4 +42,4 @@ $selectionColor: #fff;
// to return a background image or gradient
@mixin bodyBackground() {
background: $backgroundColor;
}
}

View file

@ -162,7 +162,7 @@ body {
text-align: left;
font-size: 0.55em;
font-family: monospace;
font-family: $codeFont;
line-height: 1.2em;
word-wrap: break-word;
@ -171,7 +171,7 @@ body {
}
.reveal code {
font-family: monospace;
font-family: $codeFont;
text-transform: none;
}