Difference between revisions of "Widget:HeaderButtons"
Jump to navigation
Jump to search
imported>Eave m |
>Eave m (reducing spacing a little) |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <style> | + | <includeonly><style> |
| + | .dl-header-buttons { | ||
| + | text-align: center; | ||
| + | } | ||
| + | .dl-header-buttons .mw-ui-button { | ||
| + | padding: 6px 10px; | ||
| + | } | ||
.dl-header-buttons img[src=""] { | .dl-header-buttons img[src=""] { | ||
display: none; | display: none; | ||
| Line 11: | Line 17: | ||
margin: 0 5px; | margin: 0 5px; | ||
} | } | ||
| − | </style> | + | </style><div class="dl-header-buttons"> |
| − | <div class="dl-header-buttons"> | ||
<!--{section name=idx loop=$links}--> | <!--{section name=idx loop=$links}--> | ||
<a href="<!--{$links[idx]|escape:'html'}-->" class="mw-ui-button <!--{if $active[idx]}-->mw-ui-progressive<!--{/if}-->"> | <a href="<!--{$links[idx]|escape:'html'}-->" class="mw-ui-button <!--{if $active[idx]}-->mw-ui-progressive<!--{/if}-->"> | ||
| Line 19: | Line 24: | ||
</a> | </a> | ||
<!--{/section}--> | <!--{/section}--> | ||
| − | </div> | + | </div></includeonly> |