MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 35: Line 35:


/* Squad template */
/* Squad template */
.squad-table {
.squad-table {
display: block;
display: block;
Line 41: Line 40:
     overflow-x: auto;
     overflow-x: auto;
}
}
 
.striped-table {
.wikitable-striped > tbody > tr:nth-of-type(2n + 1) {
border: 1.5px solid #bbbbbb;
}
.striped-table tr {
border-bottom: 1px solid #bbbbbb;
}
.striped-table > tbody > tr:nth-of-type(2n + 1) {
background-color: #f5f5f5;
background-color: #f5f5f5;
border: 1;
border: 1;
}
}
.headerRow {
.headerRow {
text-align: center;
text-align: center;
}
}
.headerRow th {
.headerRow th {
font-size: 1rem !important;
font-size: 1rem !important;
}
}
.person td {
.person td {
padding: 5px;
padding: 5px;
}
}
.position {
.position {
text-align: center;
text-align: center;
}
}
.flag img {
.flag img {
width: 18px;
width: 18px;

Revision as of 13:30, 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 */
.squad-table {
	display: block;
    width: auto;
    overflow-x: auto;
}
.striped-table {
	border: 1.5px solid #bbbbbb;
}
.striped-table tr {
	border-bottom: 1px 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 !important;
}
.person td {
	padding: 5px;
}
.position {
	text-align: center;
}
.flag img {
	width: 18px;
    height: 12px;
    vertical-align: -1px;
}