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-prettier/recommended"
],
"rules": {
"import-notation": "string",
"selector-class-pattern": null,
"no-descending-specificity": null
},
"overrides": [
{
"files": ["*.astro"],
"files": ["*.astro", "**/*.astro"],
"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;
}
.footer p a {
.footer p :global(a) {
font-weight: 500;
color: var(--color-foreground);
text-decoration: none;