Template:Infobox tournament/styles.css: Difference between revisions
Template page
More actions
m Create Template:Infobox tournament |
m Create Template:Infobox tournament |
||
| Line 4: | Line 4: | ||
width: 300px; | width: 300px; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
background: rgba(20, 16, 12, .45); | |||
border: 1px solid rgba(255, 255, 255, .15); | |||
} | } | ||
.loka-tournament-name { | .loka-tournament-name { | ||
text-align: center; | |||
font-size: 1.25em; | |||
font-weight: 700; | font-weight: 700; | ||
padding: .6em; | |||
border-bottom: 1px solid rgba(255, 255, 255, .15); | |||
} | } | ||
| Line 31: | Line 30: | ||
line-height: 0; | line-height: 0; | ||
text-align: center; | text-align: center; | ||
padding: 10px; | |||
} | } | ||
| Line 41: | Line 40: | ||
.loka-tournament-row { | .loka-tournament-row { | ||
display: flex; | display: flex; | ||
padding: .4em .6em; | padding: .4em .6em; | ||
border-top: 1px solid | border-top: 1px solid rgba(255, 255, 255, .15); | ||
font-size: .9em; | font-size: .9em; | ||
} | } | ||
.loka-tournament-row-key { | .loka-tournament-row-key { | ||
flex: 0 0 38%; | |||
font-weight: 700; | font-weight: 700; | ||
text-align: left; | |||
} | } | ||
.loka-tournament-row-value { | .loka-tournament-row-value { | ||
text-align: | flex: 1; | ||
text-align: left; | |||
} | } | ||
.loka-tournament-row--wide | .loka-tournament-row--wide { | ||
flex-direction: column; | |||
align-items: flex-start; | |||
gap: .3em; | |||
} | } | ||
| Line 88: | Line 82: | ||
gap: .5em; | gap: .5em; | ||
padding: .5em .6em; | padding: .5em .6em; | ||
border-top: 1px solid | border-top: 1px solid rgba(255, 255, 255, .15); | ||
} | } | ||
| Line 94: | Line 88: | ||
font-size: .7em; | font-size: .7em; | ||
font-weight: 700; | font-weight: 700; | ||
color: # | color: #f0cf8e; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
letter-spacing: .04em; | letter-spacing: .04em; | ||
| Line 106: | Line 100: | ||
.loka-podium-info .loka-hlist { | .loka-podium-info .loka-hlist { | ||
font-size: .85em; | font-size: .85em; | ||
color: # | opacity: .8; | ||
} | |||
.loka-chrono-box { | |||
border-top: 1px solid rgba(255, 255, 255, .15); | |||
} | |||
.loka-chrono-header { | |||
background: #9c6b2e; | |||
color: #ffffff; | |||
font-weight: 700; | |||
font-size: .75em; | |||
text-align: center; | |||
padding: .4em .5em; | |||
} | } | ||
.loka- | .loka-chrono-grid { | ||
display: grid; | |||
grid-template-columns: 1fr 1fr 1fr; | |||
} | } | ||
.loka | .loka-chrono-pane { | ||
font-size: . | padding: .5em .35em; | ||
text-align: center; | |||
font-size: .78em; | |||
border-left: 1px solid rgba(255, 255, 255, .15); | |||
} | |||
.loka-chrono-grid > .loka-chrono-pane:first-child { | |||
border-left: none; | |||
} | |||
.loka-chrono-title--current { | |||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
.loka | .loka-chrono-year { | ||
opacity: .75; | |||
font-size: .9em; | |||
font- | margin-top: .2em; | ||
} | |||
.loka-chrono-tba, | |||
.loka-chrono-empty { | |||
color: rgba(255, 255, 255, .4); | |||
font-style: italic; | |||
} | } | ||
Revision as of 21:20, 17 August 2026
.loka-tournament-infobox {
float: right;
clear: right;
width: 300px;
margin: 0 0 1em 1em;
background: rgba(20, 16, 12, .45);
border: 1px solid rgba(255, 255, 255, .15);
}
.loka-tournament-name {
text-align: center;
font-size: 1.25em;
font-weight: 700;
padding: .6em;
border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.loka-tournament-type {
background: #9c6b2e;
color: #ffffff;
font-weight: 700;
font-size: .72em;
text-transform: uppercase;
letter-spacing: .04em;
text-align: center;
padding: .35em .5em;
}
.loka-tournament-image {
line-height: 0;
text-align: center;
padding: 10px;
}
.loka-tournament-image img {
max-width: 100%;
height: auto;
}
.loka-tournament-row {
display: flex;
padding: .4em .6em;
border-top: 1px solid rgba(255, 255, 255, .15);
font-size: .9em;
}
.loka-tournament-row-key {
flex: 0 0 38%;
font-weight: 700;
text-align: left;
}
.loka-tournament-row-value {
flex: 1;
text-align: left;
}
.loka-tournament-row--wide {
flex-direction: column;
align-items: flex-start;
gap: .3em;
}
.loka-hlist {
list-style: none;
margin: 0;
padding: 0;
display: inline;
}
.loka-hlist li {
display: inline;
}
.loka-hlist li:not(:last-child)::after {
content: ", ";
}
.loka-podium-row {
display: flex;
align-items: center;
gap: .5em;
padding: .5em .6em;
border-top: 1px solid rgba(255, 255, 255, .15);
}
.loka-podium-label {
font-size: .7em;
font-weight: 700;
color: #f0cf8e;
text-transform: uppercase;
letter-spacing: .04em;
}
.loka-podium-team,
.loka-podium-single {
font-weight: 700;
}
.loka-podium-info .loka-hlist {
font-size: .85em;
opacity: .8;
}
.loka-chrono-box {
border-top: 1px solid rgba(255, 255, 255, .15);
}
.loka-chrono-header {
background: #9c6b2e;
color: #ffffff;
font-weight: 700;
font-size: .75em;
text-align: center;
padding: .4em .5em;
}
.loka-chrono-grid {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
}
.loka-chrono-pane {
padding: .5em .35em;
text-align: center;
font-size: .78em;
border-left: 1px solid rgba(255, 255, 255, .15);
}
.loka-chrono-grid > .loka-chrono-pane:first-child {
border-left: none;
}
.loka-chrono-title--current {
font-weight: 700;
}
.loka-chrono-year {
opacity: .75;
font-size: .9em;
margin-top: .2em;
}
.loka-chrono-tba,
.loka-chrono-empty {
color: rgba(255, 255, 255, .4);
font-style: italic;
}