Update index.html
Browse files- index.html +3 -3
index.html
CHANGED
@@ -192,8 +192,8 @@
|
|
192 |
</style>
|
193 |
<link id="googleFont" href="https://fonts.googleapis.com/css?display=swap&family=Noto+Sans+JP" rel="stylesheet">
|
194 |
<style id="fontFamily">
|
195 |
-
body {
|
196 |
-
font-family: "Noto Sans JP";
|
197 |
}
|
198 |
</style>
|
199 |
<style id="text-shadowPreview">
|
@@ -857,7 +857,7 @@
|
|
857 |
let f = document.getElementById("fontFamily");
|
858 |
let i = this;
|
859 |
document.getElementById("googleFont").setAttribute("href", "https://fonts.googleapis.com/css?display=swap&family=" + i.value.trim());
|
860 |
-
f.textContent = 'body { font-family: "' + i.value.trim() + '"; }';
|
861 |
});
|
862 |
|
863 |
document.getElementById("fontColor").addEventListener("change", function () {
|
|
|
192 |
</style>
|
193 |
<link id="googleFont" href="https://fonts.googleapis.com/css?display=swap&family=Noto+Sans+JP" rel="stylesheet">
|
194 |
<style id="fontFamily">
|
195 |
+
body, body * {
|
196 |
+
font-family: "Noto Sans JP" !important;
|
197 |
}
|
198 |
</style>
|
199 |
<style id="text-shadowPreview">
|
|
|
857 |
let f = document.getElementById("fontFamily");
|
858 |
let i = this;
|
859 |
document.getElementById("googleFont").setAttribute("href", "https://fonts.googleapis.com/css?display=swap&family=" + i.value.trim());
|
860 |
+
f.textContent = 'body, body * { font-family: "' + i.value.trim() + '" !important; }';
|
861 |
});
|
862 |
|
863 |
document.getElementById("fontColor").addEventListener("change", function () {
|