Difference between revisions of "MediaWiki:Common.css"

From MegaGlest
Jump to navigation Jump to search
(Font size fixes for more code blocks)
(Some browsers still don't allow the use of tab-size without a browser prefix)
 
Line 38: Line 38:
 
{
 
{
 
tab-size: 4;
 
tab-size: 4;
 +
-moz-tab-size: 4;
 +
-o-tab-size: 4;
 
}
 
}

Latest revision as of 03:25, 22 July 2014

/* CSS placed here will be applied to all skins */

/* Infoboxes */
.infobox
{
	float: right;
	border: 1px solid black;
}

/* Teletype tag is used for inline code */
tt
{
	background-color: #ddd;
	padding-left: 0.5em;
	padding-right: 0.5em;
}

/* Make sure the logo is the right width */
#p-logo a
{
	width: 160px;
}

/* Gallery formatting */
.gallerybox .thumb div
{
	margin: 5px;
}

/* Fix the font-size */
.source-javascript, .source-css, .source-xml, .source-cpp
{
	font-size: 1.2em !important;
}

/* Tabs == 4 spaces */
body
{
	tab-size: 4;
	-moz-tab-size: 4;
	-o-tab-size: 4;
}