MediaWiki:Common.css: Difference between revisions
Fix CSS encoding/BOM issue |
Add Fantasy UI classes |
||
| Line 1,110: | Line 1,110: | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
} | |||
/* Fantasy UI Infobox */ | |||
.infobox-fantasy { | |||
width: 320px; | |||
float: right; | |||
clear: right; | |||
margin-left: 1em; | |||
margin-bottom: 1em; | |||
padding: 30px 25px 25px 25px; | |||
background-image: url('/images/T_FantasyWarrior_Box_Parchment01.png'); | |||
background-size: 100% 100%; | |||
background-repeat: no-repeat; | |||
background-position: center; | |||
color: #332717; | |||
font-size: 90%; | |||
font-family: 'Museo Sans', sans-serif; | |||
box-sizing: border-box; | |||
filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); | |||
} | |||
.infobox-fantasy-header { | |||
background-image: url('/images/T_FantasyWarrior_Bar_Horizontal03.png'); | |||
background-size: 100% 100%; | |||
background-repeat: no-repeat; | |||
background-position: center; | |||
color: #fff; | |||
text-align: center; | |||
font-family: 'Kingthings Petrock', serif; | |||
font-size: 150%; | |||
padding: 12px 10px; | |||
margin-bottom: 15px; | |||
margin-top: -10px; | |||
text-shadow: 1px 1px 2px #000; | |||
} | |||
.infobox-fantasy table { | |||
width: 100%; | |||
border-collapse: collapse; | |||
} | |||
.infobox-fantasy th, .infobox-fantasy td { | |||
padding: 6px 4px; | |||
border-bottom: 1px solid rgba(125, 107, 84, 0.4); | |||
} | |||
.infobox-fantasy tr:last-child th, .infobox-fantasy tr:last-child td { | |||
border-bottom: none; | |||
} | |||
.infobox-fantasy th { | |||
text-align: left; | |||
font-weight: bold; | |||
width: 60%; | |||
} | |||
.infobox-fantasy td { | |||
text-align: right; | |||
} | |||
.stat-icon { | |||
display: inline-block; | |||
vertical-align: middle; | |||
margin-right: 6px; | |||
width: 22px; | |||
height: 22px; | |||
} | } | ||