Change font to rajdhani
This commit is contained in:
parent
f8b6c06f89
commit
4b4c74f31b
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
fonts/rajdhani-fontfacekit/
|
||||
@ -4,7 +4,7 @@
|
||||
"path": "."
|
||||
},
|
||||
{
|
||||
"path": "../BeatSaberPlus.wiki"
|
||||
"path": "../../src/BeatSaberPlus.wiki"
|
||||
}
|
||||
],
|
||||
"settings": {}
|
||||
|
||||
@ -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#…`
|
||||
|
||||
|
||||
BIN
fonts/rajdhani-bold-webfont.woff
Normal file
BIN
fonts/rajdhani-bold-webfont.woff
Normal file
Binary file not shown.
BIN
fonts/rajdhani-semibold-webfont.woff
Normal file
BIN
fonts/rajdhani-semibold-webfont.woff
Normal file
Binary file not shown.
10
index.css
10
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;
|
||||
|
||||
11
plebsaber-stream.code-workspace
Normal file
11
plebsaber-stream.code-workspace
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
},
|
||||
{
|
||||
"path": "../plebsaber.stream"
|
||||
}
|
||||
],
|
||||
"settings": {}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user