Fix sidebar layouts and font fallbacks for CJK

This commit is contained in:
Monstorix 2024-08-10 21:47:55 +08:00
parent 77f233437c
commit feca205994
3 changed files with 4 additions and 3 deletions

View File

@ -110,7 +110,7 @@
margin: 0;
padding-top: 50px;
justify-content: center;
font-family: "Inter";
font-family: "Inter", sans-serif;
box-sizing: border-box;
font-size: 16px;
background-color: var(--bg-main);

View File

@ -14,7 +14,7 @@
</a>
<a href="#services" on:click={() => page.set("services")} style={$page == "services" && "color: var(--active);"}>
<ServicesIcon class="margin margin_{document.body.dir}" />
{browser.i18n.getMessage("general") || "Services"}
{browser.i18n.getMessage("services") || "Services"}
</a>
<a href="https://libredirect.github.io" target="_blank" rel="noopener noreferrer">
<AboutIcon class="margin margin_{document.body.dir}" />
@ -37,6 +37,7 @@
color: var(--text);
transition: 0.1s;
margin: 10px;
min-width: max-content;
}
a:hover {

View File

@ -106,7 +106,7 @@
margin: 0;
padding: 10px;
padding-top: 20px;
font-family: "Inter";
font-family: "Inter", sans-serif;
font-size: 16px;
background-color: var(--bg-main);
color: var(--text);