Template:CreatureInfoBox: Difference between revisions
Appearance
m Protected "Template:CreatureInfoBox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
No edit summary Tag: Reverted |
||
Line 47: | Line 47: | ||
<tr><td colspan="2" class="game-infobox-attribute" style="text-align: center"><strong>[[Creature Infobox Explanation]]</strong></td></tr> | <tr><td colspan="2" class="game-infobox-attribute" style="text-align: center"><strong>[[Creature Infobox Explanation]]</strong></td></tr> | ||
</table> | </table> | ||
</includeonly> | |||
</span> | |||
<span> | |||
<includeonly> | |||
<style> | |||
.game-infobox { | |||
font-family: 'Rubik'; | |||
border-spacing: 0; | |||
border-collapse: separate; | |||
float: right; | |||
margin: 0.5rem 5px 0.5rem 2rem; | |||
max-width: 240px; | |||
min-width: 200px; | |||
} | |||
.game-infobox-title { | |||
background-color: #287308; | |||
color: white; | |||
padding: 0.5rem 2.5rem 0.5rem 2.5rem; | |||
font-size: 16px; | |||
} | |||
.game-infobox-header { | |||
width: 240px; | |||
background-color: #287308; | |||
color: white; | |||
font-size: 14px; | |||
padding: 0.5rem; | |||
} | |||
.game-infobox-attribute { | |||
width: 70px; | |||
font-size: 12px; | |||
padding: 0.5rem; | |||
} | |||
.game-infobox-argument { | |||
font-size: 12px; | |||
padding: 0.5rem; | |||
} | |||
.game-infobox tr th, .game-infobox tr td { | |||
border-right: 1px solid rgba(40,115,8,0.5); | |||
border-bottom: 1px solid rgba(40,115,8,0.5); | |||
} | |||
.game-infobox tr th:first-child, | |||
.game-infobox tr td:first-child { | |||
border-left: 1px solid rgba(40,115,8,0.5); | |||
} | |||
.game-infobox tr th { | |||
border-top: 1px solid rgba(40,115,8,0.5); | |||
} | |||
.game-infobox tr:first-child th:first-child { | |||
border-top-left-radius: 2px; | |||
} | |||
.game-infobox tr:first-child th:last-child { | |||
border-top-right-radius: 2px; | |||
} | |||
.game-infobox tr:last-child td:first-child { | |||
border-bottom-left-radius: 2px; | |||
} | |||
.game-infobox tr:last-child td:last-child { | |||
border-bottom-right-radius: 2px; | |||
} | |||
</style> | |||
</includeonly> | </includeonly> | ||
</span> | </span> |