MediaWiki:Common.css: Difference between revisions
No edit summary Tag: Manual revert |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| 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, | |||
.skin-minerva .infobox tr th, | |||
.skin-minerva .infobox tr td { | |||
background-color: #1a2a44 !important; /* Match the wiki's dark mode blue */ | |||
color: #FFFFFF !important; /* Ensure white text */ | |||
} | |||
.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 */ | |||
} | } | ||
.infobox | /* 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 241: | Line 226: | ||
.content-wrapper h2 { | .content-wrapper h2 { | ||
margin-bottom: 0.5em; | margin-bottom: 0.5em !important; | ||
} | |||
/* Adjust spacing in Appearances and Mentions sections */ | |||
.appearances h3, | |||
.mentions h3 { | |||
margin-bottom: 0.3em !important; /* Slightly more space below subsection headers */ | |||
} | |||
.appearances ul, | |||
.mentions ul { | |||
margin-top: 0.3em !important; /* Slightly more space above the chapter list */ | |||
margin-bottom: 0.5em !important; /* Slightly more space below the chapter list */ | |||
} | |||
.appearances li, | |||
.mentions li { | |||
margin-bottom: 0.2em !important; /* Slightly more space between list items */ | |||
} | } | ||
/* Tighten space between Appearances and Mentions */ | |||
.content-wrapper .appearances + .mentions { | .content-wrapper .appearances + .mentions { | ||
margin-top: 0. | margin-top: 0.1em !important; /* Further reduce space between sections */ | ||
} | |||
.content-wrapper .appearances { | |||
margin-bottom: 0.1em !important; /* Further reduce space at the end of Appearances */ | |||
} | |||
.mw-collapsible-toggle { | |||
background-color: #f8f9fa; | |||
padding: 2px 8px; | |||
border: 1px solid #a2a9b1; | |||
border-radius: 3px; | |||
} | |||
.mw-collapsible-toggle:hover { | |||
background-color: #eaecf0; | |||
} | } | ||