Vorlage:Infobox Pokémon/style.css
Aus PokéWiki
.infobox-pokemon {
border-radius: 0.5em;
border-style: solid;
border-width: 2px;
float: right;
margin: 0 0 1em 1em;
max-width: 320px;
min-width: 300px;
}
.infobox-pokemon td,
.infobox-pokemon th {
padding: 2px;
}
.infobox-pokemon tr:first-child td {
border-top-left-radius: 0.5em;
border-top-right-radius: 0.5em;
}
.infobox-pokemon tr:last-child td:first-child {
border-bottom-left-radius: 0.5em;
}
.infobox-pokemon tr:last-child td:last-child {
border-bottom-right-radius: 0.5em;
}
.infobox-pokemon tr:first-child td {
position: relative;
text-align: center;
}
.infobox-pokemon > tbody > tr:first-child > td > div {
position: absolute;
right: 5px;
top: 5px;
}
.infobox-pokemon tr:first-child table {
width: 100%;
}
.infobox-pokemon tr:first-child table tr:first-child td {
font-size: 20px;
}
.infobox-pokemon > tbody > tr:nth-child(2) td[colspan="2"] {
background: #FFFFFF;
font-size: 85%;
text-align: center;
}
.infobox-pokemon .clicktoggle {
white-space: nowrap;
}
.infobox-pokemon .clicktoggle:not(.clicktoggle-active) {
color: #002BB8;
}
.infobox-pokemon .clicktoggle.clicktoggle-active {
color: #000000;
cursor: default;
}
.infobox-pokemon > tbody > tr > td:not([colspan="2"]) {
background: #FFFFFF;
}
.infobox-pokemon > tbody > tr > td:not([colspan="2"]):first-child {
width: 40%;
}
@media only screen and (max-width: 480px) {
.infobox-pokemon {
max-width: 100%;
width: 100%;
}
}
/* [[Kategorie:Vorlage:Non-Wikitext]] */