MediaWiki:Common.css: Difference between revisions
m trim the new pages (mingyee) |
Add rule for making an image span the full width of a page using class="cat-image-fullwidth" |
||
Line 261: | Line 261: | ||
.mainpage-contents span.mw-usertoollinks, | .mainpage-contents span.mw-usertoollinks, | ||
.mainpage-contents span.mw-tag-markers { display: none;} | .mainpage-contents span.mw-tag-markers { display: none;} | ||
/** -------------------------------- **/ | |||
/* Utility classes */ | |||
/* Make an image span the full width of the page (should only be used for very narrow horizontal images) */ | |||
.cat-image-fullwidth img { | |||
max-width: 100%; | |||
height: auto; | |||
} |