custom style: vendor web fonts and override left menu style
This commit is contained in:
parent
1558afdfea
commit
0b977eb226
11 changed files with 87 additions and 3 deletions
3
content/static/LICENSE.md
Normal file
3
content/static/LICENSE.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# License of included Web Fonts
|
||||
|
||||
The included fonts *Source Sans Pro* and *Source Code Pro* by Paul D. Hunt are licensed under the [SIL Open Font License](https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL)
|
BIN
content/static/SourcCodePro700.ttf
(Stored with Git LFS)
Normal file
BIN
content/static/SourcCodePro700.ttf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
content/static/SourceCodePro400.ttf
(Stored with Git LFS)
Normal file
BIN
content/static/SourceCodePro400.ttf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
content/static/SourceCodeProI400.ttf
(Stored with Git LFS)
Normal file
BIN
content/static/SourceCodeProI400.ttf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
content/static/SourceSansPro300.ttf
(Stored with Git LFS)
Normal file
BIN
content/static/SourceSansPro300.ttf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
content/static/SourceSansPro400.ttf
(Stored with Git LFS)
Normal file
BIN
content/static/SourceSansPro400.ttf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
content/static/SourceSansPro700.ttf
(Stored with Git LFS)
Normal file
BIN
content/static/SourceSansPro700.ttf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
content/static/SourceSansProI400.ttf
(Stored with Git LFS)
Normal file
BIN
content/static/SourceSansProI400.ttf
(Stored with Git LFS)
Normal file
Binary file not shown.
55
content/static/custom.css
Normal file
55
content/static/custom.css
Normal 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');
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue