Use web fonts.
This commit is contained in:
parent
ca1135f0f7
commit
dbd7893655
@ -8,8 +8,80 @@ $midnightblue: #2c3e50;
|
|||||||
$typewriter: hsl(172, 100%, 36%);
|
$typewriter: hsl(172, 100%, 36%);
|
||||||
|
|
||||||
// Fonts
|
// Fonts
|
||||||
$fonts: "IBM Plex Sans Light", "Trebuchet MS", Verdana, "Verdana Ref", "Segoe UI", Candara, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
|
$fonts: "IBM Plex Sans Light", "Segoe UI", Candara, sans-serif;
|
||||||
$code-fonts: Consolas, "Andale Mono WT", "Andale Mono", Menlo, Monaco, "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, "YaHei Consolas Hybrid", monospace, "Segoe UI Emoji", "PingFang SC", "Microsoft YaHei";
|
$code-fonts: "IBM Plex Mono", Consolas, "Andale Mono WT", "Andale Mono", Menlo, Monaco, monospace;
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'IBM Plex Sans Light';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: local('IBM Plex Sans Light'),
|
||||||
|
local('IBMPlexSans-Light'),
|
||||||
|
url('/fonts/IBMPlexSans-Light.woff2') format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'IBM Plex Sans Light';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 400;
|
||||||
|
src: local('IBM Plex Sans Light Italic'),
|
||||||
|
local('IBMPlexSans-LightItalic'),
|
||||||
|
url('/fonts/IBMPlexSans-LightItalic.woff2') format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'IBM Plex Sans Light';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local('IBM Plex Sans Medm'),
|
||||||
|
local('IBMPlexSans-Medm'),
|
||||||
|
url('/fonts/IBMPlexSans-Medium.woff2') format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'IBM Plex Sans Light';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local('IBM Plex Sans Medm Italic'),
|
||||||
|
local('IBMPlexSans-MedmItalic'),
|
||||||
|
url('/fonts/IBMPlexSans-MediumItalic.woff2') format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'IBM Plex Mono Light';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: local('IBM Plex Mono Light'),
|
||||||
|
local('IBMPlexMono-Light'),
|
||||||
|
url('/fonts/IBMPlexMono-Light.woff2') format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'IBM Plex Mono Light';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 400;
|
||||||
|
src: local('IBM Plex Mono Light Italic'),
|
||||||
|
local('IBMPlexMono-LightItalic'),
|
||||||
|
url('/fonts/IBMPlexMono-LightItalic.woff2') format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'IBM Plex Mono Light';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local('IBM Plex Mono Medm'),
|
||||||
|
local('IBMPlexMono-Medm'),
|
||||||
|
url('/fonts/IBMPlexMono-Medium.woff2') format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'IBM Plex Mono Light';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 700;
|
||||||
|
src: local('IBM Plex Mono Medm Italic'),
|
||||||
|
local('IBMPlexMono-MedmItalic'),
|
||||||
|
url('/fonts/IBMPlexMono-MediumItalic.woff2') format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
//Admonition
|
//Admonition
|
||||||
$admonition-background: (
|
$admonition-background: (
|
||||||
@ -52,3 +124,5 @@ $admonition-color: (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
BIN
static/fonts/IBMPlexMono-Bold.woff2
Normal file
BIN
static/fonts/IBMPlexMono-Bold.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexMono-BoldItalic.woff2
Normal file
BIN
static/fonts/IBMPlexMono-BoldItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexMono-ExtraLight.woff2
Normal file
BIN
static/fonts/IBMPlexMono-ExtraLight.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexMono-ExtraLightItalic.woff2
Normal file
BIN
static/fonts/IBMPlexMono-ExtraLightItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexMono-Italic.woff2
Normal file
BIN
static/fonts/IBMPlexMono-Italic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexMono-Light.woff2
Normal file
BIN
static/fonts/IBMPlexMono-Light.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexMono-LightItalic.woff2
Normal file
BIN
static/fonts/IBMPlexMono-LightItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexMono-Medium.woff2
Normal file
BIN
static/fonts/IBMPlexMono-Medium.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexMono-MediumItalic.woff2
Normal file
BIN
static/fonts/IBMPlexMono-MediumItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexMono-Regular.woff2
Normal file
BIN
static/fonts/IBMPlexMono-Regular.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexMono-SemiBold.woff2
Normal file
BIN
static/fonts/IBMPlexMono-SemiBold.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexMono-SemiBoldItalic.woff2
Normal file
BIN
static/fonts/IBMPlexMono-SemiBoldItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexMono-Text.woff2
Normal file
BIN
static/fonts/IBMPlexMono-Text.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexMono-TextItalic.woff2
Normal file
BIN
static/fonts/IBMPlexMono-TextItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexMono-Thin.woff2
Normal file
BIN
static/fonts/IBMPlexMono-Thin.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexMono-ThinItalic.woff2
Normal file
BIN
static/fonts/IBMPlexMono-ThinItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexSans-Bold.woff2
Normal file
BIN
static/fonts/IBMPlexSans-Bold.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexSans-BoldItalic.woff2
Normal file
BIN
static/fonts/IBMPlexSans-BoldItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexSans-Italic.woff2
Normal file
BIN
static/fonts/IBMPlexSans-Italic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexSans-Light.woff2
Normal file
BIN
static/fonts/IBMPlexSans-Light.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexSans-LightItalic.woff2
Normal file
BIN
static/fonts/IBMPlexSans-LightItalic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/IBMPlexSans-Regular.woff2
Normal file
BIN
static/fonts/IBMPlexSans-Regular.woff2
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user