Difference between revisions of "MediaWiki:Common.css"

(Created page with "remove a bunch of the tabs: #ca-nstab-main { display:none!important; } #ca-nstab-user { display:none!important; } #ca-talk { display:none!important; } #ca-watch { display...")
 
Line 5: Line 5:
 
#ca-watch { display:none!important; }
 
#ca-watch { display:none!important; }
 
#ca-unwatch { display:none!important; }
 
#ca-unwatch { display:none!important; }
 +
 +
/* allow images to take up the width of the page */
 +
/* use: <div>[[Image:MyImage.png]]</div> */
 +
img { max-width: 100%; height: auto; width: auto\9; /* ie8 */ }

Revision as of 20:52, 30 December 2018

/* remove a bunch of the tabs */
#ca-nstab-main { display:none!important; }
#ca-nstab-user { display:none!important; }
#ca-talk { display:none!important; }
#ca-watch { display:none!important; }
#ca-unwatch { display:none!important; }

/* allow images to take up the width of the page */
/* use: <div>[[Image:MyImage.png]]</div> */
img { max-width: 100%; height: auto; width: auto\9; /* ie8 */ }