mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
fix(a11y): add underline links on article card
This commit is contained in:
@@ -37,7 +37,10 @@ window.A11yPanel = (() => {
|
|||||||
if (enabled && !existing) {
|
if (enabled && !existing) {
|
||||||
const style = document.createElement("style");
|
const style = document.createElement("style");
|
||||||
style.id = "a11y-underline-links";
|
style.id = "a11y-underline-links";
|
||||||
style.textContent = "a { text-decoration: underline !important; }";
|
style.textContent = `
|
||||||
|
a { text-decoration: underline !important; }
|
||||||
|
.group-hover-card-title { text-decoration: underline !important; }
|
||||||
|
.group-hover-card:hover .group-hover-card-title { text-decoration: underline !important; }`;
|
||||||
document.head.appendChild(style);
|
document.head.appendChild(style);
|
||||||
} else if (!enabled && existing) {
|
} else if (!enabled && existing) {
|
||||||
existing.remove();
|
existing.remove();
|
||||||
|
|||||||
Reference in New Issue
Block a user