MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→CSS placed here will be applied to all skins: .infobox { border-collapse: collapse; background: #f9f9f9; border: 1px solid #aaa; width: 22em; font-size: 90%; } .infobox th { background: #d0e0f0; padding: 4px; } .infobox td { padding: 4px; }" |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
width: 22em; | width: 22em; | ||
font-size: 90%; | font-size: 90%; | ||
text-align: left; /* Default text alignment for table content */ | |||
} | } | ||
.infobox th { | .infobox th { | ||
background: #d0e0f0; | background: #d0e0f0; | ||
padding: 4px; | padding: 4px; | ||
} | } | ||
.infobox td { | .infobox td { | ||
padding: 4px; | padding: 4px; | ||
} | |||
.infobox .image-cell { | |||
text-align: center; /* Explicitly center the image cell */ | |||
} | |||
/* Hide 'View source' tab for non-logged-in users */ | |||
body.action-viewsource .mw-editsection, | |||
body.action-viewsource #ca-viewsource { | |||
display: none !important; | |||
} | } |
Latest revision as of 18:10, 4 June 2025
/* CSS placed here will be applied to all skins */ .infobox { border-collapse: collapse; background: #f9f9f9; border: 1px solid #aaa; width: 22em; font-size: 90%; text-align: left; /* Default text alignment for table content */ } .infobox th { background: #d0e0f0; padding: 4px; } .infobox td { padding: 4px; } .infobox .image-cell { text-align: center; /* Explicitly center the image cell */ } /* Hide 'View source' tab for non-logged-in users */ body.action-viewsource .mw-editsection, body.action-viewsource #ca-viewsource { display: none !important; }