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...")
 
 
(One intermediate revision by the same user not shown)
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 */ }
 +
 +
/* getting iFrames to take up the page correctly */
 +
iframe {
 +
width: 100% !important;
 +
height: * !important;
 +
min-width: 600px;
 +
min-height: 500px;
 +
}

Latest revision as of 21:45, 16 February 2019

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

/* getting iFrames to take up the page correctly */
iframe {
	width: 100% !important;
	height: * !important;
	min-width: 600px;
	min-height: 500px;
}