MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 62: Line 62:
font-weight: bold;
font-weight: bold;
}
}
.flag img {
.playerID img {
width: 18px;
width: 18px;
     height: 12px;
     height: auto;
    vertical-align: -1px;
}
}

Revision as of 15:10, 24 August 2022

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



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

.infobox {
    background-color: #8C8C8C;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 400px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}
.infobox 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 {
	display: flex;
    align-items: center;
    gap: 0.25rem;
	padding: 0 10px 0 5px;
	font-weight: bold;
}
.playerID img {
	width: 18px;
    height: auto;
}