Change font to rajdhani

This commit is contained in:
pleb 2026-04-11 14:47:59 -07:00
parent f8b6c06f89
commit 4b4c74f31b
7 changed files with 20 additions and 8 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
fonts/rajdhani-fontfacekit/

View File

@ -4,7 +4,7 @@
"path": "."
},
{
"path": "../BeatSaberPlus.wiki"
"path": "../../src/BeatSaberPlus.wiki"
}
],
"settings": {}

View File

@ -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#…`

Binary file not shown.

Binary file not shown.

View File

@ -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;

View File

@ -0,0 +1,11 @@
{
"folders": [
{
"path": "."
},
{
"path": "../plebsaber.stream"
}
],
"settings": {}
}