Template:Home section: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 32: | Line 32: | ||
</div> | </div> | ||
{{#if:{{{Image|}}}| | {{#if:{{{Image|}}}| | ||
<div style="width:100%; aspect-ratio:4 / 3; overflow:hidden; border-radius:26px; line-height:0;"> | <div style="width:100%; aspect-ratio:4 / 3; overflow:hidden; border-radius:26px; line-height:0; display:block;"> | ||
<div style="width:100%; height:100%; overflow:hidden; border-radius:26px;"> | |||
[[File:{{{Image}}}|frameless|800px|link=|alt={{{Title|}}}]] | [[File:{{{Image}}}|frameless|800px|link=|alt={{{Title|}}}]] | ||
</div> | |||
</div> | </div> | ||
}} | }} | ||
</div> | </div> | ||
| Line 46: | Line 46: | ||
<div style="display:flex; flex-wrap:wrap; align-items:center; gap:clamp(35px,6vw,90px);"> | <div style="display:flex; flex-wrap:wrap; align-items:center; gap:clamp(35px,6vw,90px);"> | ||
{{#if:{{{Image|}}}| | {{#if:{{{Image|}}}| | ||
<div style="width:100%; aspect-ratio:4 / 3; overflow:hidden; border-radius:26px; line-height:0;"> | <div style="width:100%; aspect-ratio:4 / 3; overflow:hidden; border-radius:26px; line-height:0; display:block;"> | ||
<div style="width:100%; height:100%; overflow:hidden; border-radius:26px;"> | |||
[[File:{{{Image}}}|frameless|800px|link=|alt={{{Title|}}}]] | [[File:{{{Image}}}|frameless|800px|link=|alt={{{Title|}}}]] | ||
</div> | |||
</div> | </div> | ||
}} | }} | ||
<div style="flex:1 1 450px; min-width:0; text-align:left;"> | <div style="flex:1 1 450px; min-width:0; text-align:left;"> | ||
| Line 82: | Line 82: | ||
{{#if:{{{Image|}}}| | {{#if:{{{Image|}}}| | ||
<div style="width:100%; aspect-ratio:16 / 7; overflow:hidden; border-radius:26px; line-height:0;"> | <div style="width:100%; aspect-ratio:16 / 7; overflow:hidden; border-radius:26px; line-height:0; display:block;"> | ||
[[File:{{{Image}}}|frameless| | <div style="width:100%; height:100%; overflow:hidden; border-radius:26px;"> | ||
[[File:{{{Image}}}|frameless|800px|link=|alt={{{Title|}}}]] | |||
</div> | |||
</div> | </div> | ||
}} | }} | ||
Revision as of 12:52, 16 November 2026
Editorial homepage section layouts.