fix: fix footer.astro style

This commit is contained in:
yozuru 2025-04-20 06:22:35 +08:00
parent bb1aebc1d1
commit ee85730ec2
No known key found for this signature in database
2 changed files with 9 additions and 5 deletions

View file

@ -5,18 +5,22 @@
"stylelint-config-html", "stylelint-config-html",
"stylelint-prettier/recommended" "stylelint-prettier/recommended"
], ],
"rules": { "rules": {
"import-notation": "string", "import-notation": "string",
"selector-class-pattern": null, "selector-class-pattern": null,
"no-descending-specificity": null "no-descending-specificity": null
}, },
"overrides": [ "overrides": [
{ {
"files": ["*.astro"], "files": ["*.astro", "**/*.astro"],
"rules": { "rules": {
"prettier/prettier": null "prettier/prettier": null,
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["global"]
}
]
} }
} }
] ]

View file

@ -30,7 +30,7 @@ const t = await getTranslator(currentLocale);
text-align: center; text-align: center;
} }
.footer p a { .footer p :global(a) {
font-weight: 500; font-weight: 500;
color: var(--color-foreground); color: var(--color-foreground);
text-decoration: none; text-decoration: none;