MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 844: | Line 844: | ||
a:visited { | a:visited { | ||
color: var(--link-color) !important; | color: var(--link-color) !important; | ||
} | |||
/* === Fix white bar on categories (#catlinks) === */ | |||
#catlinks, | |||
#catlinks .mw-normal-catlinks, | |||
.skin-vector #catlinks, | |||
.skin-vector-2022 #catlinks, | |||
.skin-monobook #catlinks, | |||
.skin-timeless #catlinks { | |||
background: var(--bg-secondary) !important; | |||
color: var(--text-primary) !important; | |||
border: 1px solid var(--accent-cyan) !important; | |||
border-radius: 8px !important; | |||
padding: 6px 10px !important; | |||
box-shadow: none !important; | |||
} | |||
/* Inline list, no bullets, no extra gaps */ | |||
#catlinks ul { | |||
list-style: none !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
display: inline !important; | |||
} | |||
#catlinks li { | |||
display: inline !important; | |||
margin: 0 .6em 0 0 !important; | |||
} | |||
/* Links/colors */ | |||
#catlinks a, | |||
#catlinks a:visited { | |||
color: var(--link-color) !important; | |||
background: transparent !important; | |||
text-decoration: none; | |||
} | |||
#catlinks a:hover { text-decoration: underline; } | |||
/* Remove any inherited white backgrounds from descendants */ | |||
#catlinks * { | |||
background-color: transparent !important; | |||
} | } | ||