Vorlage:Team/style.css
Aus PokéWiki
.team-toggler {
border-radius: 0.5em;
clear: both;
margin: 5px 0 5px 0;
text-align: center;
}
.team {
border-radius: 0.5em;
clear: both;
display: grid;
gap: 2px;
margin: 5px 0 5px 0;
}
.team .empty {
background: #D9D9D9 !important;
color: rgba(34, 34, 34, 0.5);
}
.team a:not(.new), .team a:visited:not(.new) {
color: #000000;
}
.team > div:nth-child(1) {
border-top-left-radius: 0.5em;
border-top-right-radius: 0.5em;
font-weight: bold;
padding: 2px;
text-align: center;
}
.team > div:not(:first-child) {
display: grid;
gap: 2px;
}
@media only screen and (min-width: 851px) {
.team > div:not(:first-child) {
grid-template-columns: 15% 1fr 40%;
}
.team > div:not(:first-child) > div:nth-child(4) > span {
flex-flow: column;
}
.team > div:not(:first-child) > div:nth-child(5) {
grid-template-columns: 1fr 1fr;
}
.team > div:not(:first-child) > div:nth-child(7) {
grid-column-end: span 3;
}
.team > div:last-child > div:nth-child(7) {
border-bottom-left-radius: 0.5em;
border-bottom-right-radius: 0.5em;
}
.team > div:last-child > div:nth-last-child(3) {
border-bottom-left-radius: 0.5em;
}
}
@media only screen and (max-width: 850px) {
.team {
gap: 10px;
}
.team > div:not(:first-child) > div:nth-child(1) {
order: 1;
}
.team > div:not(:first-child) > div:nth-child(2) {
order: 5;
}
.team > div:not(:first-child) > div:nth-child(3) {
order: 3;
}
.team > div:not(:first-child) > div:nth-child(4) {
order: 2;
}
.team > div:not(:first-child) > div:nth-child(5) {
order: 6;
}
.team > div:not(:first-child) > div:nth-child(6) {
order: 7;
}
.team > div:not(:first-child) > div:nth-child(7) {
order: 4;
}
.team > div:not(:first-child) > div:nth-child(5) {
margin: 0 2px 0 2px;
grid-template-columns: 1fr 1fr;
}
.team > div:not(:first-child) > div:nth-child(6) {
margin: 0 2px 2px 2px !important;
}
}
@media only screen and (max-width: 480px) {
.team > div:not(:first-child) > div:nth-child(5) {
grid-template-columns: 1fr;
}
}
.team > div:not(:first-child) > div:nth-child(1) {
align-items: center;
display: flex;
justify-content: center;
padding: 2px;
text-align: center;
}
.team > div:not(:first-child) > div:nth-child(2) {
align-items: center;
display: flex;
flex-flow: column;
justify-content: center;
padding: 2px;
}
.team > div:not(:first-child) > div:nth-child(2) > div {
display: grid;
grid-template-columns: auto auto;
}
.team > div:not(:first-child) > div:nth-child(2) > div > b {
display: flex;
align-items: center;
}
.team > div:not(:first-child) > div:nth-child(2) > div > span {
display: flex;
gap: 2px;
}
.team > div:not(:first-child) > div:nth-child(2) > div > span > span {
width: 25px;
height: 25px;
display: flex;
justify-content: center;
align-items: center;
}
.team > div:not(:first-child) > div:nth-child(3) {
align-items: stretch;
display: flex;
flex-wrap: wrap;
gap: 2px;
}
.team > div:not(:first-child) > div:nth-child(3) > div {
align-items: center;
display: flex;
flex-basis: 100px;
flex-flow: column;
flex-grow: 1;
justify-content: center;
padding: 2px;
}
.team > div:not(:first-child) > div:nth-child(3) > div > span:first-child {
font-weight: bold;
}
.team > div:not(:first-child) > div:nth-child(4) {
display: grid;
grid-template-rows: 1fr min-content;
gap: 5px;
padding: 0 2px 0 2px;
}
.team > div:not(:first-child) > div:nth-child(4) img {
max-width: 100%;
height: auto;
}
.team > div:not(:first-child) > div:nth-child(4) > span {
align-items: center;
display: flex;
gap: 2px;
justify-content: center;
}
.team > div:not(:first-child) > div:nth-child(4) > div {
align-items: center;
border-radius: 0.5em;
display: flex;
justify-content: center;
margin-bottom: 20px;
}
.team > div:not(:first-child) > div:nth-child(5) {
display: grid;
gap: 2px;
grid-auto-rows: 1fr;
}
.team > div:not(:first-child) > div:nth-child(5) > div {
align-items: center;
border-radius: 0.5em;
display: flex;
justify-content: center;
min-height: 50px;
}
.team > div:not(:first-child) > div:nth-child(5) > div {
font-size: 125%;
text-align: center;
}
.team > div:not(:first-child) > div:nth-child(6) {
margin: 0 2px 0 2px;
}
.team > div:not(:first-child) > div:nth-child(6) > div {
display: grid;
gap: 2px;
grid-template-columns: 60% 1fr;
height: 100%;
}
.team > div:not(:first-child) > div:nth-child(6) > div > div:nth-child(1) {
border-radius: 0.5em;
display: grid;
gap: 2px;
grid-column-end: span 2;
grid-template-columns: 60% 1fr;
padding: 2px;
}
.team > div:not(:first-child) > div:nth-child(6) > div > div:nth-child(2) {
border-radius: 0.5em;
display: grid;
gap: 2px;
grid-template-columns: 1fr 1fr;
padding: 2px;
}
.team > div:not(:first-child) > div:nth-child(6) > div > div:nth-child(3) {
border-radius: 0.5em;
display: grid;
gap: 2px;
padding: 2px;
}
.team > div:not(:first-child) > div:nth-child(6) > div > div:nth-child(1) > div,
.team > div:not(:first-child) > div:nth-child(6) > div > div:nth-child(2) > div,
.team > div:not(:first-child) > div:nth-child(6) > div > div:nth-child(3) > div {
align-items: center;
background: #FFFFFF;
border-radius: 0.5em;
display: flex;
justify-content: center;
padding: 2px;
text-align: center;
}
.team > div:not(:first-child) > div:nth-child(6) > div > div:nth-child(2) > div:nth-child(6) {
flex-flow: column;
}
.team > div:not(:first-child) > div:nth-child(7) {
padding: 2px;
}
/* [[Kategorie:Vorlage:Non-Wikitext]] */