tlakh/custom.css

55 lines
1.7 KiB
CSS
Raw Normal View History

@font-face{
font-family: 'Source Serif VF';
font-weight: 200 900;
font-style: normal;
font-stretch: normal;
src: url('/fonts/WOFF2/VAR/SourceSerif4Variable-Roman.ttf.woff2') format('woff2'),
url('/fonts/WOFF/VAR/SourceSerif4Variable-Roman.ttf.woff') format('woff'),
url('/fonts/VAR/SourceSerif4Variable-Roman.ttf') format('truetype');
}
@font-face{
font-family: 'Source Serif VF';
font-weight: 200 900;
font-style: italic;
font-stretch: normal;
src: url('/fonts/WOFF2/VAR/SourceSerif4Variable-Italic.ttf.woff2') format('woff2'),
url('/fonts/WOFF/VAR/SourceSerif4Variable-Italic.ttf.woff') format('woff'),
url('/fonts/VAR/SourceSerif4Variable-Italic.ttf') format('truetype');
}
@font-face{
font-family: 'Source Code Variable';
font-weight: 200 900;
font-style: normal;
font-stretch: normal;
src: url('/fonts/WOFF2/VAR/SourceCodeVariable-Roman.ttf.woff2') format('woff2'),
url('/fonts/WOFF/VAR/SourceCodeVariable-Roman.ttf.woff') format('woff'),
url('/fonts/VAR/SourceCodeVariable-Roman.ttf') format('truetype');
}
@font-face{
font-family: 'Source Code Variable';
font-weight: 200 900;
font-style: italic;
font-stretch: normal;
src: url('/fonts/WOFF2/VAR/SourceCodeVariable-Italic.ttf.woff2') format('woff2'),
url('/fonts/WOFF/VAR/SourceCodeVariable-Italic.ttf.woff') format('woff'),
url('/fonts/VAR/SourceCodeVariable-Italic.ttf') format('truetype');
}
:root {
--serif-font: Source Serif VF;
--mono-font: Source Code Variable;
--code: #212121;
}
@media (prefers-color-scheme: dark) {
:root {
--code: #212121;
}
}
html {
font-family: var(--serif-font);
}