MediaWiki:Common.css: Difference between revisions
From The Stargate Omnipedia
(Moved main image CSS for mobile (WPtouch) to that skin's main.css) |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
li .redirect-in-category a.mw-redirect { font-style:normal; } | li .redirect-in-category a.mw-redirect { font-style:normal; } | ||
iframe { height: 100%; } | |||
.mw-category { columns: 2 auto; column-count:2; -moz-column-count:2; -webkit-column-count:2; } | .mw-category { columns: 2 auto; column-count:2; -moz-column-count:2; -webkit-column-count:2; } | ||
#mw-wrapper #mw-body-container #mw-content-text .category-banner img { max-width:100%; | #mw-wrapper #mw-body-container #mw-content-text .category-banner img { max-width:100%; margin:20px auto; float:none; display: block; } /* Category banners */ | ||
#mw-wrapper #mw-body-container #mw-content-text .thumbinner img { max-width:100%; } /* Entry secondary 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 */ | #mw-wrapper #mw-body-container #mw-content-text img.thumbborder { float:none; margin:0 2px 0 0; padding:0; } /* Little character index pics */ |
Latest revision as of 17:12, 9 March 2021
/* CSS placed here will be applied to all skins */ .center { text-align:center; margin:0 auto; } li .redirect-in-category a.mw-redirect { font-style:normal; } iframe { height: 100%; } .mw-category { columns: 2 auto; column-count:2; -moz-column-count:2; -webkit-column-count:2; } #mw-wrapper #mw-body-container #mw-content-text .category-banner img { max-width:100%; margin:20px auto; float:none; display: block; } /* Category banners */ #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 */