hacker theme font is bedstead

This commit is contained in:
bashrc committed 2020-05-25 12:33:37 +01:00
1 parent 1fb272f0d9
commit a6b395c068
7 files changed
+48 -5

No files matched your search

+6 -3
View File
@@ -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:
+8
View File
@@ -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);
+8
View File
@@ -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);
+8
View File
@@ -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);
+9 -1
View File
@@ -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 {
+8
View File
@@ -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);
+1 -1
View File
@@ -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",