Add italic font

merge-requests/30/head
Bob Mottram 2020-10-26 17:10:04 +00:00
parent 9c509bc94d
commit 1443185d8d
1 changed files with 4 additions and 1 deletions

View File

@ -948,6 +948,8 @@ def setThemeIndymediaModern(baseDir: str):
name = 'indymediamodern'
fontStr = \
"url('./fonts/NimbusSanL.otf') format('opentype')"
fontStrItalic = \
"url('./fonts/NimbusSanL-italic.otf') format('opentype')"
themeParams = {
"container-button-padding": "0px",
"container-button-margin": "0px",
@ -1023,7 +1025,8 @@ def setThemeIndymediaModern(baseDir: str):
"title-background": "#ccc",
"gallery-text-color": "black",
"*font-family": "'NimbusSanL'",
"*src": fontStr
"*src": fontStr,
"**src": fontStrItalic
}
bgParams = {
"login": "jpg",