Template:Game/Tournaments.css: Difference between revisions
From TwogPedia
            No edit summary  | 
				No edit summary  | 
				||
| Line 70: | Line 70: | ||
.container-team-tournaments .news-icon {  | .container-team-tournaments .news-icon {  | ||
   margin-top: 30px;  |    margin-top: 30px;  | ||
}  | |||
.mw-parser-output .teams-tournament__grid {  | |||
        margin: 0 34px;  | |||
    }  | |||
.teams-tournament__grid {  | |||
    display: grid;  | |||
    grid-template-columns: 70% 30%;  | |||
    gap: 20px;  | |||
    padding: 10px 0;  | |||
}  | }  | ||
Revision as of 17:12, 6 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;
}
.mw-parser-output .teams-tournament__grid {
        margin: 0 34px;
    }
.teams-tournament__grid {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 20px;
    padding: 10px 0;
}
h2 {
	color: white;
}
.mw-references-columns {
    margin-top: 2em !important;
    /*text-align: left;*/
}
No categories