MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(Change color of Modding namespace pages) |
(Some CSS for responsive images on wiki) |
||
Line 5: | Line 5: | ||
.ns-3000 div.thumb, .ns-3001 div.thumb { border-color: #e4fef1; } | .ns-3000 div.thumb, .ns-3001 div.thumb { border-color: #e4fef1; } | ||
.ns-3000 .mw-body { border: 1px solid #068846; } | .ns-3000 .mw-body { border: 1px solid #068846; } | ||
/* For big images that should scale down to page size. | |||
Example on https://wiki.skycorp.global/index.php/Modding:Parse_Tester | |||
(They must be wrapped in a div) */ | |||
.responsive-img img { | |||
max-width:100%; | |||
height:auto; | |||
} |
Revision as of 20:30, 9 October 2025
/* CSS placed here will be applied to all skins */
/* Modding namespace style */
.ns-3000 #content, .ns-3001 #content { background-color: #e4fef1; }
.ns-3000 div.thumb, .ns-3001 div.thumb { border-color: #e4fef1; }
.ns-3000 .mw-body { border: 1px solid #068846; }
/* For big images that should scale down to page size.
Example on https://wiki.skycorp.global/index.php/Modding:Parse_Tester
(They must be wrapped in a div) */
.responsive-img img {
max-width:100%;
height:auto;
}