Difference between revisions of "MediaWiki:Common.css"
From WikiPETia.info
(Align float for galleries) |
(Gently resize big images) |
||
Line 29: | Line 29: | ||
ul.float-left { text-align: left; } | ul.float-left { text-align: left; } | ||
ul.float-right { text-align: right; } | ul.float-right { text-align: right; } | ||
+ | |||
+ | div.center div.floatnone a.image img { max-width: 100%; max-height: auto; } |
Revision as of 15:28, 24 March 2016
/* CSS placed here will be applied to all skins */ body, body.ns-0, #article { background-color: #fafafa; } #sitetitle, #toplinks { text-transform: none; background-color: #0470b1; } /* was #6688aa; */ .mediawiki #content { min-height: 620px; background-color: #e1ebf1; } a, #quickbar a, #footer a, #linkcollection a { text-decoration: none; } a:hover, #quickbar a:hover, #footer a:hover, #linkcollection a:hover { text-decoration: underline; } .tagline, div.mw-createacct-benefits-list div.icon-contributors { display: none; } #article { padding: 0 10px 10px; margin-left: 120px; } #quickbar { width: 115px; top: 48px; } #article table.small, #article table.small td, #article table.small th, #article table.small p { font-size: 75%; } /* #footer { font-size: 8pt; } #quickbar { line-height: 9pt; } */ body, #sitetitle, #toplinks, #quickbar, #footer, #article, #article td, #article th, #article p { font-family: Arial,Helvetica,sans-serif; } h1#firstHeading { font-size: 1.9em; margin-bottom: 30px; margin-top: 7px; padding-top: 7px; color: #666666; } h1 { font-size: 1.7em; color: black; } h2 { font-size: 1.5em; } h3 { font-size: 1.3em; } h4 { font-size: 1.1em; } h2, h3, h4, h5, h6 { margin-bottom: 1em; } .toc { margin: 30px 0 20px; } ul.float-left { text-align: left; } ul.float-right { text-align: right; } div.center div.floatnone a.image img { max-width: 100%; max-height: auto; }