Change mono font for mobiles
This commit is contained in:
parent
926704b4a1
commit
19887637fb
|
@ -27,7 +27,7 @@ pre, code {
|
|||
}
|
||||
|
||||
pre {
|
||||
font-size: 0.92em;
|
||||
font-size: $code-size;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
overflow: hidden;
|
||||
overflow-x: auto;
|
||||
background: white;
|
||||
font-size: $code-size;
|
||||
line-height: $code-line-height;
|
||||
}
|
||||
|
||||
pre > code {
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue