Template:Home section: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="width:100%; max-width: | <div style="width:100%; max-width:1500px; margin:0 auto; padding:clamp(55px,7vw,110px) clamp(20px,5vw,75px); box-sizing:border-box; background:transparent;"> | ||
{{#switch: {{{Layout| | {{#switch: {{{Layout|Text left / image right}}} | ||
|Text left / image right= | |Text left / image right= | ||
<div style="display:flex; flex-wrap:wrap; align-items:center; gap:clamp( | <div style="display:flex; flex-wrap:wrap; align-items:center; gap:clamp(35px,6vw,90px);"> | ||
<div style="flex:1 1 | |||
{{#if:{{{Title|}}}|< | <div style="flex:1 1 450px; min-width:0; text-align:left;"> | ||
<div style="font-family:Inter,system-ui,sans-serif; font-size:1. | |||
{{#if:{{{Title|}}}| | |||
<div style="font-family:Georgia,'Times New Roman',serif; font-size:clamp(44px,5.2vw,82px); font-weight:400; line-height:1.06; letter-spacing:-1.8px; margin:0 0 35px; padding:0; border:0; box-shadow:none;"> | |||
{{{Title}}} | |||
</div> | |||
}} | |||
<div style="font-family:Inter,system-ui,sans-serif; font-size:clamp(18px,1.5vw,25px); line-height:1.65; text-align:left;"> | |||
{{{Text|}}} | {{{Text|}}} | ||
</div> | </div> | ||
{{#if:{{{Button text|}}}|<p style="margin-top: | |||
{{#if:{{{Button text|}}}| | |||
{{#if:{{{Button URL|}}}| | |||
<p style="margin-top:38px;"> | |||
<span class="plainlinks">[{{{Button URL}}} <span style="display:inline-block; background:#111; color:white; padding:16px 30px; border-radius:9px; font-family:Inter,system-ui,sans-serif; font-size:19px; font-weight:500;">{{{Button text}}}</span>]</span> | |||
</p> | |||
}} | |||
}} | |||
</div> | |||
<div style="flex:1 1 520px; min-width:0;"> | |||
<div style="width:100%; overflow:hidden; border-radius:38px; line-height:0;"> | |||
{{#if:{{{Image|}}}|[[File:{{{Image}}}|frameless|800px|alt={{{Title|}}}]]}} | |||
</div> | |||
</div> | </div> | ||
<div style="flex:1 1 | |||
{{#if:{{{Image|}}}|[[File:{{{Image}}}|frameless| | </div> | ||
|Image left / text right= | |||
<div style="display:flex; flex-wrap:wrap; align-items:center; gap:clamp(35px,6vw,90px);"> | |||
<div style="flex:1 1 520px; min-width:0;"> | |||
<div style="width:100%; overflow:hidden; border-radius:38px; line-height:0;"> | |||
{{#if:{{{Image|}}}|[[File:{{{Image}}}|frameless|800px|alt={{{Title|}}}]]}} | |||
</div> | </div> | ||
</div> | </div> | ||
| | <div style="flex:1 1 450px; min-width:0; text-align:left;"> | ||
{{#if:{{{Title|}}}| | |||
<div style="font-family:Georgia,'Times New Roman',serif; font-size:clamp(44px,5.2vw,82px); font-weight:400; line-height:1.06; letter-spacing:-1.8px; margin:0 0 35px; padding:0; border:0; box-shadow:none;"> | |||
{{{Title}}} | |||
</div> | |||
}} | |||
<div style="font-family:Inter,system-ui,sans-serif; font-size:clamp(18px,1.5vw,25px); line-height:1.65;"> | |||
<div style="font-family:Inter,system-ui,sans-serif; font-size:1. | |||
{{{Text|}}} | {{{Text|}}} | ||
</div> | </div> | ||
{{#if:{{{Button text|}}}|<p style="margin-top: | |||
{{#if:{{{Button text|}}}| | |||
{{#if:{{{Button URL|}}}| | |||
<p style="margin-top:38px;"> | |||
<span class="plainlinks">[{{{Button URL}}} <span style="display:inline-block; background:#111; color:white; padding:16px 30px; border-radius:9px; font-family:Inter,system-ui,sans-serif; font-size:19px; font-weight:500;">{{{Button text}}}</span>]</span> | |||
</p> | |||
}} | |||
}} | |||
</div> | |||
</div> | </div> | ||
| | |Centered= | ||
<div style=" | <div style="max-width:1150px; margin:0 auto; text-align:center;"> | ||
{{#if:{{{Image|}}}|[[File:{{{Image}}}|frameless| | {{#if:{{{Image|}}}| | ||
<div style="overflow:hidden; border-radius:38px; line-height:0;"> | |||
[[File:{{{Image}}}|frameless|1100px|alt={{{Title|}}}]] | |||
</div> | </div> | ||
}} | |||
{{#if:{{{Title|}}}|< | |||
<div style="font-family:Inter,system-ui,sans-serif; font-size:1. | {{#if:{{{Title|}}}| | ||
<div style="font-family:Georgia,'Times New Roman',serif; font-size:clamp(38px,4.5vw,72px); font-weight:400; line-height:1.1; margin:35px 0 20px; border:0;"> | |||
{{{Title}}} | |||
</div> | |||
}} | |||
<div style="font-family:Inter,system-ui,sans-serif; font-size:clamp(18px,1.5vw,24px); line-height:1.7;"> | |||
{{{Text|}}} | {{{Text|}}} | ||
</div> | </div> | ||
{{#if:{{{Button text|}}}|<p style="margin-top: | |||
{{#if:{{{Button text|}}}| | |||
{{#if:{{{Button URL|}}}| | |||
<p style="margin-top:35px;"> | |||
<span class="plainlinks">[{{{Button URL}}} <span style="display:inline-block; background:#111; color:white; padding:16px 30px; border-radius:9px;">{{{Button text}}}</span>]</span> | |||
</p> | |||
}} | |||
}} | |||
</div> | </div> | ||
| Line 50: | Line 106: | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Editorial homepage section layouts. | |||
</noinclude> | </noinclude> | ||
Revision as of 12:28, 16 November 2026
Editorial homepage section layouts.