Template:Composition bar: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(sync from sandbox: single-line format with text-shadow, width=100% and no border default) |
(not bold) |
||
Line 1: | Line 1: | ||
<div role="img" class="nowrap" style="display: inline-block; position: relative; vertical-align: top; {{#ifeq:{{{width|}}}|auto||width: {{{width|100%}}};}} text-shadow: 0 0 0.2em {{{text-shadow|#000}}}; color: {{{color|#fff}}}; |
<div role="img" class="nowrap" style="display: inline-block; position: relative; vertical-align: top; {{#ifeq:{{{width|}}}|auto||width: {{{width|100%}}};}} text-shadow: 0 0 0.2em {{{text-shadow|#000}}}; color: {{{color|#fff}}}; "><!-- |
||
--><div style="position: absolute; {{#if:{{{border-color|}}}|box-sizing: border-box; border: 1px solid {{{border-color|}}};}} width: 100%; height: 100%; background-color: {{{background-color|#999}}};"><!-- |
--><div style="position: absolute; {{#if:{{{border-color|}}}|box-sizing: border-box; border: 1px solid {{{border-color|}}};}} width: 100%; height: 100%; background-color: {{{background-color|#999}}};"><!-- |
||
--><div style="background-color:{{#if:{{both|{{{4|}}}|{{{5|}}}}} |
--><div style="background-color:{{#if:{{both|{{{4|}}}|{{{5|}}}}} |