Change mono font for mobiles

This commit is contained in:
Rico Sta. Cruz 2017-09-04 16:41:34 +08:00
parent 926704b4a1
commit 19887637fb
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
4 changed files with 7 additions and 3 deletions

View File

@ -27,7 +27,7 @@ pre, code {
}
pre {
font-size: 0.92em;
font-size: $code-size;
}
/*

View File

@ -24,6 +24,8 @@
overflow: hidden;
overflow-x: auto;
background: white;
font-size: $code-size;
line-height: $code-line-height;
}
pre > code {

View File

@ -1,4 +1,5 @@
@import url('https://unpkg.com/hint.css@2.5.0/hint.min.css');
@import url('https://fonts.googleapis.com/css?family=Cousine');
@import './variables';
@import '../vendor/modularscale/modularscale';
@import '../vendor/iconfonts/ionicons@3';

View File

@ -5,7 +5,8 @@
$gut-small: 16px; // max 480px width
$gut: 16px;
$column: 400px;
$code-size: 0.92em;
$code-size: 0.96em;
$code-line-height: 1.5;
$area-width: $column * 3 + 32px;
/*
@ -16,7 +17,7 @@ $system-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
$system-mono: 'SFMono-Regular', Consolas, Menlo, 'Liberation Mono', 'Ubuntu Mono', Courier, monospace;
$body-font: $system-sans;
$heading-font: $system-sans;
$monospace-font: $system-mono;
$monospace-font: cousine, $system-mono;
/*
* Base colors