use custom orbitron

This commit is contained in:
ed 2026-05-22 21:51:17 +00:00
parent 7e827f6b92
commit e25573cc26
5 changed files with 10 additions and 6 deletions

View file

@ -80,6 +80,7 @@ web/deps/marked.js
web/deps/fuse.py
web/deps/mini-fa.css
web/deps/mini-fa.woff
web/deps/orbitron.woff2
web/deps/prism.css
web/deps/prism.js
web/deps/prismd.css

View file

@ -5224,9 +5224,9 @@ html.f {
--g-sel-bg: color-mix(in xyz, var(--g-sel-b1) 70%, var(--bg-u2));
--bg-u1: color-mix(in srgb, var(--fg) 10%, transparent);
--font-main: "Orbitron", sans-serif;
--font-mono: "Orbitron", monospace;
font-family: "Orbitron", sans-serif;
--font-main: 'orbitron', sans-serif;
--font-mono: 'orbitron', monospace;
font-family: 'orbitron', sans-serif;
font-optical-sizing: auto;
letter-spacing: .05em;

View file

@ -7,9 +7,6 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=0.8, minimum-scale=0.6">
<meta name="theme-color" content="#{{ tcolor }}">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap" rel="stylesheet">
<link rel="stylesheet" media="screen" href="{{ r }}/.cpr/w/ui.css?_={{ ts }}">
<link rel="stylesheet" media="screen" href="{{ r }}/.cpr/w/browser.css?_={{ ts }}">
{{ html_head }}

View file

@ -114,6 +114,11 @@ html.y {
font-display: swap;
src: local('Source Code Pro Regular'), local('SourceCodePro-Regular'), url(deps/scp.woff2) format('woff2');
}
@font-face {
font-family: 'orbitron';
font-display: swap;
src: url(deps/orbitron.woff2) format('woff2');
}
html {
text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;

View file

@ -84,6 +84,7 @@ copyparty/web/deps/fuse.py,
copyparty/web/deps/marked.js,
copyparty/web/deps/mini-fa.css,
copyparty/web/deps/mini-fa.woff,
copyparty/web/deps/orbitron.woff2,
copyparty/web/deps/prism.css,
copyparty/web/deps/prism.js,
copyparty/web/deps/prismd.css,