MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 118: Line 118:
padding-left: 0.25rem;
padding-left: 0.25rem;
border-bottom: 1px solid #bbbbbb;
border-bottom: 1px solid #bbbbbb;
}
.team-list {
width: 200px;
height: 200px;
position: relative;
}
/*.team-list-logo {*/
/* height: 100%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*}*/
.team-list-logo img {
max-width: 100%;
height: auto;
}
.team-list .players {
width: 100%;
    position: absolute;
    top: 0;
    height: 100%;
    background-color: rgb(255 255 255 / 90%);
    visibility: hidden;
    transition: visibility 0.5s;
}
.team-list .players:hover {
visibility: visible;
}
}
/*END Participants list team */
/*END Participants list team */

Revision as of 10:07, 7 September 2022

/* CSS placed here will be applied to all skins */
/* START Text */
.tc {
	text-align: center;
}
/* END Text */
/*START Infobox */
table {
	border-spacing: 0;
}

.ib {
    background-color: #eeeeee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    width: 400px;
}
.ib-title {
    font-size: 2em;
    text-align: center;
}
.ib-image {
    text-align: center;
    padding: 15px;
}

.ib-subheader {
	text-align: center;
    font-weight: 600;
    font-size: 1.4rem;
    background-color: #ddffdd;
}

.ib-row {
	display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.5rem;
    align-items: center;
    padding: 5px;
}

.ib-row:nth-of-type(2n + 2) {
	background-color: #e1e1e1;
}

.ib-rowName {
	text-align: right;
	font-weight: 600;
}

.ib-links {
	padding: 5px;
    text-align: center;
}
/* END Infobox */

/* START 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;
}
/* END Squad template */

/*START Participants list team */
.p-team-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.table-bordered {
	border: 1px solid #bbbbbb;
    margin-top: 0 !important;
}

.table-bordered th {
	padding: 0.1rem 0.3rem;
	 border-bottom: 1px solid #bbbbbb;
	border-right: 1px solid #bbbbbb;
}

.table-bordered td {
	padding-left: 0.25rem;
	border-bottom: 1px solid #bbbbbb;
}

.team-list {
	width: 200px;
	height: 200px;
	position: relative;
}
/*.team-list-logo {*/
/*	height: 100%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*}*/
.team-list-logo img {
	max-width: 100%;
	height: auto;
}

.team-list .players {
	width: 100%;
    position: absolute;
    top: 0;
    height: 100%;
    background-color: rgb(255 255 255 / 90%);
    visibility: hidden;
    transition: visibility 0.5s;
}
.team-list .players:hover {
	visibility: visible;
}
/*END Participants list team */