Difference between revisions of "MediaWiki:Common.css"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Style creation)
(No difference)

Revision as of 18:00, 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-family: Bahnschrift, Times New Roman, serif;
    text-align: center;
		width: 75%;
	}
	.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;
  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;
}