Pojdi na vsebino

Predloga:DIY-kartica/en: Razlika med redakcijama

Iz Center Rog
Brez povzetka urejanja
Brez povzetka urejanja
Vrstica 1: Vrstica 1:
<div
<div style="
  style="
background:white;
    background:#DBDBAB;
border:1px solid #E5E5E5;
    border-radius:10px;
border-radius:12px;
    overflow:hidden;
overflow:hidden;
    box-shadow:0 4px 5px rgba(0,0,0,0.1);
box-shadow:0 2px 6px rgba(0,0,0,0.08);
    transition:transform 0.2s ease, box-shadow 0.2s ease;
padding:8px;
    display:flex;
">
    flex-direction:column;
  "
  onmouseover="this.style.transform='translateY(-4px)'; this.style.boxShadow='0 8px 12px rgba(0,0,0,0.15)'"
  onmouseout="this.style.transform='translateY(0)'; this.style.boxShadow='0 4px 5px rgba(0,0,0,0.1)'"
>


  <!-- TITLE -->
<!-- TITLE -->
  <div
<div style="border-left:4px solid #2c3e50;padding-left:6px;font-size:15px;font-weight:bold;line-height:1.15;margin-bottom:6px;">
    style="
[[{{{title1|Example}}}|{{{display1|{{{title1|Example}}}}}}]]
      padding:0.1rem 0.2rem;
</div>
      text-align:center;
      font-weight:600;
      font-size:1.1rem;
      color:#2c3e50;
      line-height:1.2;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    "
  >
[[{{{page|#}}}|{{{display|Naziv}}}]]
  </div>


  <!-- IMAGE -->
<!-- TAGS -->
  <div
<div style="margin-bottom:8px;font-size:0;">
    style="
<span style="display:inline-block;background:#edf1f5;padding:2px 6px;border-radius:10px;font-size:10px;color:#555;margin-right:4px;">{{{tag1|tag 1}}}</span>
      height:180px;
<span style="display:inline-block;background:#edf1f5;padding:2px 6px;border-radius:10px;font-size:10px;color:#555;margin-right:4px;">{{{tag2|tag 2}}}</span>
      display:flex;
<span style="display:inline-block;background:#edf1f5;padding:2px 6px;border-radius:10px;font-size:10px;color:#555;">{{{tag3|tag 3}}}</span>
      align-items:center;
      justify-content:center;
      background:#fff;
      padding:0.3rem;
      overflow:hidden;
    "
  >
    <div style="max-width:100%; max-height:100%;">
      [[File:{{{image|Example.jpg}}}|center|frameless|upright=1|link={{{page|#}}}]]
    </div>
  </div>


</div>
<!-- IMAGE -->
<div style="height:180px;overflow:hidden;background:#fafafa;">
<div style="position:relative;left:{{{image-x|0}}}px;top:{{{image-y|0}}}px;text-align:center;">
[[File:{{{image1|Example.jpg}}}|320px|center|link={{{title1|Example}}}]]
</div>
</div>
<!-- END CARD -->
</div>
</div>

Redakcija: 14:31, 7. avgust 2026

tag 1 tag 2 tag 3