Difference between revisions of "Widget:Template/AbilityDisplay/css"
Jump to navigation
Jump to search
>Eave m (adding firefox required styles) |
>Eave (swap to using oojs-ui based tabber, and update styling) |
||
| Line 1: | Line 1: | ||
<noinclude>[[Category:Widget Template CSS]]</noinclude><includeonly><style> | <noinclude>[[Category:Widget Template CSS]]</noinclude><includeonly><style> | ||
/** [[Template:AbilityDisplay]] **/ | /** [[Template:AbilityDisplay]] **/ | ||
| − | + | .ability-table { | |
| − | + | background: white; | |
| − | + | display: inline-table; | |
| − | + | font-size: 11px; | |
| − | + | font-weight: bold; | |
| − | + | margin: 2px; | |
| − | + | position: relative; | |
| − | + | text-align: center; | |
| − | + | vertical-align: top; | |
| − | + | width: 268px; | |
| + | } | ||
| + | .ability-table .oo-ui-optionWidget { | ||
| + | font-size: 10px; | ||
| + | } | ||
| + | .ability-table .oo-ui-panelLayout { | ||
| + | padding: 0; | ||
| + | position: initial; | ||
} | } | ||
| − | + | .ability-header { | |
| − | + | background-color: #e6f7ff; | |
| − | + | border: 1px solid skyblue; | |
| − | + | font-size: 14px; | |
| − | + | padding: 5px 10px; | |
| − | + | position: absolute; | |
| − | + | right: 0; | |
| + | left: 0; | ||
| + | top: 0; | ||
| + | white-space: nowrap; | ||
} | } | ||
| − | .ability- | + | .ability-header.spacer { |
| − | + | height: 0; | |
| − | + | position: relative; | |
| − | + | visibility: hidden; | |
} | } | ||
| − | + | .ability-header a { | |
| − | + | vertical-align: middle; | |
} | } | ||
| − | </style> | + | </style></includeonly> |
| − | </includeonly> | ||