MediaWiki:Common.css: Difference between revisions

From The Stargate Omnipedia
(Removed main image (300px) for desktop (moved to skin custom.css))
(Moved main image CSS for mobile (WPtouch) to that skin's main.css)
Line 8: Line 8:


#mw-wrapper #mw-body-container #mw-content-text .category-banner img { max-width:100%; text-align-center; margin:0 0 18px 0; } /* Category banners */
#mw-wrapper #mw-body-container #mw-content-text .category-banner img { max-width:100%; text-align-center; margin:0 0 18px 0; } /* Category banners */
.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 .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 */

Revision as of 21:27, 26 July 2020

/* 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; }

.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%; text-align-center; margin:0 0 18px 0; } /* 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 */