diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 601d202..edd0e17 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -30,6 +30,13 @@ font-display: swap; } +@font-face { + font-family: "clockicons"; + src: url("/fonts/clockicons.woff2") format("woff2"), url("/fonts/clockicons.ttf") format("truetype"); + font-style: normal; + font-weight: 400; +} + @import "https://uchu.style/color.css"; @import "settings.css"; @@ -59,26 +66,6 @@ select { color-scheme: dark; } -.superadmin-tool { - border-radius: 5px; - border: 1px dashed rgb(251, 44, 54); - background-color: rgba(255, 255, 255, 0.02); -} -.admin-tool { - border-radius: 5px; - border: 1px dashed rgb(240, 177, 0); - background-color: rgba(255, 255, 255, 0.02); -} -.viewer-tool { - border-radius: 5px; - border: 1px dashed rgb(43, 127, 255); - background-color: rgba(255, 255, 255, 0.02); -} -.dev-tool { - border-radius: 5px; - border: 1px dashed var(--color-green); - background-color: rgba(255, 255, 255, 0.02); -} .loading { filter: grayscale(100%); @@ -119,6 +106,10 @@ select { font-family: "DS-Digital", monospace; } +.clockicons { + font-family: "clockicons", monospace; +} + .monospace { font-family: monospace; } diff --git a/app/javascript/application.js b/app/javascript/application.js index 9bad551..1e1392e 100644 --- a/app/javascript/application.js +++ b/app/javascript/application.js @@ -47,7 +47,8 @@ function weirdclockthing() { inner.className = 'clock-display-inner'; const front = document.createElement('div'); - front.className = 'clock-display-front'; + // kinda janky lol + front.className = 'clock-display-front ds-digital'; write(front, "HAC:KA:TIME"); const back = document.createElement('div'); diff --git a/app/views/static_pages/index.html.erb b/app/views/static_pages/index.html.erb index 5cfd2e3..11f03ee 100644 --- a/app/views/static_pages/index.html.erb +++ b/app/views/static_pages/index.html.erb @@ -17,7 +17,7 @@ <%= @flavor_text %>

-
+
<% if current_user %>

Keep Track of Your Coding Time

diff --git a/public/fonts/clockicons.ttf b/public/fonts/clockicons.ttf new file mode 100644 index 0000000..30066ec Binary files /dev/null and b/public/fonts/clockicons.ttf differ diff --git a/public/fonts/clockicons.woff2 b/public/fonts/clockicons.woff2 new file mode 100644 index 0000000..35ce45c Binary files /dev/null and b/public/fonts/clockicons.woff2 differ