Template:Home section: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="width:100vw; max-width:100vw; margin-left:calc(50% - 50vw); padding:0; box-sizing:border-box; background:transparent;"> | <div style="width:100vw; max-width:100vw; margin-left:calc(50% - 50vw); padding:0; box-sizing:border-box; background:transparent;"> | ||
| Line 33: | Line 34: | ||
{{#if:{{{Image|}}}| | {{#if:{{{Image|}}}| | ||
<div style="width: | <div style="flex:1 1 520px; min-width:0; aspect-ratio:4 / 3; box-sizing:border-box; border-radius:26px; overflow:hidden; isolation:isolate; background-image:url('{{filepath:{{{Image}}}|nowiki}}'); background-size:cover; background-position:center; background-repeat:no-repeat;"> | ||
</div> | </div> | ||
}} | }} | ||
| Line 47: | Line 45: | ||
{{#if:{{{Image|}}}| | {{#if:{{{Image|}}}| | ||
<div style="width: | <div style="flex:1 1 520px; min-width:0; aspect-ratio:4 / 3; box-sizing:border-box; border-radius:26px; overflow:hidden; isolation:isolate; background-image:url('{{filepath:{{{Image}}}|nowiki}}'); background-size:cover; background-position:center; background-repeat:no-repeat;"> | ||
</div> | </div> | ||
}} | }} | ||
| Line 79: | Line 74: | ||
|Centered= | |Centered= | ||
<div style="max-width:1150px; margin:0 auto; text-align:center;"> | <div style="width:100%; max-width:1150px; margin:0 auto; text-align:center;"> | ||
{{#if:{{{Image|}}}| | {{#if:{{{Image|}}}| | ||
<div style="width:100%; aspect-ratio:16 / 7; | <div style="width:100%; aspect-ratio:16 / 7; box-sizing:border-box; border-radius:26px; overflow:hidden; isolation:isolate; background-image:url('{{filepath:{{{Image}}}|nowiki}}'); background-size:cover; background-position:center; background-repeat:no-repeat;"> | ||
</div> | </div> | ||
}} | }} | ||
Revision as of 12:54, 16 November 2026
Editorial homepage section layouts.