Template:Participants list team.css: Difference between revisions
From TwogPedia
No edit summary |
No edit summary |
||
(10 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
.p-team-container { | .p-team-container { | ||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 30px; | |||
width: 100%; | |||
justify-content: flex-start; | |||
} | |||
.p-team-container > div { | |||
display: grid; | |||
grid-template-rows: auto auto; | |||
} | |||
.team-name { | |||
display: flex; | |||
justify-content: space-between; /* Pushes name to the left and flag to the right */ | |||
align-items: center; /* Aligns items vertically */ | |||
gap: 10px; /* Adds spacing between text and flag */ | |||
width: 100%; | |||
margin-top: 10px; | |||
} | |||
.team-name { | |||
order: 1; | |||
} | |||
.team-list { | |||
order: 0; | |||
} | |||
.tc.fw-600.team-name { | |||
margin-top: 6px !important; | |||
} | |||
.team-name a { | |||
text-decoration: none; | |||
font-size: 14px; | |||
font-weight: 500; | |||
line-height: 23.4px; | |||
color: #ECEBEB; | |||
text-align: left; | |||
} | |||
.team-name { | |||
margin: 0 !important; | |||
padding-bottom: 5px; | |||
} | } | ||
. | |||
.table-bordered a { | |||
text-decoration: none; | |||
color: #ECEBEB; | |||
padding-left: 10px; | |||
} | } | ||
. | |||
.table-bordered { | |||
border: 1px solid #77737A; | |||
margin-top: 0; | |||
border-radius: 8px; | |||
} | } | ||
. | /*.table-bordered th {*/ | ||
/* border-bottom: 1px solid #77737A;*/ | |||
/* border-right: 1px solid #77737A;*/ | |||
/*}*/ | |||
.team-list .players th { | |||
display: none; | |||
} | } | ||
. | |||
.table-bordered td { | |||
padding-left: 0.4rem; | padding-left: 0.4rem; | ||
border-bottom: 1px solid # | /*border-bottom: 1px solid #77737A;*/ | ||
} | } | ||
#team-toggle { | #team-toggle { | ||
padding: 0.3rem; | padding: 0.3rem; | ||
background-color: # | background-color: #19191E; | ||
width: 112px; | width: 112px; | ||
text-align: center; | text-align: center; | ||
Line 32: | Line 82: | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
#team-toggle:hover {background-color: # | |||
#team-toggle:hover {background-color: #19191E;} | |||
.team-list { | .team-list { | ||
width: auto; | |||
height: 220px; | |||
position: relative; | |||
background: #0F0F0F; | |||
border-radius: 8px; | |||
border-width: 1px; | |||
border-style: solid; | |||
border: 1px solid #77737A; | |||
} | } | ||
.team-list-logo { | .team-list-logo { | ||
display: flex; | display: flex; | ||
Line 46: | Line 102: | ||
align-items: center; | align-items: center; | ||
} | } | ||
.team-list-logo img{ | .team-list-logo img{ | ||
width: auto; | width: auto; | ||
height: auto; | height: auto; | ||
max-height: | max-height: 190px; | ||
} | } | ||
.team-list .players { | |||
.players { | |||
border: none; | border: none; | ||
width: 100%; | width: 100%; | ||
Line 58: | Line 114: | ||
top: 0; | top: 0; | ||
height: 100%; | height: 100%; | ||
background: rgba(28, 28, 28, 0.75); | |||
overflow: hidden; | |||
opacity: 0; | opacity: 0; | ||
transition: opacity 0.3s; | transition: opacity 0.3s; | ||
z-index: 1; | |||
} | |||
.team-list .players::before { | |||
content: ""; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
width: 100%; | |||
height: 100%; | |||
background: inherit; | |||
filter: blur(8px); | |||
z-index: -1; | |||
} | } | ||
Line 75: | Line 145: | ||
text-align: center; | text-align: center; | ||
font-weight: 600; | font-weight: 600; | ||
border: 1px solid # | border: 1px solid #77737A; | ||
} | |||
.notes { | |||
display: flex; | |||
position: absolute; | |||
gap: 0.5rem; | |||
cursor: pointer; | |||
right: 0; | |||
top: 0; | |||
} | |||
#Direct_Invites { | |||
display: none; | |||
} | |||
#Teams_qualified_from_Regionals { | |||
display: none; | |||
} | |||
#Phase_two { | |||
color: #ECEBEB; | |||
} | |||
#Main_Event { | |||
color: #ECEBEB; | |||
} | |||
.team-list-qualifier { | |||
display: none; | |||
} | |||
@media (max-width: 700px) { | |||
.p-team-container { | |||
box-sizing: border-box; | |||
width: 100%; | |||
padding: 5px; | |||
font-size: 0.75em; | |||
} | |||
.p-team-container .team-name { | |||
font-size: 1em; | |||
line-height: 1.2; | |||
} | |||
.p-team-container .team-list { | |||
width: 100%; | |||
overflow: hidden; | |||
} | |||
.p-team-container .team-list table { | |||
width: 100%; | |||
table-layout: fixed; | |||
font-size: 0.75em; | |||
} | |||
.p-team-container .team-list table th, | |||
.p-team-container .team-list table td { | |||
padding: 2px; | |||
word-break: break-all; | |||
} | |||
.p-team-container .team-list-logo img { | |||
max-width: 100%; | |||
height: auto; | |||
display: block; | |||
} | |||
.p-team-container .team-list-qualifier { | |||
font-size: 0.8em; | |||
margin-top: 5px; | |||
} | |||
.team-list { | |||
height: 150px !important; | |||
} | |||
.p-team-container > div { | |||
flex: 1 1 calc(20% - 12px); | |||
box-sizing: border-box; | |||
} | |||
} | |||
@media (min-width: 701px) { | |||
.p-team-container > div { | |||
flex: 1 1 calc(20% - 12px); | |||
max-width: calc(20% - 12px); | |||
min-width: 200px; | |||
box-sizing: border-box; | |||
} | |||
} | |||
/* DARKMODE */ | |||
html.skin-citizen-dark .team-list .players { | |||
background-color: rgba(24, 24, 24, .9); | |||
} | } |
Latest revision as of 00:00, 26 April 2025
.p-team-container {
display: flex;
flex-wrap: wrap;
gap: 30px;
width: 100%;
justify-content: flex-start;
}
.p-team-container > div {
display: grid;
grid-template-rows: auto auto;
}
.team-name {
display: flex;
justify-content: space-between; /* Pushes name to the left and flag to the right */
align-items: center; /* Aligns items vertically */
gap: 10px; /* Adds spacing between text and flag */
width: 100%;
margin-top: 10px;
}
.team-name {
order: 1;
}
.team-list {
order: 0;
}
.tc.fw-600.team-name {
margin-top: 6px !important;
}
.team-name a {
text-decoration: none;
font-size: 14px;
font-weight: 500;
line-height: 23.4px;
color: #ECEBEB;
text-align: left;
}
.team-name {
margin: 0 !important;
padding-bottom: 5px;
}
.table-bordered a {
text-decoration: none;
color: #ECEBEB;
padding-left: 10px;
}
.table-bordered {
border: 1px solid #77737A;
margin-top: 0;
border-radius: 8px;
}
/*.table-bordered th {*/
/* border-bottom: 1px solid #77737A;*/
/* border-right: 1px solid #77737A;*/
/*}*/
.team-list .players th {
display: none;
}
.table-bordered td {
padding-left: 0.4rem;
/*border-bottom: 1px solid #77737A;*/
}
#team-toggle {
padding: 0.3rem;
background-color: #19191E;
width: 112px;
text-align: center;
border-radius: 3px;
margin-bottom: 8px;
transition: background-color 0.3s;
cursor: pointer;
}
#team-toggle:hover {background-color: #19191E;}
.team-list {
width: auto;
height: 220px;
position: relative;
background: #0F0F0F;
border-radius: 8px;
border-width: 1px;
border-style: solid;
border: 1px solid #77737A;
}
.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: rgba(28, 28, 28, 0.75);
overflow: hidden;
opacity: 0;
transition: opacity 0.3s;
z-index: 1;
}
.team-list .players::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: inherit;
filter: blur(8px);
z-index: -1;
}
.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 #77737A;
}
.notes {
display: flex;
position: absolute;
gap: 0.5rem;
cursor: pointer;
right: 0;
top: 0;
}
#Direct_Invites {
display: none;
}
#Teams_qualified_from_Regionals {
display: none;
}
#Phase_two {
color: #ECEBEB;
}
#Main_Event {
color: #ECEBEB;
}
.team-list-qualifier {
display: none;
}
@media (max-width: 700px) {
.p-team-container {
box-sizing: border-box;
width: 100%;
padding: 5px;
font-size: 0.75em;
}
.p-team-container .team-name {
font-size: 1em;
line-height: 1.2;
}
.p-team-container .team-list {
width: 100%;
overflow: hidden;
}
.p-team-container .team-list table {
width: 100%;
table-layout: fixed;
font-size: 0.75em;
}
.p-team-container .team-list table th,
.p-team-container .team-list table td {
padding: 2px;
word-break: break-all;
}
.p-team-container .team-list-logo img {
max-width: 100%;
height: auto;
display: block;
}
.p-team-container .team-list-qualifier {
font-size: 0.8em;
margin-top: 5px;
}
.team-list {
height: 150px !important;
}
.p-team-container > div {
flex: 1 1 calc(20% - 12px);
box-sizing: border-box;
}
}
@media (min-width: 701px) {
.p-team-container > div {
flex: 1 1 calc(20% - 12px);
max-width: calc(20% - 12px);
min-width: 200px;
box-sizing: border-box;
}
}
/* DARKMODE */
html.skin-citizen-dark .team-list .players {
background-color: rgba(24, 24, 24, .9);
}
No categories