Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox stat: Difference between revisions

Template page
Sur (talk | contribs)
m workable state
Sur (talk | contribs)
m box size fixed; edges rounded
Line 4: Line 4:
         background: linear-gradient(135deg, rgba({{{box_rgb}}}, 0.5), rgba({{{box_rgb}}}, 0.1));
         background: linear-gradient(135deg, rgba({{{box_rgb}}}, 0.5), rgba({{{box_rgb}}}, 0.1));
         box-shadow: inset 0 0 0 4px rgba({{{box_rgb}}}, 0.9);
         box-shadow: inset 0 0 0 4px rgba({{{box_rgb}}}, 0.9);
        display: flex; /* Using flexbox to align items */
         padding: 10px; /* Main box padding */
        justify-content: center; /* Centering items horizontally */
         border-radius: 15px; /* Adding rounded edges */
        align-items: center; /* Centering vertically */
         padding: 5px; /* Adding some padding */
         width: fit-content; /* Making the container small */
        margin: auto; /* Centering the container */
     ">
     ">
         <!-- Label to the left of Icon -->
         <div style="
        <div style="font-family: 'Retail Demo', sans-serif; font-size: 1.5em; margin-right: 5px;">{{Lang|key={{{box_name}}}}}</div>
            display: flex; /* Using flexbox to align items */
        [[File:{{Lang|key={{{box_name}}}|lang_code=en}}_icon.png|40px|center|link=]]
            justify-content: center; /* Centering items horizontally */
            align-items: center; /* Centering vertically */
            padding: 5px; /* Padding for the small container */
            width: fit-content; /* Making the container small */
            margin: auto; /* Centering the small container */
        ">
            <!-- Label to the left of Icon -->
            <div style="font-family: 'Retail Demo', sans-serif; font-size: 2em; margin-right: 5px;"><b>{{Lang|key={{{box_name}}}}}</b></div>
            [[File:{{Lang|key={{{box_name}}}|lang_code=en}}_icon.png|40px|center|link=]]
        </div>
     </div>
     </div>
     <div style="
     <div style="