font fixes

This commit is contained in:
2026-05-10 12:04:13 +02:00
parent 3001b264c6
commit 7111d25198
4 changed files with 26 additions and 1 deletions
Binary file not shown.
Binary file not shown.
+16
View File
@@ -1,3 +1,11 @@
@font-face {
font-family: "Cinzel";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("./plugins/nodebb-theme-westgate/fonts/cinzel/cinzel-latin-400-normal.woff2") format("woff2");
}
@font-face {
font-family: "Cinzel";
font-style: normal;
@@ -6,6 +14,14 @@
src: url("./plugins/nodebb-theme-westgate/fonts/cinzel/cinzel-latin-600-normal.woff2") format("woff2");
}
@font-face {
font-family: "Cinzel";
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("./plugins/nodebb-theme-westgate/fonts/cinzel/cinzel-latin-700-normal.woff2") format("woff2");
}
@font-face {
font-family: "Jost";
font-style: normal;
+10 -1
View File
@@ -10,6 +10,7 @@
--wiki-chrome-radius: 8px;
--wiki-chrome-heading-color: var(--wg-text);
--wiki-chrome-page-title-font-family: var(--wg-font-display);
--wiki-chrome-page-title-font-weight: 400;
--wiki-chrome-muted-color: var(--wg-text-muted);
--wiki-chrome-link-color: var(--wg-gold);
--wiki-chrome-link-hover-color: #e0c878;
@@ -35,7 +36,8 @@
--wiki-prose-color: var(--wg-text-soft);
--wiki-prose-heading-color: var(--wg-text);
--wiki-prose-large-heading-color: var(--wg-gold);
--wiki-prose-heading-font-weight: 600;
--wiki-prose-heading-font-weight: 400;
--wiki-prose-heading-bold-font-weight: 700;
--wiki-prose-heading-text-shadow:
0 1px 0 rgba(0, 0, 0, 0.9),
0 0 10px rgba(104, 32, 76, 0.16);
@@ -213,6 +215,7 @@
.westgate-wiki .wiki-page-heading__title {
font-size: clamp(2rem, 5vw, 2.65rem);
font-weight: var(--wiki-chrome-page-title-font-weight);
line-height: 1.05;
}
@@ -252,6 +255,12 @@
text-shadow: var(--wiki-prose-heading-text-shadow);
}
.westgate-wiki .wiki-article-prose :where(h1, h2, h3, h4, h5, h6) :where(strong, b),
.westgate-wiki-compose .wiki-article-prose .ck.ck-editor__editable_inline.ck-content :where(h1, h2, h3, h4, h5, h6) :where(strong, b),
.westgate-wiki-compose .ck.ck-editor__editable_inline.wiki-article-prose.ck-content :where(h1, h2, h3, h4, h5, h6) :where(strong, b) {
font-weight: var(--wiki-prose-heading-bold-font-weight) !important;
}
.westgate-wiki .wiki-article-prose :where(h1, h2),
.westgate-wiki-compose .wiki-article-prose .ck.ck-editor__editable_inline.ck-content :where(h1, h2),
.westgate-wiki-compose .ck.ck-editor__editable_inline.wiki-article-prose.ck-content :where(h1, h2) {