MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
@import url('https://twogpedia.com/MediaWiki:Common.css/Participants_team.css');
abbr {
abbr {
cursor: help;
cursor: help;
Line 110: Line 109:


/*START Participants list team */
/*START Participants list team */
/*.p-team-container {*/
.p-team-container {
/* display: flex;*/
display: flex;
/* flex-wrap: wrap;*/
flex-wrap: wrap;
/* gap: 1rem;*/
gap: 1rem;
/*}*/
}
/*.table-bordered {*/
.table-bordered {
/* border: 1px solid #bbbbbb;*/
border: 1px solid #bbbbbb;
/*    margin-top: 0 !important;*/
    margin-top: 0 !important;
/*}*/
}
/*.table-bordered th {*/
.table-bordered th {
/*padding: 0.1rem 0.3rem;*/
padding: 0.1rem 0.3rem;
/* border-bottom: 1px solid #bbbbbb;*/
border-bottom: 1px solid #bbbbbb;
/* border-right: 1px solid #bbbbbb;*/
border-right: 1px solid #bbbbbb;
/*}*/
}
/*.table-bordered td {*/
.table-bordered td {
/* padding-left: 0.4rem;*/
padding-left: 0.4rem;
/* border-bottom: 1px solid #bbbbbb;*/
border-bottom: 1px solid #bbbbbb;
/*}*/
}
/*#team-toggle {*/
#team-toggle {
/* padding: 0.3rem;*/
padding: 0.3rem;
/*    background-color: #eeeeee;*/
    background-color: #eeeeee;
/*    width: 112px;*/
    width: 112px;
/*    text-align: center;*/
    text-align: center;
/*    border-radius: 3px;*/
    border-radius: 3px;
/*    margin-bottom: 8px;*/
    margin-bottom: 8px;
/*    transition: background-color 0.3s;*/
    transition: background-color 0.3s;
/*    cursor: pointer;*/
    cursor: pointer;
/*}*/
}
/*#team-toggle:hover {background-color: #e1e1e1;}*/
#team-toggle:hover {background-color: #e1e1e1;}
/*.team-list {*/
.team-list {
/* width: 200px;*/
width: 200px;
/* height: 200px;*/
height: 200px;
/* position: relative;*/
position: relative;
/* border: 1px solid #bbbbbb;*/
border: 1px solid #bbbbbb;
/* border-bottom: none;*/
border-bottom: none;
/*}*/
}
/*.team-list-logo {*/
.team-list-logo {
/* display: flex;*/
display: flex;
/*    justify-content: center;*/
    justify-content: center;
/*    height: 100%;*/
    height: 100%;
/*    align-items: center;*/
    align-items: center;
/*}*/
}
/*.team-list-logo img{*/
.team-list-logo img{
/* width: auto;*/
width: auto;
/* height: auto;*/
height: auto;
/* max-height: 200px;*/
max-height: 200px;
/*}*/
}
/*.team-list .players {*/
.team-list .players {
/* border: none;*/
border: none;
/* width: 100%;*/
width: 100%;
/*    position: absolute;*/
    position: absolute;
/*    top: 0;*/
    top: 0;
/*    height: 100%;*/
    height: 100%;
/*    background-color: rgb(255 255 255 / 90%);*/
    background-color: rgb(255 255 255 / 90%);
/*    opacity: 0%;*/
    opacity: 0%;
/*    transition: opacity 0.3s;*/
    transition: opacity 0.3s;
/*}*/
}
/*.team-list .players.show {opacity: 1;}*/
.team-list .players.show {opacity: 1;}


/*.team-list .players tr:last-child th,*/
.team-list .players tr:last-child th,
/*.team-list .players tr:last-child td {*/
.team-list .players tr:last-child td {
/* border-bottom: none;*/
border-bottom: none;
/*}*/
}
/*.team-list .players:hover {*/
.team-list .players:hover {
/* opacity: 100%;*/
opacity: 100%;
/*}*/
}
/*.team-list-qualifier {*/
.team-list-qualifier {
/* text-align: center;*/
text-align: center;
/* font-weight: 600;*/
font-weight: 600;
/* border: 1px solid #bbbbbb;*/
border: 1px solid #bbbbbb;
/*}*/
}
/*END Participants list team */
/*END Participants list team */


/* GENERAL */
/* GENERAL */
.dark, .dark-inline {display: none;}
.dark, .dark-inline {display: none;}

Revision as of 21:03, 11 September 2022

/* CSS placed here will be applied to all skins */
abbr {
	cursor: help;
}

.h-100 {
	height: 100%;
}
/* START Text */
.tc {
	text-align: center;
}
.fw-600 {
	font-weight: 600;
}

/* 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.4rem;
	border-bottom: 1px solid #bbbbbb;
}
#team-toggle {
	padding: 0.3rem;
    background-color: #eeeeee;
    width: 112px;
    text-align: center;
    border-radius: 3px;
    margin-bottom: 8px;
    transition: background-color 0.3s;
    cursor: pointer;
}
#team-toggle:hover {background-color: #e1e1e1;}
.team-list {
	width: 200px;
	height: 200px;
	position: relative;
	border: 1px solid #bbbbbb;
	border-bottom: none;
}
.team-list-logo {
	display: flex;
    justify-content: center;
    height: 100%;
    align-items: center;
}
.team-list-logo img{
	width: auto;
	height: auto;
	max-height: 200px;
}
.team-list .players {
	border: none;
	width: 100%;
    position: absolute;
    top: 0;
    height: 100%;
    background-color: rgb(255 255 255 / 90%);
    opacity: 0%;
    transition: opacity 0.3s;
}
.team-list .players.show {opacity: 1;}

.team-list .players tr:last-child th,
.team-list .players tr:last-child td {
	border-bottom: none;
}
.team-list .players:hover {
	opacity: 100%;
}
.team-list-qualifier {
	text-align: center;
	font-weight: 600;
	border: 1px solid #bbbbbb;
}
/*END Participants list team */

/* GENERAL */
.dark, .dark-inline {display: none;}