mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 17:10:10 +00:00
fix language link color on dark theme
This commit is contained in:
parent
50c6e6031d
commit
1704ae8cb1
@ -434,15 +434,15 @@ pre {
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
a:link {
|
||||
a:link:not(.lang-link) {
|
||||
color: var(--color-urge-200);
|
||||
}
|
||||
|
||||
a:visited {
|
||||
a:visited:not(.lang-link) {
|
||||
color: var(--color-urge-100);
|
||||
}
|
||||
|
||||
a:hover, a:active {
|
||||
a:hover:not(.lang-link), a:active:not(.lang-link) {
|
||||
color: var(--color-urge-200);
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,7 @@ export const loadLangSelector = (page: string) => _get("/lang/" + page, null, (r
|
||||
const list = document.getElementById("lang-list") as HTMLDivElement;
|
||||
let innerHTML = '';
|
||||
for (let code in req.response) {
|
||||
innerHTML += `<a href="?lang=${code}" class="button input ~neutral field mb-half">${req.response[code]}</a>`;
|
||||
innerHTML += `<a href="?lang=${code}" class="button input ~neutral field mb-half lang-link">${req.response[code]}</a>`;
|
||||
}
|
||||
list.innerHTML = innerHTML;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user