Template:LHCharge: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div style="display: flex;"> | <div style="display: flex;"> | ||
<div style="position: relative; flex: 1 1; height: 1.5em; background-color: white; border: .2em solid black; text-align: center; overflow: hidden;"> | <div style="position: relative; flex: 1 1; height: 1.5em; background-color: white; border: .2em solid black; text-align: center; overflow: hidden;"> | ||
<div style="position: absolute; top: 0; left: 0; width: {{{charge|0}}}%; height: 1.5em; background-color: gold | <div style="position: absolute; top: 0; left: 0; width: {{{charge|0}}}%; height: 1.5em; background-color: gold;"></div> | ||
<div style="position: absolute; top: 0; left: 0; width: 100%;">{{{level|None}}}</div> | <div style="position: absolute; top: 0; left: 0; width: 100%;">{{{level|None}}}</div> | ||
</div> | </div> |