Predloga:DIY-kartica: Razlika med redakcijama
Videz
Brez povzetka urejanja |
Brez povzetka urejanja |
||
| (2 vmesni redakciji istega uporabnika nista prikazani) | |||
| Vrstica 1: | Vrstica 1: | ||
<div style=" | <div style=" | ||
background:#DBDBAB; | background:#DBDBAB; | ||
| Vrstica 8: | Vrstica 9: | ||
flex-direction:column;" | flex-direction:column;" | ||
onmouseover="this.style.transform='translateY(-4px)'; this.style.boxShadow='0 8px 12px rgba(0,0,0,0.15)'" | 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)'"> | onmouseout="this.style.transform='translateY(0)'; this.style.boxShadow='0 4px 5px rgba(0,0,0,0.1)'" | ||
> | |||
<!-- NASLOV --> | |||
<div style=" | |||
padding:0.1rem 0.2rem; | |||
text-align:center; | |||
font-weight:600; | |||
font-size:1rem; | |||
color:#2c3e50; | |||
line-height:1; | |||
white-space:nowrap; | |||
overflow:hidden; | |||
text-overflow:ellipsis;"> | |||
[[{{{title1|Example}}}|{{{display1|{{{title1|Example}}}}}}]] | [[{{{title1|Example}}}|{{{display1|{{{title1|Example}}}}}}]] | ||
</div> | |||
<!-- SLIKA --> | |||
<div style=" | |||
height:180px; | |||
display:flex; | |||
align-items:center; | |||
justify-content:center; | |||
background:#fff; | |||
padding:0.3rem; | |||
overflow:hidden;"> | |||
<div style="max-width:100%; max-height:100%;"> | |||
[[File:{{{image1|Example.jpg}}}|center|frameless|upright=1|link={{{title1|Example}}}]] | [[File:{{{image1|Example.jpg}}}|center|frameless|upright=1|link={{{title1|Example}}}]] | ||
</div> | </div> | ||
</div> | |||
</div> | </div> | ||