MediaWiki:Common.css: Difference between revisions
From The Stargate Omnipedia
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
.center { text-align:center; margin:0 auto; } | .center { text-align:center; margin:0 auto; } | ||
#mw-wrapper #mw-body-container #mw-content-text .category-banner img { max-width:100%; text-align-center; margin: | #mw-wrapper #mw-body-container #mw-content-text .category-banner img { max-width:100%; text-align-center; margin:0 0 25px 0; } /* Category banners */ | ||
#mw-wrapper #mw-body-container #mw-content-text img { max-width:50%; float:right; margin:7px 0 10px 20px; } /* Desktop images */ | #mw-wrapper #mw-body-container #mw-content-text img { max-width:50%; float:right; margin:7px 0 10px 20px; } /* Desktop images */ | ||
.content .post .mainentry #mw-content-text img { max-width:100%; margin:0 0 12px 0; } /* Mobile images */ | .content .post .mainentry #mw-content-text img { max-width:100%; margin:0 0 12px 0; } /* Mobile images */ |
Revision as of 00:40, 15 July 2017
/* CSS placed here will be applied to all skins */ .center { text-align:center; margin:0 auto; } #mw-wrapper #mw-body-container #mw-content-text .category-banner img { max-width:100%; text-align-center; margin:0 0 25px 0; } /* Category banners */ #mw-wrapper #mw-body-container #mw-content-text img { max-width:50%; float:right; margin:7px 0 10px 20px; } /* Desktop images */ .content .post .mainentry #mw-content-text img { max-width:100%; margin:0 0 12px 0; } /* Mobile images */ #mw-wrapper #mw-body-container #mw-content-text .thumbinner img { max-width:100%; } /* Entry secondary images */ #mw-wrapper #mw-body-container #mw-content-text img.thumbborder { float:none; margin:0 2px 0 0; padding:0; } /* Little character index pics */