drop acgyosyo font from the SWC template
This commit is contained in:
parent
aa51c91851
commit
5dc844a4dd
|
@ -14,16 +14,6 @@ Fri Feb 24 07:22:23 PM UTC 2023
|
|||
</div>
|
||||
|
||||
<script>
|
||||
function applyQuizFont() {
|
||||
const tags = `{{Tags}}`;
|
||||
const questionword = document.getElementById("question");
|
||||
// Add this tag if you notice that letters don't render properly
|
||||
if (tags.includes("DisableGyousyo")) {
|
||||
// nuke ID to remove specified font styling.
|
||||
questionword.removeAttribute("id");
|
||||
}
|
||||
}
|
||||
|
||||
function highlightNames() {
|
||||
const tags_elems = document.getElementsByClassName("tags");
|
||||
for (const tag_elem of tags_elems) {
|
||||
|
@ -78,6 +68,5 @@ Fri Feb 24 07:22:23 PM UTC 2023
|
|||
|
||||
splitTagDiv();
|
||||
highlightNames();
|
||||
applyQuizFont();
|
||||
reformatMultiFurigana();
|
||||
</script>
|
||||
|
|
|
@ -35,14 +35,6 @@
|
|||
font-weight: 600;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "acgyosyo";
|
||||
src:
|
||||
local("acgyosyo"),
|
||||
local("英椎行書"),
|
||||
url("_acgyosyo.woff2") format("woff2");
|
||||
}
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
|
@ -134,7 +126,6 @@ header .tags {
|
|||
|
||||
#question {
|
||||
font-family:
|
||||
"acgyosyo",
|
||||
"Noto Serif",
|
||||
"Noto Serif CJK JP",
|
||||
"IPAexMincho",
|
||||
|
|
Loading…
Reference in a new issue