Fix sidebar layouts and font fallbacks for CJK
This commit is contained in:
parent
77f233437c
commit
feca205994
|
@ -110,7 +110,7 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding-top: 50px;
|
padding-top: 50px;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-family: "Inter";
|
font-family: "Inter", sans-serif;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
background-color: var(--bg-main);
|
background-color: var(--bg-main);
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
</a>
|
</a>
|
||||||
<a href="#services" on:click={() => page.set("services")} style={$page == "services" && "color: var(--active);"}>
|
<a href="#services" on:click={() => page.set("services")} style={$page == "services" && "color: var(--active);"}>
|
||||||
<ServicesIcon class="margin margin_{document.body.dir}" />
|
<ServicesIcon class="margin margin_{document.body.dir}" />
|
||||||
{browser.i18n.getMessage("general") || "Services"}
|
{browser.i18n.getMessage("services") || "Services"}
|
||||||
</a>
|
</a>
|
||||||
<a href="https://libredirect.github.io" target="_blank" rel="noopener noreferrer">
|
<a href="https://libredirect.github.io" target="_blank" rel="noopener noreferrer">
|
||||||
<AboutIcon class="margin margin_{document.body.dir}" />
|
<AboutIcon class="margin margin_{document.body.dir}" />
|
||||||
|
@ -37,6 +37,7 @@
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
transition: 0.1s;
|
transition: 0.1s;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
|
min-width: max-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
|
|
|
@ -106,7 +106,7 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
font-family: "Inter";
|
font-family: "Inter", sans-serif;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
background-color: var(--bg-main);
|
background-color: var(--bg-main);
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
|
|
Loading…
Reference in New Issue