MediaWiki:Common.css

From Moondust Wiki
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

.listTable {
    width: 100%; border: solid 1px black; margin: 2px; border-spacing: 0px;
}
.listTable th {
    font-weight: bold; font-size: large; padding-bottom: .3em; border-bottom: solid #C9C9C9 1px; background: #D3FFC2; line-height:28px; text-align: left;
}
.listTable td {
    border-top: solid #C9C9C9 1px; padding: .4em;
}
.listTable tr:nth-child(odd) {
    background-color: #FFFFFF;
}
.listTable tr:nth-child(even) {
    background-color: #E8E8E8;
}



.wikitablealt {
    background-color:#f8f9fa;
    color:#202122;
    margin:1em 0;
    border:1px solid #a2a9b1;
    border-collapse:collapse
}

.wikitablealt > tr > th,
.wikitablealt > tr > td,
.wikitablealt > * > tr > th,
.wikitablealt > * > tr > td {
    border:1px solid #a2a9b1;
    padding:0.2em 0.4em
}

.wikitablealt > tr > th,
.wikitablealt > * > tr > th {
    text-align:center
}

.wikitablealt > caption {
    font-weight:bold
}

.wikitablealt tr:nth-child(odd) {
    background-color: #efefef;
}

.wikitablealt tr:nth-child(even) {
    background-color: #f8f9fa;
}

.wikitablealt th {
    background-color: #eaecf0;
}




/* [[Template:See also]], [[Template:rellink]] etc. */
.rellink,
.dablink,
.mw-tpl-rellink {
	font-style: italic;
	padding-bottom: 0.4em;
	padding-left: 0;
	margin-bottom: 0.4em;
	color: #555;
	border-bottom: 1px solid #ccc;
}

/* [[Template:Note]] */
.tip,
.note {
	padding: 0.5em;
	margin: 0.5em 0;
	overflow: hidden;
	background-color: #F9F9F9;
	background-position: 4px 2px;
	background-repeat: no-repeat;
	border: 1px solid #DDD;
}

.tip-info,
.note-info {
	background-color: #F0F0E7;
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/f/f8/Appunti_architetto_franc_01.svg/22px-Appunti_architetto_franc_01.svg.png);
	background-repeat: no-repeat;
	border-color: #cc9933;
	/* @noflip */ padding-left: 30px;
	min-height: 28px;
}

.tip-reminder,
.note-reminder {
	background-color: #F6FDEA;
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/23px-Bulbgraph.png);
	background-repeat: no-repeat;
	border-color: #D6E434;
	padding-left: 31px;
	min-height: 28px;
}

.tip-warning,
.note-warning {
	background-color: #F0E7E7;
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/f/f7/Nuvola_apps_important.svg/18px-Nuvola_apps_important.svg.png);
	background-repeat: no-repeat;
	border-color: #cc3333;
	padding-left: 32px;
	min-height: 25px;
}

.tip-error,
.note-error {
	background-color: #F0E7E7;
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/51/Attention_niels_epting.svg/24px-Attention_niels_epting.svg.png);
	background-repeat: no-repeat;
	border-color: #cc3333;
	padding-left: 32px;
	min-height: 25px;
}



/* [[Template:Notice]] */
.block-note {
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png);
	background-position: top left;
	background-repeat: no-repeat;
}

/*
 * Using block-contents in the hope that it can apply to all block-level warning templates,
 * with different images applied as backgrounds to the wrapping DIV.
 */
.block-contents {
	display: block;
	padding-left: 20px;
}