Predloga:DIY-kartica: Razlika med redakcijama
Videz
Brez povzetka urejanja |
Brez povzetka urejanja |
||
| Vrstica 12: | Vrstica 12: | ||
> | > | ||
<!-- Naslov --> | <!-- Naslov (minimalen padding) --> | ||
<div style=" | <div style=" | ||
padding:0. | padding:0.15rem 0.4rem; /* enak zgoraj in spodaj */ | ||
text-align:center; | text-align:center; | ||
font-weight:600; | font-weight:600; | ||
| Vrstica 20: | Vrstica 20: | ||
color:#2c3e50; | color:#2c3e50; | ||
line-height:1.1; | line-height:1.1; | ||
white-space:nowrap; /* prepreči prelom naslova, če želiš */ | |||
overflow:hidden; | |||
text-overflow:ellipsis; | |||
"> | "> | ||
[[{{{title1|Example title 1}}}|{{{display1|{{{title1|Example title 1}}}}}}]] | [[{{{title1|Example title 1}}}|{{{display1|{{{title1|Example title 1}}}}}}]] | ||
| Vrstica 26: | Vrstica 29: | ||
<!-- Slika z fiksno višino --> | <!-- Slika z fiksno višino --> | ||
<div style=" | <div style=" | ||
height: | height:180px; /* fiksna višina slike */ | ||
display:flex; | display:flex; | ||
align-items:center; | align-items:center; | ||
justify-content:center; | justify-content:center; | ||
background:#fff; | background:#fff; | ||
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}}}]] | ||