fix(footer): stop day/night brand logos both showing
Size rules were forcing display:inline-block on both footer logos with higher specificity than the night-hide rule. Decouple display toggle, raise selector weight, align dark hooks with header/theme.js, and drop unused part-1 light/dark logo-img rules.
This commit is contained in:
@@ -177,7 +177,7 @@
|
||||
|
||||
/* §2.3 三列结构化字段 */
|
||||
|
||||
/* 品牌 Logo */
|
||||
/* 品牌 Logo — day/night visibility lives in zibll-shell.css */
|
||||
.site-footer__logo {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
@@ -185,15 +185,6 @@
|
||||
max-height: 48px;
|
||||
width: auto;
|
||||
}
|
||||
.site-footer__logo-img--dark {
|
||||
display: none;
|
||||
}
|
||||
[data-theme="dark"] .site-footer__logo-img--light {
|
||||
display: none;
|
||||
}
|
||||
[data-theme="dark"] .site-footer__logo-img--dark {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* 标准联系项 */
|
||||
.site-footer__contact-std {
|
||||
|
||||
Reference in New Issue
Block a user