Vorlage:Karten-Liste/style.css
Aus PokéWiki
.kartenliste {
width: 50%;
border-radius: 0.5em;
}
.kartenliste td:nth-child(2) a:not(.new),
.kartenliste td:nth-child(2) a:not(.new):visited,
.kartenliste-trainer td:nth-child(2) a:not(.new),
.kartenliste-trainer td:nth-child(2) a:not(.new):visited {
color: #000000;
}
.itemkarte a {
color: #44C !important;
}
.stadionkarte a {
color: #6A2 !important;
}
.unterstuetzerkarte a {
color: #F40 !important;
}
.ausruestungskarte a {
color: #6E499C !important;
}
.kartenliste th:first-child {
border-top-left-radius: 5px;
}
.kartenliste th:last-child {
border-top-right-radius: 5px;
}
.kartenliste tr:last-child td:first-child {
border-bottom-left-radius: 5px;
}
.kartenliste tr:last-child td:last-child {
border-bottom-right-radius: 5px;
}
.kartenliste td {
background: white;
}
.kartenliste td:nth-child(2) {
white-space: nowrap;
text-align: center;
font-weight: bold;
}
.kartenliste-trainer {
border-radius: 10px;
width: 50%
}
.kartenliste-trainer th:first-child {
border-radius: 30px 0 0 30px;
padding: 0 5px 0 7px;
}
.kartenliste-trainer th:nth-child(2) {
padding: 0 5px 0 5px;
}
.kartenliste-trainer th:last-child {
border-radius: 0 30px 30px 0;
padding: 0 7px 0 5px;
}
.kartenliste-trainer td {
background: white;
}
.kartenliste-trainer td:first-child {
border-radius: 10px 0 0 10px;
padding: 3px
}
.kartenliste-trainer td:nth-child(2) {
padding: 3px;
white-space: nowrap;
text-align: center;
font-weight: bold;
}
.kartenliste-trainer td:last-child {
border-radius: 0 10px 10px 0;
padding: 3px
}
@media only screen and (min-width: 681px) and (max-width: 900px) {
.kartenliste, .kartenliste-trainer {
width: 60%;
}
}
@media only screen and (min-width: 491px) and (max-width: 680px) {
.kartenliste, .kartenliste-trainer {
width: 80%;
}
}
@media only screen and (max-width: 490px) {
.kartenliste, .kartenliste-trainer {
width: 100%;
}
}
/* [[Kategorie:Vorlage:Non-Wikitext]] */