MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 2: Line 2:
/* Infobox */
/* Infobox */


/*--clr-border: #bbbbbb;*/
table {
table {
border-spacing: 0;
border-spacing: 0;
}
}


.infobox {
.ib {
     background-color: #8C8C8C;
     background-color: #8C8C8C;
     border: 1px solid #aaa;
     border: 1px solid #aaa;
Line 17: Line 14:
     width: 400px;
     width: 400px;
}
}
.infobox-title {
.ib-title {
     font-size: 2em;
     font-size: 2em;
     text-align: center;
     text-align: center;
}
}
.infobox-image {
.ib-image {
     text-align: center;
     text-align: center;
}
}
.infobox th {
.ib th {
     text-align: right;
     text-align: right;
     vertical-align: top;
     vertical-align: top;
     width: 120px;
     width: 120px;
}
}
.infobox td {
.ib td {
     vertical-align: top;
     vertical-align: top;
}
}

Revision as of 16:18, 29 August 2022

/* CSS placed here will be applied to all skins */
/* Infobox */

table {
	border-spacing: 0;
}

.ib {
    background-color: #8C8C8C;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 400px;
}
.ib-title {
    font-size: 2em;
    text-align: center;
}
.ib-image {
    text-align: center;
}
.ib th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.ib td {
    vertical-align: top;
}


/* Squad template */
.striped-table {
	border: 2px solid #bbbbbb;
}
.striped-table > tbody > tr:nth-of-type(2n + 1) {
	background-color: #f5f5f5;
	border: 1;
}
.headerRow {
	text-align: center;
}
.headerRow th {
	font-size: 1rem;
}
.person td {
	border-top: 1px solid #a2a9b1;
	padding: 5px;
}
.position {
	text-align: center;
}
.playerID {
	padding: 0 10px 0 5px !important;
	font-weight: bold;
}
.playerID img {
	width: 18px;
    height: auto;
}
.flag img {
	width: 18px;
	height: auto;
	vertical-align: baseline;
	padding-right: 5px;
}
.captain img {
	vertical-align: text-top;
	padding: 0 5px;
}