Template:Home section: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (18 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | |||
<div class="fed-home-section {{{Section class|}}}" style="width:100vw; max-width:100vw; margin-left:calc(50% - 50vw); padding:0; box-sizing:border-box; background:transparent;"> | |||
<div class="fed-home-section-inner" style="width:100%; max-width:1500px; margin:0 auto; padding:clamp(55px,7vw,110px) clamp(20px,5vw,75px); box-sizing:border-box;"> | |||
<div style="width:100%; max-width:1500px; margin:0 auto; padding:clamp(55px,7vw,110px) clamp(20px,5vw,75px); box-sizing:border-box | |||
{{#switch: {{{Layout|Text left / image right}}} | {{#switch: {{{Layout|Text left / image right}}} | ||
| Line 7: | Line 8: | ||
|Text left / image right= | |Text left / image right= | ||
<div style="display:flex; flex-wrap:wrap; align-items:center; gap:clamp(35px,6vw,90px);"> | <div class="fed-home-row" style="display:flex; flex-wrap:wrap; align-items:center; gap:clamp(35px,6vw,90px);"> | ||
<div style="flex:1 1 450px; min-width:0; text-align: | <div class="fed-home-copy" style="flex:1 1 450px; min-width:0; text-align:right; padding-right:0;"> | ||
{{#if:{{{Title|}}}| | {{#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;"> | <div class="fed-home-title" 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}}} | {{{Title}}} | ||
</div> | </div> | ||
}} | }} | ||
<div style="font-family:Inter,system-ui,sans-serif; font-size:clamp(18px,1.5vw,25px); line-height:1.65; text-align: | <div class="fed-home-body" style="font-family:Inter,system-ui,sans-serif; font-size:clamp(18px,1.5vw,25px); line-height:1.65; text-align:right;"> | ||
{{{Text|}}} | {{{Text|}}} | ||
</div> | </div> | ||
| Line 31: | Line 32: | ||
</div> | </div> | ||
<div | {{#if:{{{Image|}}}| | ||
<div class="fed-home-image" style="aspect-ratio:4 / 3;"> | |||
[[File:{{{Image}}}|frameless|800px|link=|alt={{{Title|}}}]] | |||
</div> | </div> | ||
}} | |||
</div> | </div> | ||
| Line 41: | Line 42: | ||
|Image left / text right= | |Image left / text right= | ||
<div style="display:flex; flex-wrap:wrap; align-items:center; gap:clamp(35px,6vw,90px);"> | <div class="fed-home-row" style="display:flex; flex-wrap:wrap; align-items:center; gap:clamp(35px,6vw,90px);"> | ||
<div | {{#if:{{{Image|}}}| | ||
<div class="fed-home-image" style="aspect-ratio:4 / 3;"> | |||
[[File:{{{Image}}}|frameless|800px|link=|alt={{{Title|}}}]] | |||
</div> | </div> | ||
}} | |||
<div style="flex:1 1 450px; min-width:0; text-align:left;"> | <div class="fed-home-copy" style="flex:1 1 450px; min-width:0; text-align:left;"> | ||
{{#if:{{{Title|}}}| | {{#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;"> | <div class="fed-home-title" 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}}} | {{{Title}}} | ||
</div> | </div> | ||
}} | }} | ||
<div style="font-family:Inter,system-ui,sans-serif; font-size:clamp(18px,1.5vw,25px); line-height:1.65;"> | <div class="fed-home-body" style="font-family:Inter,system-ui,sans-serif; font-size:clamp(18px,1.5vw,25px); line-height:1.65;"> | ||
{{{Text|}}} | {{{Text|}}} | ||
</div> | </div> | ||
| Line 74: | Line 75: | ||
|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=" | <div class="fed-home-image fed-home-image-centered" style="aspect-ratio:14 / 7;"> | ||
[[File:{{{Image}}}|frameless| | [[File:{{{Image}}}|frameless|1200px|link=|alt={{{Title|}}}]] | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{Title|}}}| | {{#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;"> | <div class="fed-home-title" 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}}} | {{{Title}}} | ||
</div> | </div> | ||
}} | }} | ||
<div style="font-family:Inter,system-ui,sans-serif; font-size:clamp(18px,1.5vw,24px); line-height:1.7;"> | <div class="fed-home-body" style="font-family:Inter,system-ui,sans-serif; font-size:clamp(18px,1.5vw,24px); line-height:1.7;"> | ||
{{{Text|}}} | {{{Text|}}} | ||
</div> | </div> | ||
| Line 104: | Line 105: | ||
}} | }} | ||
</div> | |||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
Latest revision as of 09:40, 3 December 2026
Editorial homepage section layouts.