Template:Game/Tournaments.css: Difference between revisions
From TwogPedia
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
.tournament__row {display: contents;} | .tournament__row {display: contents;} | ||
.tournament__name, .tournament__location {display: flex; flex-direction: column;} | .tournament__name, .tournament__location {display: flex; flex-direction: column;} | ||
#grid-infobox-teams .info-image { | |||
display: flex; | |||
flex-direction: column; | |||
} | |||
#grid-infobox-teams .ib-image { | |||
order: 0; | |||
} | |||
#grid-infobox-teams .text-overlay { | #grid-infobox-teams .text-overlay { | ||
order: 1; | |||
position: static; | |||
margin-top: 10px; | |||
padding: 10px; | padding: 10px; | ||
background-color: rgba(0, 0, 0, 0.5); | background-color: rgba(0,0,0,0.5); | ||
color: white; | color: white; | ||
text-align: center; | |||
} | } | ||
Revision as of 02:57, 5 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 .info-image {
display: flex;
flex-direction: column;
}
#grid-infobox-teams .ib-image {
order: 0;
}
#grid-infobox-teams .text-overlay {
order: 1;
position: static;
margin-top: 10px;
padding: 10px;
background-color: rgba(0,0,0,0.5);
color: white;
text-align: center;
}
h2 {
color: white;
}
No categories