Predloga:DIY-kartica: Razlika med redakcijama
Videz
Brez povzetka urejanja |
Brez povzetka urejanja |
||
| Vrstica 6: | Vrstica 6: | ||
transition:transform 0.2s ease, box-shadow 0.2s ease; | transition:transform 0.2s ease, box-shadow 0.2s ease; | ||
display:flex; | display:flex; | ||
flex-direction:column;" | flex-direction:column; | ||
onmouseover="this.style.transform='translateY(-4px)'; this.style.boxShadow='0 8px 12px rgba(0,0,0,0.15)'" | width:200px; | ||
onmouseout="this.style.transform='translateY(0)'; this.style.boxShadow='0 4px 5px rgba(0,0,0,0.1)'"> | cursor:pointer;" | ||
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)';"> | |||
<!-- NASLOV --> | <!-- NASLOV --> | ||
| Vrstica 16: | Vrstica 18: | ||
font-size:1rem; | font-size:1rem; | ||
color:#2c3e50; | color:#2c3e50; | ||
line-height:1. | line-height:1.2; | ||
white-space:nowrap; | white-space:nowrap; | ||
overflow:hidden; | overflow:hidden; | ||
text-overflow:ellipsis;"> | text-overflow:ellipsis; | ||
padding:8px 4px;"> | |||
[[{{{title1|Example}}}|{{{display1|{{{title1|Example}}}}}}]] | [[{{{title1|Example}}}|{{{display1|{{{title1|Example}}}}}}]] | ||
</div> | </div> | ||
<!-- SLIKA --> <div style=" | <!-- SLIKA --> | ||
<div style=" | |||
position:relative; | |||
width:100%; | |||
padding-top:100%; /* 1:1 razmerje */ | |||
background:#fff; | |||
overflow:hidden;"> | |||
<div style=" | |||
position:absolute; | |||
top:0; left:0; width:100%; height:100%; | |||
display:flex; | |||
align-items:center; | |||
justify-content:center;"> | |||
[[File:{{{image1|Example.jpg}}}|center|frameless|upright=1|link={{{title1|Example}}}]] | |||
</div> | |||
</div> | |||
</div> | </div> | ||