84 lines
1.7 KiB
SCSS
84 lines
1.7 KiB
SCSS
/*
|
|
* SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: "Lora";
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
src:
|
|
local("Lora"),
|
|
url("../fonts/Lora/Lora.woff") format("woff");
|
|
}
|
|
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: "Lora";
|
|
font-style: normal;
|
|
font-weight: bold;
|
|
src:
|
|
local("Lora"),
|
|
url("../fonts/Lora/Lora-Bold.woff") format("woff");
|
|
}
|
|
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: "Lora";
|
|
font-style: italic;
|
|
font-weight: normal;
|
|
src:
|
|
local("Lora"),
|
|
url("../fonts/Lora/Lora-Italic.woff") format("woff");
|
|
}
|
|
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: "Lora";
|
|
font-style: italic;
|
|
font-weight: bold;
|
|
src:
|
|
local("Lora"),
|
|
url("../fonts/Lora/Lora-BoldItalic.woff") format("woff");
|
|
}
|
|
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: "Wood Stamp";
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
src:
|
|
local("Wood Stamp"),
|
|
url("../fonts/Woodstamp/Woodstamp.woff") format("woff");
|
|
}
|
|
|
|
:root {
|
|
--ds4-font-primary: Lora, serif;
|
|
--ds4-font-heading: "Wood Stamp", sans-serif;
|
|
}
|
|
|
|
// Apply Wood Stamp font only to DS4 sheet-specific elements (excluding window titles)
|
|
.ds4-actor-sheet h2,
|
|
.ds4-actor-sheet h4,
|
|
.ds4-actor-sheet h5,
|
|
.ds4-actor-sheet h6,
|
|
.ds4-item-sheet h2,
|
|
.ds4-item-sheet h4,
|
|
.ds4-item-sheet h5,
|
|
.ds4-item-sheet h6,
|
|
.ds4-currency-title,
|
|
.ds4-embedded-document-list-title {
|
|
font-family: var(--ds4-font-heading) !important;
|
|
text-transform: uppercase;
|
|
font-weight: 100 !important;
|
|
}
|
|
|
|
// Keep window titles readable with standard font
|
|
.ds4-actor-sheet .window-title,
|
|
.ds4-item-sheet .window-title {
|
|
font-family: var(--font-sans) !important;
|
|
text-transform: none !important;
|
|
font-weight: normal !important;
|
|
}
|