MediaWiki:Common.css: Różnice pomiędzy wersjami
Z High School DxD Wiki
Linia 3: | Linia 3: | ||
.infoboxnowy { width: 327px; float: right; background: #808080; margin: 0 0 10px 10px; | .infoboxnowy { width: 327px; float: right; background: #808080; margin: 0 0 10px 10px; | ||
border: 3px solid #fff; clear: right; border-radius: 5px; font-size: 11px; } | border: 3px solid #fff; clear: right; border-radius: 5px; font-size: 11px; } | ||
+ | .infoboxnowy th { background: #fff; text-align: right; } | ||
+ | .infoboxnowy td { background: #fff; text-align: left; } | ||
+ | .infoboxnowy .main { background: inherit; text-align: center; font-weight: bold; font-size: 130%; } | ||
+ | .infoboxnowy .obrazek { background: #fff; text-align: center; border-radius: 10px; } | ||
+ | .infoboxnowy .obrazek-beztla { background: transparent !important; } | ||
+ | .infoboxnowy .obrazek div { line-height: 1.25em; color: #666; font-style: italic; } | ||
+ | .infoboxnowy>tbody>tr:last-of-type>th:last-of-type { border-bottom-left-radius: 10px; } | ||
+ | .infoboxnowy>tbody>tr:last-of-type>td:last-of-type { border-bottom-right-radius: 10px; } | ||
+ | .infoboxnowy>tbody>tr:nth-of-type(2n+3) td, | ||
+ | .infoboxnowy>tbody>tr:nth-of-type(2n+3) th { background-color: #ddd; } | ||
+ | /* do GTA Wiki:Dla nowicjuszy */ | ||
+ | .infoboxnowy>tbody>tr:only-of-type>th:only-of-type { border-radius: 10px 0 0 10px; } | ||
+ | .infoboxnowy>tbody>tr:only-of-type>td:only-of-type { border-radius: 0 10px 10px 0; } |
Wersja z 19:38, 17 lip 2013
/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */ .infoboxnowy { width: 327px; float: right; background: #808080; margin: 0 0 10px 10px; border: 3px solid #fff; clear: right; border-radius: 5px; font-size: 11px; } .infoboxnowy th { background: #fff; text-align: right; } .infoboxnowy td { background: #fff; text-align: left; } .infoboxnowy .main { background: inherit; text-align: center; font-weight: bold; font-size: 130%; } .infoboxnowy .obrazek { background: #fff; text-align: center; border-radius: 10px; } .infoboxnowy .obrazek-beztla { background: transparent !important; } .infoboxnowy .obrazek div { line-height: 1.25em; color: #666; font-style: italic; } .infoboxnowy>tbody>tr:last-of-type>th:last-of-type { border-bottom-left-radius: 10px; } .infoboxnowy>tbody>tr:last-of-type>td:last-of-type { border-bottom-right-radius: 10px; } .infoboxnowy>tbody>tr:nth-of-type(2n+3) td, .infoboxnowy>tbody>tr:nth-of-type(2n+3) th { background-color: #ddd; } /* do GTA Wiki:Dla nowicjuszy */ .infoboxnowy>tbody>tr:only-of-type>th:only-of-type { border-radius: 10px 0 0 10px; } .infoboxnowy>tbody>tr:only-of-type>td:only-of-type { border-radius: 0 10px 10px 0; }