aboutsummaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/app.js3
-rw-r--r--static/deck.css5
2 files changed, 1 insertions, 7 deletions
diff --git a/static/app.js b/static/app.js
index 1296805..0466372 100644
--- a/static/app.js
+++ b/static/app.js
@@ -295,9 +295,6 @@ document.addEventListener("pointerdown", touched, true);
// A fresh page is not dimmed, so a dim left by an earlier server goes too.
fetch("/api/tablet").then((r) => r.json()).then((t) => {
dimAfter = t.dim_after ?? 0;
- // [tablet] clock_font, served at /fonts/clock (deck.css).
- dimmer.classList.toggle("font-time", !!t.clock_font);
- dimmer.classList.toggle("font-date", !!t.clock_font && !!t.clock_font_date);
tablet("undim"); touched();
}).catch(() => {});
diff --git a/static/deck.css b/static/deck.css
index fd0b813..b6da4c6 100644
--- a/static/deck.css
+++ b/static/deck.css
@@ -611,10 +611,7 @@ select {
#dimmer[hidden] { display: none; }
.dim-time { font-size: 8rem; font-weight: 300; line-height: 1; color: var(--udt-text); font-variant-numeric: tabular-nums; }
.dim-date { font-size: 1.6rem; color: var(--udt-subtext0); }
-/* [tablet] clock_font; a missing font falls back to the page font. */
-@font-face { font-family: "deckit-clock"; src: url("/fonts/clock"); }
-#dimmer.font-time .dim-time { font-family: "deckit-clock", "Inconsolata Nerd Font Mono", ui-monospace, monospace; font-weight: normal; }
-#dimmer.font-date .dim-date { font-family: "deckit-clock", "Inconsolata Nerd Font Mono", ui-monospace, monospace; letter-spacing: .08em; }
+/* The clock's fonts come from keystone's fonts.json, as rules in theme.css. */
/* The PC asleep: over everything, and the wake lock is dropped (app.js). */
#asleep {