custom style: vendor web fonts and override left menu style
This commit is contained in:
parent
1558afdfea
commit
0b977eb226
3
.gitattributes
vendored
3
.gitattributes
vendored
|
@ -1,2 +1,5 @@
|
||||||
*.jpg filter=lfs diff=lfs merge=lfs -text
|
*.jpg filter=lfs diff=lfs merge=lfs -text
|
||||||
*.png filter=lfs diff=lfs merge=lfs -text
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.woff filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.eot filter=lfs diff=lfs merge=lfs -text
|
||||||
|
|
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');
|
||||||
|
}
|
|
@ -6,16 +6,17 @@ from datetime import datetime
|
||||||
AUTHOR = 'Trolli Schmittlauch'
|
AUTHOR = 'Trolli Schmittlauch'
|
||||||
SITENAME = 'Schmittlauchs Blog & Homepage'
|
SITENAME = 'Schmittlauchs Blog & Homepage'
|
||||||
SITETITLE = 'schmittlauch'
|
SITETITLE = 'schmittlauch'
|
||||||
SITETITLE = 'Tech, Politik & Leben'
|
SITESUBTITLE = 'Tech, Politik & Leben'
|
||||||
SITEURL = ''
|
SITEURL = ''
|
||||||
SITELOGO = '/images/avatar.png'
|
SITELOGO = '/images/avatar.png'
|
||||||
FAVICON = '/images/favicon.svg'
|
FAVICON = '/images/favicon.svg'
|
||||||
|
|
||||||
PATH = 'content'
|
PATH = 'content'
|
||||||
|
STATIC_PATHS = ['images', 'static']
|
||||||
ARTICLE_PATHS = ['blog']
|
ARTICLE_PATHS = ['blog']
|
||||||
INDEX_SAVE_AS = 'blog/index.html'
|
INDEX_SAVE_AS = 'blog/index.html'
|
||||||
|
|
||||||
#CUSTOM_CSS = "static/custom.css"
|
CUSTOM_CSS = "static/custom.css"
|
||||||
|
|
||||||
TIMEZONE = 'Europe/Berlin'
|
TIMEZONE = 'Europe/Berlin'
|
||||||
|
|
||||||
|
@ -109,8 +110,9 @@ CC_LICENSE = {
|
||||||
"name": "Creative Commons Attribution-ShareAlike",
|
"name": "Creative Commons Attribution-ShareAlike",
|
||||||
"version": "4.0",
|
"version": "4.0",
|
||||||
"slug": "by-sa",
|
"slug": "by-sa",
|
||||||
"icon": True,
|
"icon": False, # unfortunately the theme loads the image from a 3rd party
|
||||||
}
|
}
|
||||||
COPYRIGHT_YEAR = datetime.now().year
|
COPYRIGHT_YEAR = datetime.now().year
|
||||||
|
|
||||||
|
DISABLE_URL_HASH = True
|
||||||
USE_GOOGLE_FONTS = False
|
USE_GOOGLE_FONTS = False
|
||||||
|
|
Loading…
Reference in a new issue