Difference between revisions of "MediaWiki:Common.css"

From MegaGlest
Jump to navigation Jump to search
(Infoboxes float right)
 
(Some browsers still don't allow the use of tab-size without a browser prefix)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 +
 +
/* Infoboxes */
 
.infobox
 
.infobox
 
{
 
{
 
float: right;
 
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;
 
}
 
}

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;
}