A lot more style/content changes

This commit is contained in:
Ske 2020-06-12 15:18:51 +02:00
parent ead1ae4e7c
commit 3d7a6ec72f
18 changed files with 223 additions and 153 deletions

View file

@ -0,0 +1,34 @@
/* inconsolata-regular - latin */
@font-face {
font-family: 'Inconsolata';
font-style: normal;
font-weight: 400;
src: local(''),
url('/fonts/inconsolata-v19-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/fonts/inconsolata-v19-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* inconsolata-500 - latin */
@font-face {
font-family: 'Inconsolata';
font-style: normal;
font-weight: 500;
src: local(''),
url('/fonts/inconsolata-v19-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/fonts/inconsolata-v19-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* inconsolata-600 - latin */
@font-face {
font-family: 'Inconsolata';
font-style: normal;
font-weight: 600;
src: local(''),
url('/fonts/inconsolata-v19-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('/fonts/inconsolata-v19-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
.line-number, code, pre, kbd, .cmd, .cmd-arg {
font-family: $monoFont;
font-weight: $monoWeight;
}

View file

@ -1,18 +1,18 @@
// THEME
$textColor = #2c3e50;
$accentColor = darken(#e8a024, 10%);
$accentColor = darken(#e8a024, 10%)
// CUSTOM
$exampleBgColor = #f3f5f7;
$exampleBgColorInTip = darken($exampleBgColor, 4%);
$exampleTextColor = darken($textColor, 5%);
$exampleArgColor = darken($exampleBgColor, 1%);
$exampleArgColorInExample = darken($exampleBgColor, 4%);
$exampleArgColorInTip = darken($exampleBgColor, 3%);
$exampleArgColorInBoth = darken($exampleBgColor, 8%);
$tipDarkenFactor = 3;
$exampleDarkenFactor = 5;
$exampleCommentColor = darken($accentColor, 15%);
$examplePrefixColor = desaturate(lighten($exampleCommentColor, 20%), 10%);
$exampleFontSize = 0.9rem;
$exampleFontFamily = source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
// COMMANDS
$cmdColor = #f8fafc;
$cmdBgBlock = #282c34;
$cmdBgInline = darken(#f3f5f7, 4%);
$cmdBgInlineTip = darken(#f3f5f7, 5%);
$argBgPlain = darken(#f3f5f7, 4%);
$argBgInline = darken(#f3f5f7, 5%);
$argBgBlock = lighten($cmdBgBlock, 15%);
// FONTS
$monoFont = Inconsolata, source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
$monoWeight = 500;