Dn-button-4/code

From EncyclopAtys

< Dn-button-4
Revision as of 17:11, 20 November 2021 by Zorroargh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
<div style="
float: left;
width: {{#expr:( {{#expr:(100/{{{CellCount|1}}})}}*0.95)}}%;
border-radius: 6px;
background-image: linear-gradient(to right, {{:dn-{{{Pallete}}}3}} 70%, {{:dn-{{{Pallete}}}5}});
text-align: center;
box-shadow: 5px 5px 4px {{:dn-{{{Pallete}}}1}};
color: {{:dn-{{{Pallete}}}7}};
">
'''{{{text}}}'''
</div>