Difference between revisions of "MediaWiki:Common.css"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Add general styles)
m (add bigger tt)
 
Line 6: Line 6:
 
background-color: #EFE;
 
background-color: #EFE;
 
color: #555;
 
color: #555;
 +
font-size: 1.1em;
 
font-weight: bold; /* unsure about that */
 
font-weight: bold; /* unsure about that */
 
}
 
}

Latest revision as of 22:32, 5 January 2021

/* CSS placed here will be applied to all skins */
/*
	General Style
*/
	tt {
		background-color: #EFE;
		color: #555;
		font-size: 1.1em;
		font-weight: bold; /* unsure about that */
	}
	code {
		display: inline-block;
		font-size: 1.1em;
	}

	.function code {
		line-height: 1.5em;
		white-space: pre;
	}

/*
	Template:Function
*/
/*
	.function .topinformation {
	}
*/
	.function .topinformation > tbody > tr > td:nth-child(1) {
		vertical-align: top;
		white-space: nowrap;
		width: 0;
	}
	.function .topinformation > tbody > tr > td:nth-child(2) {
		font-size: 0.9em;
		text-align: center;
		width: 75%;
	}
		.function .topinformation > tbody > tr > td:nth-child(2):first-line {
			font-family: Bahnschrift, Times New Roman, serif;
			font-size: 1.25em;
			letter-spacing: 1px;
		}
	.function .topinformation > tbody > tr > td:nth-child(3) {
		width: 25%;
	}
	.function .argeff {
		margin: auto;
	}
	.function .argeff td:nth-child(1),
	.function .argeff td:nth-child(3) {
		text-align: right;
	}
.function h2 {
	border-left: .5em solid #380;
	border-bottom: none;
	font-family: Bahnschrift, Times New Roman, serif;
	font-size: 1.2em;
	font-weight: bold;
	letter-spacing: .125em;
	margin: 1.5em 0 0.75em;
	padding-top: 0.1em;
	padding-left: .5em;
}
.function dl {
	line-height: 2em;
	font-size: .95em;
}
.function dt {
	float: left;
}
	.function dt:before {
		color: #380;
		content: ">";
		margin-right: 0.5em;
	}
.function dd {
	padding-left: 10em;
}
.function > p:nth-child(3) {
	margin-left: 1.5em;
}

/*
	BIKI links
*/
.bikilinks a.external,
.bikilinks a.external.visited:link {
	background-image: url('https://www.bohemia.net/favicon.ico');
	background-size: 1em;
	color: blueviolet !important;
	padding-right: 1em;
}

/*
	Edit Textbox
*/
#wpTextbox1 {
	tab-size: 4;
	-moz-tab-size: 4;
}