Predloga:DIY: Razlika med redakcijama
Videz
Brez povzetka urejanja |
Brez povzetka urejanja |
||
| Vrstica 7: | Vrstica 7: | ||
<div style="font-size: 1.1em; font-weight: bold; color: #2c3e50;">[[{{{title1|Primer naslova 1}}}]]</div> | <div style="font-size: 1.1em; font-weight: bold; color: #2c3e50;">[[{{{title1|Primer naslova 1}}}]]</div> | ||
</div> | </div> | ||
<div style="flex: 1; | <div style="flex: 1; position: relative; overflow: hidden;"> | ||
<div style="width: 100%; height: | <div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;"> | ||
<div style="width: 100%; height: 100%; background-size: cover; background-position: center; background-image: url({{#if:{{{image1|}}}|{{filepath:{{{image1}}}|300}}|{{filepath:Example.jpg|300}}}});"></div> | |||
</div> | </div> | ||
<a href="{{{title1|Primer naslova 1}}}" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block;"></a> | |||
</div> | </div> | ||
</div> | </div> | ||
| Vrstica 19: | Vrstica 20: | ||
<div style="font-size: 1.1em; font-weight: bold; color: #2c3e50;">[[{{{title2|Primer naslova 2}}}]]</div> | <div style="font-size: 1.1em; font-weight: bold; color: #2c3e50;">[[{{{title2|Primer naslova 2}}}]]</div> | ||
</div> | </div> | ||
<div style="flex: 1; | <div style="flex: 1; position: relative; overflow: hidden;"> | ||
<div style="width: 100%; height: | <div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;"> | ||
<div style="width: 100%; height: 100%; background-size: cover; background-position: center; background-image: url({{#if:{{{image2|}}}|{{filepath:{{{image2}}}|300}}|{{filepath:Example.jpg|300}}}});"></div> | |||
</div> | </div> | ||
<a href="{{{title2|Primer naslova 2}}}" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block;"></a> | |||
</div> | </div> | ||
</div> | </div> | ||
| Vrstica 31: | Vrstica 33: | ||
<div style="font-size: 1.1em; font-weight: bold; color: #2c3e50;">[[{{{title3|Primer naslova 3}}}]]</div> | <div style="font-size: 1.1em; font-weight: bold; color: #2c3e50;">[[{{{title3|Primer naslova 3}}}]]</div> | ||
</div> | </div> | ||
<div style="flex: 1; | <div style="flex: 1; position: relative; overflow: hidden;"> | ||
<div style="width: 100%; height: | <div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;"> | ||
<div style="width: 100%; height: 100%; background-size: cover; background-position: center; background-image: url({{#if:{{{image3|}}}|{{filepath:{{{image3}}}|300}}|{{filepath:Example.jpg|300}}}});"></div> | |||
</div> | </div> | ||
<a href="{{{title3|Primer naslova 3}}}" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block;"></a> | |||
</div> | </div> | ||
</div> | </div> | ||
| Vrstica 43: | Vrstica 46: | ||
<div style="font-size: 1.1em; font-weight: bold; color: #2c3e50;">[[{{{title4|Primer naslova 4}}}]]</div> | <div style="font-size: 1.1em; font-weight: bold; color: #2c3e50;">[[{{{title4|Primer naslova 4}}}]]</div> | ||
</div> | </div> | ||
<div style="flex: 1; | <div style="flex: 1; position: relative; overflow: hidden;"> | ||
<div style="width: 100%; height: | <div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;"> | ||
<div style="width: 100%; height: 100%; background-size: cover; background-position: center; background-image: url({{#if:{{{image4|}}}|{{filepath:{{{image4}}}|300}}|{{filepath:Example.jpg|300}}}});"></div> | |||
</div> | </div> | ||
<a href="{{{title4|Primer naslova 4}}}" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block;"></a> | |||
</div> | </div> | ||
</div> | </div> | ||
Redakcija: 14:49, 3. oktober 2025