custom style: vendor web fonts and override left menu style

This commit is contained in:
Trolli Schmittlauch 2022-03-01 01:53:07 +01:00
parent 1558afdfea
commit 0b977eb226
11 changed files with 87 additions and 3 deletions

55
content/static/custom.css Normal file
View file

@ -0,0 +1,55 @@
aside nav ul li {
/* override left menu text style*/
text-transform: none !important;
}
/* replace Google Fonts */
@font-face {
font-family: 'Source Code Pro';
font-style: italic;
font-weight: 400;
font-display: swap;
src: url(./SourceCodeProI400.ttf) format('truetype');
}
@font-face {
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(./SourceCodePro400.ttf) format('truetype');
}
@font-face {
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url(./SourceCodePro700.ttf) format('truetype');
}
@font-face {
font-family: 'Source Sans Pro';
font-style: italic;
font-weight: 400;
font-display: swap;
src: url(./SourceSansProI400.ttf) format('truetype');
}
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url(./SourceSansPro300.ttf) format('truetype');
}
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(./SourceSansPro300.ttf) format('truetype');
}
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url(./SourceSansPro700.ttf) format('truetype');
}