diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..745e5c7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +fonts/rajdhani-fontfacekit/ \ No newline at end of file diff --git a/bsplus-wiki.code-workspace b/bsplus-wiki.code-workspace index 68fe382..33646f4 100644 --- a/bsplus-wiki.code-workspace +++ b/bsplus-wiki.code-workspace @@ -4,7 +4,7 @@ "path": "." }, { - "path": "../BeatSaberPlus.wiki" + "path": "../../src/BeatSaberPlus.wiki" } ], "settings": {} diff --git a/docs/testing.md b/docs/testing.md index 6c326cb..dbe2937 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -6,7 +6,7 @@ The overlay is a static page. You can exercise the UI and wiring without OBS by Use a **`file://` URL** (same idea as OBS): absolute path to `index.html`, forward slashes. This clone: -`file:///C:/Users/example/src/BeatSaber-Overlay/index.html` +`file:///C:/Users/example/ops/BeatSaber-Overlay/index.html?scale=1.5` Paste that into the address bar, or drag `index.html` into a browser window. @@ -17,7 +17,7 @@ Settings are stored in the **URL fragment** (after `#`). Using a full `file://` Without the game, the overlay normally hides outside **Playing** (and during BeatSaver loading). Add a **query parameter** so it stays visible for layout or WebSocket checks: - Enable: `?debug=1` -- Example: `file:///C:/Users/example/src/BeatSaber-Overlay/index.html?debug=1` +- Example: `file:///C:/Users/example/ops/BeatSaber-Overlay/index.html?debug=1` Put `?debug` **before** the `#` hash if you use both: `index.html?debug=1#…` diff --git a/fonts/rajdhani-bold-webfont.woff b/fonts/rajdhani-bold-webfont.woff new file mode 100644 index 0000000..09a6b0d Binary files /dev/null and b/fonts/rajdhani-bold-webfont.woff differ diff --git a/fonts/rajdhani-semibold-webfont.woff b/fonts/rajdhani-semibold-webfont.woff new file mode 100644 index 0000000..3257ef5 Binary files /dev/null and b/fonts/rajdhani-semibold-webfont.woff differ diff --git a/index.css b/index.css index f8d83d2..0df1aff 100644 --- a/index.css +++ b/index.css @@ -1,15 +1,15 @@ @font-face { - font-family: "Montserrat"; + font-family: "Rajdhani"; font-display: swap; font-weight: 600; - src: url("fonts/montserrat-600.woff2") format("woff2"); + src: url("fonts/rajdhani-semibold-webfont.woff") format("woff"); } @font-face { - font-family: "Montserrat"; + font-family: "Rajdhani"; font-display: swap; font-weight: 700; - src: url("fonts/montserrat-700.woff2") format("woff2"); + src: url("fonts/rajdhani-bold-webfont.woff") format("woff"); } * { @@ -28,7 +28,7 @@ body { margin: 0; padding: 1.4rem 1.6rem; overflow: hidden; - font-family: "Montserrat", sans-serif; + font-family: "Rajdhani", sans-serif; font-size: 1.6rem; font-weight: 600; line-height: 1.2; diff --git a/plebsaber-stream.code-workspace b/plebsaber-stream.code-workspace new file mode 100644 index 0000000..bbde028 --- /dev/null +++ b/plebsaber-stream.code-workspace @@ -0,0 +1,11 @@ +{ + "folders": [ + { + "path": "." + }, + { + "path": "../plebsaber.stream" + } + ], + "settings": {} +} \ No newline at end of file