MediaWiki:Common.css: Difference between revisions
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 158: | Line 158: | ||
color: #ffffff !important; /* White text as per mockup */ | color: #ffffff !important; /* White text as per mockup */ | ||
} | } | ||
} | } | ||
| Line 204: | Line 178: | ||
.infobox-image { | .infobox-image { | ||
text-align: center; | text-align: center; | ||
} | } | ||
| Line 215: | Line 183: | ||
.infobox-label, | .infobox-label, | ||
.infobox-value { | .infobox-value { | ||
color: #FFFFFF; /* Match the wiki's white text */ | color: #FFFFFF !important; /* Match the wiki's white text */ | ||
} | } | ||
/* | /* Minerva-specific adjustments for mobile */ | ||
@media (max-width: 767px) { | @media (max-width: 767px) { | ||
.infobox { | .skin-minerva .infobox, | ||
/* | .skin-minerva .infobox th, | ||
.skin-minerva .infobox td { | |||
background-color: #1a2a44 !important; /* Match the wiki's dark mode blue */ | |||
} | |||
.skin-minerva .infobox-label, | |||
.skin-minerva .infobox-value { | |||
background-color: #1a2a44 !important; /* Match the wiki's dark mode blue */ | |||
color: #FFFFFF !important; /* Ensure white text */ | |||
} | |||
/* Fix scrolling overlap on mobile */ | |||
.skin-minerva .infobox { | |||
float: none !important; /* Remove floating on mobile */ | |||
width: 100% !important; /* Full width on mobile */ | |||
margin: 0 0 1em 0 !important; /* Center the infobox */ | |||
} | } | ||
. | .skin-minerva .content-wrapper { | ||
float: none !important; /* Remove floating on mobile */ | |||
width: 100% !important; /* Full width on mobile */ | |||
margin-right: 0 !important; /* Remove right margin */ | |||
} | } | ||
} | } | ||
| Line 246: | Line 228: | ||
.content-wrapper .appearances + .mentions { | .content-wrapper .appearances + .mentions { | ||
margin-top: 0.5em; | margin-top: 0.5em; | ||
} | |||
.mw-collapsible-toggle { | |||
background-color: #f8f9fa; | |||
padding: 2px 8px; | |||
border: 1px solid #a2a9b1; | |||
border-radius: 3px; | |||
} | |||
.mw-collapsible-toggle:hover { | |||
background-color: #eaecf0; | |||
} | } | ||