Skip to content
Snippets Groups Projects
Unverified Commit 87d6af2c authored by Hakim El Hattab's avatar Hakim El Hattab Committed by GitHub
Browse files

Merge pull request #2266 from f00ale/custom_code_font

Make code font customizable for themes.
parents 82076c5a 8e5bdcc2
Branches
Tags
No related merge requests found
...@@ -28,6 +28,8 @@ $heading2Size: 2.11em; ...@@ -28,6 +28,8 @@ $heading2Size: 2.11em;
$heading3Size: 1.55em; $heading3Size: 1.55em;
$heading4Size: 1.00em; $heading4Size: 1.00em;
$codeFont: monospace;
// Links and actions // Links and actions
$linkColor: #13DAEC; $linkColor: #13DAEC;
$linkColorHover: lighten( $linkColor, 20% ); $linkColorHover: lighten( $linkColor, 20% );
...@@ -40,4 +42,4 @@ $selectionColor: #fff; ...@@ -40,4 +42,4 @@ $selectionColor: #fff;
// to return a background image or gradient // to return a background image or gradient
@mixin bodyBackground() { @mixin bodyBackground() {
background: $backgroundColor; background: $backgroundColor;
} }
\ No newline at end of file
...@@ -162,7 +162,7 @@ body { ...@@ -162,7 +162,7 @@ body {
text-align: left; text-align: left;
font-size: 0.55em; font-size: 0.55em;
font-family: monospace; font-family: $codeFont;
line-height: 1.2em; line-height: 1.2em;
word-wrap: break-word; word-wrap: break-word;
...@@ -171,7 +171,7 @@ body { ...@@ -171,7 +171,7 @@ body {
} }
.reveal code { .reveal code {
font-family: monospace; font-family: $codeFont;
text-transform: none; text-transform: none;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment