diff --git a/website/assets/fonts/Satoshi-Variable.woff2 b/website/assets/fonts/Satoshi-Variable.woff2 deleted file mode 100644 index b00e833ed..000000000 Binary files a/website/assets/fonts/Satoshi-Variable.woff2 and /dev/null differ diff --git a/website/index.html b/website/index.html index 0aa523ad9..67eacc8b3 100644 --- a/website/index.html +++ b/website/index.html @@ -2,6 +2,7 @@ + bitview + + + @@ -96,7 +106,7 @@ } } catch (_) {} - + { console.log("close:", price); - window.document.title = `${price.toLocaleString("en-us")} | ${window.location.host}`; + window.document.title = `${price.toLocaleString("en-us")} | bitview`; }); const options = initOptions(); @@ -199,7 +199,9 @@ function initResizeBar() { const bar = getElementById("resize-bar"); const key = "bar-width"; const root = document.documentElement; - const max = () => parseFloat(style.getPropertyValue("--max-main-width")) / 100 * window.innerWidth; + const max = () => + (parseFloat(style.getPropertyValue("--max-main-width")) / 100) * + window.innerWidth; const saved = readStored(key); if (saved) root.style.setProperty("--sidebar-width", `${saved}px`); diff --git a/website/styles/fonts.css b/website/styles/fonts.css index a36053391..63a1cd5d5 100644 --- a/website/styles/fonts.css +++ b/website/styles/fonts.css @@ -1,3 +1,4 @@ +/* Preloaded in index.html — keep URL in sync. */ @font-face { font-family: Lilex; src: url("/assets/fonts/Lilex[wght]-v2_620.woff2") format("woff2"); @@ -28,13 +29,6 @@ font-display: block; } -@font-face { - font-family: Satoshi; - src: url("/assets/fonts/Satoshi-Variable.woff2") format("woff2"); - font-weight: 100 900; - font-display: block; -} - html { font-family: var(--font-mono); }