Difference between revisions of "MediaWiki:Common:css"
Line 1: | Line 1: | ||
− | /* | + | /* Use highly specific selectors to override any conflicting rules */ |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
body.advanced-toc .container #content .mw-parser-output img[src*="Top_teal_bar03.png"] { | body.advanced-toc .container #content .mw-parser-output img[src*="Top_teal_bar03.png"] { | ||
width: 1082px !important; | width: 1082px !important; | ||
Line 14: | Line 7: | ||
box-sizing: content-box !important; | box-sizing: content-box !important; | ||
vertical-align: initial !important; | vertical-align: initial !important; | ||
− | display: block !important; /* Optional: | + | display: block !important; /* Optional: Ensure it takes full width without affecting inline elements */ |
} | } |
Revision as of 04:34, 29 May 2024
/* Use highly specific selectors to override any conflicting rules */ body.advanced-toc .container #content .mw-parser-output img[src*="Top_teal_bar03.png"] {
width: 1082px !important; height: 246px !important; max-width: none !important; max-height: none !important; box-sizing: content-box !important; vertical-align: initial !important; display: block !important; /* Optional: Ensure it takes full width without affecting inline elements */
}