Template:Participants list team.css: Difference between revisions

Template page
(Couchor changed the content model of the page Template:Participants list team.css from "wikitext" to "Sanitized CSS")
Tag: content model change
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
Line 6: Line 6:
.table-bordered {
.table-bordered {
border: 1px solid #bbbbbb;
border: 1px solid #bbbbbb;
     margin-top: 0 !important;
     margin-top: 0;
}
}
.table-bordered th {
.table-bordered th {
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;
}
}
Line 44: Line 43:
width: auto;
width: auto;
height: auto;
height: auto;
max-height: 200px;
max-height: 190px;
}
}
.team-list .players {
.team-list .players {
Line 52: Line 51:
     top: 0;
     top: 0;
     height: 100%;
     height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
     opacity: 0;
     opacity: 0;
     transition: opacity 0.3s;
     transition: opacity 0.3s;
Line 62: Line 62:
}
}
.team-list .players:hover {
.team-list .players:hover {
opacity: 100;
opacity: 1;
}
}
.team-list-qualifier {
.team-list-qualifier {
Line 68: Line 68:
font-weight: 600;
font-weight: 600;
border: 1px solid #bbbbbb;
border: 1px solid #bbbbbb;
}
.team-name {
position: relative;
}
.notes {
display: flex;
position: absolute;
gap: 0.5rem;
cursor: pointer;
right: 0;
top: 0;
}
/* DARKMODE */
html.skin-citizen-dark .team-list .players {
    background-color: rgba(24, 24, 24, .9);
}
}

Latest revision as of 12:54, 15 February 2024

.p-team-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}
.table-bordered {
	border: 1px solid #bbbbbb;
    margin-top: 0;
}
.table-bordered th {
	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: 190px;
}
.team-list .players {
	border: none;
	width: 100%;
    position: absolute;
    top: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    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: 1;
}
.team-list-qualifier {
	text-align: center;
	font-weight: 600;
	border: 1px solid #bbbbbb;
}

.team-name {
	position: relative;
}
.notes {
	display: flex;
	position: absolute;
	gap: 0.5rem;
	cursor: pointer;
	right: 0;
	top: 0;
}

/* DARKMODE */
html.skin-citizen-dark .team-list .players {
    background-color: rgba(24, 24, 24, .9);
}