Pojdi na vsebino

Predloga:DIY-kartica: Razlika med redakcijama

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


<!-- NASLOV -->
<!-- NASLOV -->
<div style="
<div style="
  padding:0.1rem 0.2rem;
border-left:4px solid #2c3e50;
  text-align:center;
margin:12px 12px 8px 12px;
  font-weight:600;
padding-left:10px;
  font-size:1rem;
font-size:15px;
  color:#2c3e50;
font-weight:bold;
  line-height:1;
line-height:1.3;
  white-space:nowrap;
">
  overflow:hidden;
  text-overflow:ellipsis;">
[[{{{title1|Example}}}|{{{display1|{{{title1|Example}}}}}}]]
[[{{{title1|Example}}}|{{{display1|{{{title1|Example}}}}}}]]
</div>
</div>


<!-- SLIKA -->
<!-- SLIKA -->
<div style="
<div style="
  height:180px;
background:#fafafa;
  display:flex;
padding:12px;
  align-items:center;
display:flex;
  justify-content:center;
align-items:center;
  background:#fff;
justify-content:center;
  padding:0.3rem;
flex-grow:1;
  overflow:hidden;">
min-height:180px;
  <div style="max-width:100%; max-height:100%;">
">
    [[File:{{{image1|Example.jpg}}}|center|frameless|upright=1|link={{{title1|Example}}}]]
 
  </div>
[[File:{{{image1|Example.jpg}}}|center|frameless|180px|link={{{title1|Example}}}]]
 
</div>
</div>


</div>
</div>

Redakcija: 11:20, 23. julij 2026