Predloga:Material-kartica: Razlika med redakcijama
Videz
Brez povzetka urejanja |
Brez povzetka urejanja |
||
| Vrstica 7: | Vrstica 7: | ||
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)'" | 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 --> | <!-- Naslov (minimalen padding) --> | ||
<div style=" | <div style=" | ||
padding:0.4rem; | padding:0.15rem 0.4rem; /* enak zgoraj/spodaj */ | ||
text-align:center; | text-align:center; | ||
font-weight:600; | font-weight:600; | ||
| Vrstica 20: | Vrstica 20: | ||
color:#1C1463; | color:#1C1463; | ||
line-height:1.1; | line-height:1.1; | ||
white-space:nowrap; | |||
overflow:hidden; | |||
text-overflow:ellipsis; | |||
"> | "> | ||
[[{{{title1|Example title 1}}}|{{{display1|{{{title1|Example title 1}}}}}}]] | [[{{{title1|Example title 1}}}|{{{display1|{{{title1|Example title 1}}}}}}]] | ||
| Vrstica 27: | Vrstica 30: | ||
<div style="flex:1; display:flex;"> | <div style="flex:1; display:flex;"> | ||
<!-- Slika --> | <!-- Slika z fiksno višino --> | ||
<div style=" | <div style=" | ||
flex:1; | flex:1; | ||
height:180px; /* fiksna višina slike */ | |||
display:flex; | display:flex; | ||
align-items:center; | align-items:center; | ||
justify-content:center; | justify-content:center; | ||
background:#ffffff; | background:#ffffff; | ||
padding:0. | padding:0.3rem; | ||
"> | "> | ||
[[File:{{{image1|Example.jpg}}}|center|frameless|260px|link={{{title1|Example title 1}}}]] | [[File:{{{image1|Example.jpg}}}|center|frameless|260px|link={{{title1|Example title 1}}}]] | ||