Template:Game/Tournaments.css: Difference between revisions
From TwogPedia
No edit summary |
No edit summary |
||
(47 intermediate revisions by the same user not shown) | |||
Line 56: | Line 56: | ||
white-space: nowrap; | white-space: nowrap; | ||
gap: 4px; | gap: 4px; | ||
} | |||
.content-team-tournaments { | |||
margin: 30px 0; | |||
border-bottom: 2px solid #77737A;; | |||
padding-bottom: 30px; | |||
} | |||
#grid-infobox-teams { | |||
padding-bottom: 20%; | |||
} | |||
.container-team-tournaments .news-icon { | |||
margin-top: 30px; | |||
} | |||
/*.teams-tournament__grid {*/ | |||
/* display: grid;*/ | |||
/* grid-template-columns: 70% 30%;*/ | |||
/* gap: 20px;*/ | |||
/* padding: 10px 0;*/ | |||
/* margin: 0 34px;*/ | |||
/* margin-top: 30px;*/ | |||
/*}*/ | |||
/*.grid-left,*/ | |||
/*.grid-right {*/ | |||
/* display: flex;*/ | |||
/* flex-direction: column;*/ | |||
/* gap: 20px;*/ | |||
/*}*/ | |||
.teams-tournament__grid .news-icon { | |||
color: #ECEBEB; | |||
} | |||
.teams-tournament__grid .news-icon a, | |||
.teams-tournament__grid .news-icon span, | |||
.teams-tournament__grid .news-icon .mw-headline { | |||
color: #ECEBEB; | |||
} | |||
.teams-tournament__grid .news-content { | |||
display: none; | |||
} | |||
.teams-tournament__grid .news-title-twogpedia { | |||
padding: 10px 0; | |||
color: #ECEBEB; | |||
font-size: 16px; | |||
font-weight: 600; | |||
} | |||
.teams-tournament__grid .related__article { | |||
margin-bottom: 20px; | |||
} | } | ||
h2 { | h2 { | ||
color: white; | color: white; | ||
} | |||
.mw-references-columns { | |||
margin-top: 2em !important; | |||
/*text-align: left;*/ | |||
} | |||
@media (max-width: 699px) { | |||
.teams-tournament__grid .grid-right { | |||
display: none; | |||
} | |||
.teams-tournament__grid .ib-title { | |||
display: none; | |||
} | |||
#grid-infobox-teams .text-overlay .info-row { | |||
display: none; | |||
} | |||
.container-team-tournaments .content-team-tournaments > div { | |||
font-weight: 400; | |||
font-size: 14px; | |||
letter-spacing: 0; | |||
vertical-align: middle; | |||
color: #C1C1CD; | |||
} | |||
#grid-infobox-teams { | |||
width: 100%; | |||
} | |||
#grid-infobox-teams #image-container-small { | |||
width: 70%; | |||
margin-left: 0; | |||
margin-right: auto; | |||
} | |||
#grid-infobox-teams .carousel-image-container .info-image { | |||
border-radius: 2.53px; | |||
} | |||
#grid-infobox-teams .ib-image img { | |||
object-fit: cover; | |||
} | |||
#grid-infobox-teams .carousel-image-container .ib-image img { | |||
border-radius: 2.53px; | |||
clip-path: inset(0 round 2.53px); | |||
} | |||
#grid-infobox-teams .ib-image { | |||
border-radius: 2.53px; | |||
} | |||
#grid-infobox-teams { | |||
display: grid; | |||
grid-template-rows: auto auto; | |||
gap: 1rem; | |||
} | |||
#grid-infobox-teams .carousel-image-container { | |||
grid-column: 1 / 2; | |||
grid-row: 1; | |||
} | |||
#grid-infobox-teams .info-container.grid { | |||
grid-column: 1 / 2; | |||
grid-row: 2; | |||
width: 70%; | |||
} | |||
#grid-infobox-teams .ib-links-container { | |||
grid-column: 2 / 3; | |||
grid-row: 1 / span 2; | |||
align-self: start; | |||
margin-top: 0; | |||
} | |||
} | |||
@media (min-width: 700px) { | |||
.teams-tournament__grid { | |||
display: grid; | |||
grid-template-columns: 70% 30%; | |||
gap: 20px; | |||
padding: 10px 0; | |||
margin: 30px 34px 0 34px; | |||
} | |||
.teams-tournament__grid .grid-left, | |||
.teams-tournament__grid .grid-right { | |||
display: flex; | |||
flex-direction: column; | |||
gap: 20px; | |||
} | |||
.teams-tournament__grid .grid-right { | |||
border-left: 1px solid #77737A; | |||
padding-left: 20px; | |||
} | |||
#grid-infobox-teams .info-container.grid .ib-row:nth-of-type(1) { | |||
display: none; | |||
} | |||
#grid-infobox-teams .info-container.grid .ib-row:nth-of-type(2) { | |||
display: none; | |||
} | |||
} | } |
Latest revision as of 18:46, 11 June 2025
.tournament__header {
text-align: center;
font-size: 1.1rem;
font-weight: 800;
}
.tournament__table {
border: 1px solid #000;
width: 100%;
text-align: center;
}
.tournament__table tr:not(:first-child) { border-top: 1px solid #000;}
.tournament__table th, .tournament__table td {
padding: 4px 0.5rem;
}
.tournament__table th:not(:first-child), .tournament__table td:not(:first-child) {
border-left: 1px solid #000;
}
.tournament__row {display: contents;}
.tournament__name, .tournament__location {display: flex; flex-direction: column;}
#grid-infobox-teams .text-overlay {
padding: 0 !important;
}
#grid-infobox-teams .info-image {
position: relative;
}
#grid-infobox-teams .text-overlay {
position: absolute;
top: 100%;
left: 0;
width: 100%;
padding: 10px;
background: rgba(0, 0, 0, 0.5);
color: white;
z-index: 2;
display: flex;
flex-direction: column;
}
#grid-infobox-teams .info-row {
display: flex;
align-items: center;
justify-content: start;
gap: 15%;
flex-wrap: nowrap;
}
#grid-infobox-teams .info-row .roster,
#grid-infobox-teams .info-row .region {
display: flex;
align-items: center;
white-space: nowrap;
gap: 4px;
}
.content-team-tournaments {
margin: 30px 0;
border-bottom: 2px solid #77737A;;
padding-bottom: 30px;
}
#grid-infobox-teams {
padding-bottom: 20%;
}
.container-team-tournaments .news-icon {
margin-top: 30px;
}
/*.teams-tournament__grid {*/
/* display: grid;*/
/* grid-template-columns: 70% 30%;*/
/* gap: 20px;*/
/* padding: 10px 0;*/
/* margin: 0 34px;*/
/* margin-top: 30px;*/
/*}*/
/*.grid-left,*/
/*.grid-right {*/
/* display: flex;*/
/* flex-direction: column;*/
/* gap: 20px;*/
/*}*/
.teams-tournament__grid .news-icon {
color: #ECEBEB;
}
.teams-tournament__grid .news-icon a,
.teams-tournament__grid .news-icon span,
.teams-tournament__grid .news-icon .mw-headline {
color: #ECEBEB;
}
.teams-tournament__grid .news-content {
display: none;
}
.teams-tournament__grid .news-title-twogpedia {
padding: 10px 0;
color: #ECEBEB;
font-size: 16px;
font-weight: 600;
}
.teams-tournament__grid .related__article {
margin-bottom: 20px;
}
h2 {
color: white;
}
.mw-references-columns {
margin-top: 2em !important;
/*text-align: left;*/
}
@media (max-width: 699px) {
.teams-tournament__grid .grid-right {
display: none;
}
.teams-tournament__grid .ib-title {
display: none;
}
#grid-infobox-teams .text-overlay .info-row {
display: none;
}
.container-team-tournaments .content-team-tournaments > div {
font-weight: 400;
font-size: 14px;
letter-spacing: 0;
vertical-align: middle;
color: #C1C1CD;
}
#grid-infobox-teams {
width: 100%;
}
#grid-infobox-teams #image-container-small {
width: 70%;
margin-left: 0;
margin-right: auto;
}
#grid-infobox-teams .carousel-image-container .info-image {
border-radius: 2.53px;
}
#grid-infobox-teams .ib-image img {
object-fit: cover;
}
#grid-infobox-teams .carousel-image-container .ib-image img {
border-radius: 2.53px;
clip-path: inset(0 round 2.53px);
}
#grid-infobox-teams .ib-image {
border-radius: 2.53px;
}
#grid-infobox-teams {
display: grid;
grid-template-rows: auto auto;
gap: 1rem;
}
#grid-infobox-teams .carousel-image-container {
grid-column: 1 / 2;
grid-row: 1;
}
#grid-infobox-teams .info-container.grid {
grid-column: 1 / 2;
grid-row: 2;
width: 70%;
}
#grid-infobox-teams .ib-links-container {
grid-column: 2 / 3;
grid-row: 1 / span 2;
align-self: start;
margin-top: 0;
}
}
@media (min-width: 700px) {
.teams-tournament__grid {
display: grid;
grid-template-columns: 70% 30%;
gap: 20px;
padding: 10px 0;
margin: 30px 34px 0 34px;
}
.teams-tournament__grid .grid-left,
.teams-tournament__grid .grid-right {
display: flex;
flex-direction: column;
gap: 20px;
}
.teams-tournament__grid .grid-right {
border-left: 1px solid #77737A;
padding-left: 20px;
}
#grid-infobox-teams .info-container.grid .ib-row:nth-of-type(1) {
display: none;
}
#grid-infobox-teams .info-container.grid .ib-row:nth-of-type(2) {
display: none;
}
}
No categories