User:Arti/Template:Container: Difference between revisions

From Resonite Wiki
No edit summary
use flexbox
Line 1: Line 1:
<div style="
<div style="
   /* Style for info box div */
   /* Style for info box div */
   position: relative;
   display: flex;
  align-items: center;


   color: var(--color-base--emphasized);
   color: var(--color-base--emphasized);
Line 18: Line 19:
   border-radius: 12px;
   border-radius: 12px;


">{{#if: {{{3|}}}|<span style="
">{{#if: {{{3|}}}|
  /* Style for icon span*/
">[[File:{{{3|}}}|40px|Warning|link=]]|}}{{#if: {{{1|}}} | {{{1}}} | Example Text}}</div>
  margin-right: 16px;
  float: left;
 
">[[File:{{{3|}}}|40px|Warning|link=]]</span>|}}{{#if: {{{1|}}} | {{{1}}} | Example Text}}</div>

Revision as of 06:21, 18 January 2024

Example Text