mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-30 17:43:44 +00:00
hacker theme font is bedstead
This commit is contained in:
1 parent
1fb272f0d9
commit
a6b395c068
7 files changed
+48
-5
No files matched your search
@@ -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);
|
||||
|
||||
+9
-1
@@ -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);
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user