forked from indymedia/epicyon
hacker theme font is bedstead
parent
1fb272f0d9
commit
a6b395c068
|
@ -1741,11 +1741,14 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
# get fonts
|
||||
if self.path.startswith('/fonts/'):
|
||||
fontStr = self.path.split('/fonts/')[1]
|
||||
if fontsStr.endswith('.ttf') or \
|
||||
if fontsStr.endswith('.otf') or \
|
||||
fontsStr.endswith('.ttf') or \
|
||||
fontsStr.endswith('.woff') or \
|
||||
fontsStr.endswith('.woff2'):
|
||||
if fontsStr.endswith('.ttf'):
|
||||
fontType = 'application/x-font-ttf'
|
||||
if fontsStr.endswith('.otf'):
|
||||
fontType = 'application/x-font-opentype'
|
||||
elif fontsStr.endswith('.ttf'):
|
||||
fontType = 'application/x-font-truetype'
|
||||
elif fontsStr.endswith('.woff'):
|
||||
fontType = 'application/font-woff'
|
||||
else:
|
||||
|
|
|
@ -42,6 +42,14 @@
|
|||
--timeline-border-radius: 30px;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Bedstead';
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-display: swap;
|
||||
src: url('./fonts/bedstead.otf') format('opentype');
|
||||
}
|
||||
|
||||
body, html {
|
||||
background-color: var(--main-bg-color);
|
||||
color: var(--main-fg-color);
|
||||
|
|
|
@ -21,6 +21,14 @@
|
|||
--button-selected: #666;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Bedstead';
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-display: swap;
|
||||
src: url('./fonts/bedstead.otf') format('opentype');
|
||||
}
|
||||
|
||||
body, html {
|
||||
background-color: var(--main-bg-color);
|
||||
color: var(--main-fg-color);
|
||||
|
|
|
@ -19,6 +19,14 @@
|
|||
--form-border-radius: 30px;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Bedstead';
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-display: swap;
|
||||
src: url('./fonts/bedstead.otf') format('opentype');
|
||||
}
|
||||
|
||||
body, html {
|
||||
background-color: var(--main-bg-color);
|
||||
color: var(--main-fg-color);
|
||||
|
|
|
@ -42,6 +42,14 @@
|
|||
--timeline-border-radius: 30px;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Bedstead';
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-display: swap;
|
||||
src: url('./fonts/bedstead.otf') format('opentype');
|
||||
}
|
||||
|
||||
body, html {
|
||||
background-color: var(--main-bg-color);
|
||||
color: var(--main-fg-color);
|
||||
|
@ -272,7 +280,7 @@ a:link {
|
|||
|
||||
.gitpatch {
|
||||
width: 90%;
|
||||
font-family: monospace;
|
||||
font-family: 'monospace';
|
||||
}
|
||||
|
||||
.container p.administeredby {
|
||||
|
|
|
@ -20,6 +20,14 @@
|
|||
--button-selected: #666;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Bedstead';
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-display: swap;
|
||||
src: url('./fonts/bedstead.otf') format('opentype');
|
||||
}
|
||||
|
||||
body, html {
|
||||
background-color: var(--main-bg-color);
|
||||
color: var(--main-fg-color);
|
||||
|
|
2
theme.py
2
theme.py
|
@ -151,7 +151,7 @@ def setThemeHacker(baseDir: str):
|
|||
"button-text": "green",
|
||||
"button-corner-radius": "4px",
|
||||
"timeline-border-radius": "4px",
|
||||
"*font-family": "'monospace'",
|
||||
"*font-family": "'Bedstead'",
|
||||
"background-color: #554;": "background-color: #062200;",
|
||||
"color: #FFFFFE;": "color: green;",
|
||||
"calendar-bg-color": "black",
|
||||
|
|
Loading…
Reference in New Issue