Difference between revisions of "MediaWiki:Common.css"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Style creation)
 
m (Add .function author different style)
Line 3: Line 3:
 
Template:Function
 
Template:Function
 
*/
 
*/
  /*
+
/*
  .function .topinformation {
+
.function .topinformation {
  }
+
}
  */
+
*/
 
.function .topinformation > tbody > tr > td:nth-child(1) {
 
.function .topinformation > tbody > tr > td:nth-child(1) {
    vertical-align: top;
+
vertical-align: top;
    white-space: nowrap;
+
white-space: nowrap;
    width: 0;
+
width: 0;
 
}
 
}
 
.function .topinformation > tbody > tr > td:nth-child(2) {
 
.function .topinformation > tbody > tr > td:nth-child(2) {
    font-family: Bahnschrift, Times New Roman, serif;
+
font-size: 0.9em;
    text-align: center;
+
text-align: center;
 
width: 75%;
 
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: .05em;
 +
}
 
.function .topinformation > tbody > tr > td:nth-child(3) {
 
.function .topinformation > tbody > tr > td:nth-child(3) {
 
width: 25%;
 
width: 25%;
Line 28: Line 33:
 
}
 
}
 
.function h2 {
 
.function h2 {
  border-left: .5em solid #380;
+
border-left: .5em solid #380;
  border-bottom: none;
+
border-bottom: none;
  font-family: Bahnschrift, Times New Roman, serif;
+
font-family: Bahnschrift, Times New Roman, serif;
  font-size: 1.2em;
+
font-size: 1.2em;
  font-weight: bold;
+
font-weight: bold;
  margin: 1.5em 0 0.75em;
+
letter-spacing: .125em;
  padding-top: 0.1em;
+
margin: 1.5em 0 0.75em;
 +
padding-top: 0.1em;
 
padding-left: .5em;
 
padding-left: .5em;
 
}
 
}
 
.function dl {
 
.function dl {
  line-height: 2em;
+
line-height: 2em;
  font-size: .95em;
+
font-size: .95em;
 
}
 
}
 
.function dt {
 
.function dt {
 
float: left;
 
float: left;
 
}
 
}
  .function dt:before {
+
.function dt:before {
    color: #380;
+
color: #380;
  content: ">";
+
content: ">";
    margin-right: 0.5em;
+
margin-right: 0.5em;
  }
+
}
 
.function dd {
 
.function dd {
 
padding-left: 10em;
 
padding-left: 10em;
 
}
 
}
 
.function > p:nth-child(3) {
 
.function > p:nth-child(3) {
  margin-left: 1.5em;
+
margin-left: 1.5em;
 
}
 
}

Revision as of 22:36, 20 May 2020

/* CSS placed here will be applied to all skins */
/*
	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: .05em;
		}
	.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;
}