Difference between revisions of "MediaWiki:Common.css"

From MegaGlest
Jump to navigation Jump to search
(Font size fix for source code and tab widths)
Line 26: Line 26:
 
{
 
{
 
margin: 5px;
 
margin: 5px;
 +
}
 +
 +
/* Fix the font-size */
 +
.source-javascript, .source-css
 +
{
 +
font-size: 1em !important;
 +
}
 +
 +
/* Tabs == 4 spaces */
 +
body
 +
{
 +
tab-size: 4;
 
}
 
}

Revision as of 01:37, 8 March 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
{
	font-size: 1em !important;
}

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