Template:Home section: Difference between revisions
Appearance
Created page with " <includeonly> <div style="max-width:1000px; margin:30px auto; padding:22px; border-radius:18px; background:#f7f7f7; box-sizing:border-box; color:#111;"> {{#switch: {{{Layout|Image left / text right}}} |Text left / image right= <div style="display:flex; flex-wrap:wrap; align-items:center; gap:24px;"> <div style="flex:1 1 300px; min-width:0; font-family:Inter,system-ui,sans-serif; line-height:1.7;"> {{#if:{{{Title|}}}|<h2 style="font-family:Georgia,serif; font-size:1...." |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="max-width: | <div style="width:100%; max-width:1280px; margin:0 auto; padding:65px 24px; box-sizing:border-box;"> | ||
{{#switch: {{{Layout|Image left / text right}}} | {{#switch: {{{Layout|Image left / text right}}} | ||
| Line 7: | Line 7: | ||
|Text left / image right= | |Text left / image right= | ||
<div style="display:flex; flex-wrap:wrap; align-items:center; gap: | <div style="display:flex; flex-wrap:wrap; align-items:center; gap:clamp(30px,5vw,75px);"> | ||
<div style="flex:1 1 380px; min-width:0;"> | |||
<div style="flex:1 1 | {{#if:{{{Title|}}}|<h2 style="font-family:Georgia,serif; font-size:clamp(2rem,4vw,3.4rem); font-weight:normal; line-height:1.12; margin:0 0 24px;">{{{Title}}}</h2>}} | ||
{{#if:{{{Title|}}}|<h2 style="font-family:Georgia,serif; font-size: | <div style="font-family:Inter,system-ui,sans-serif; font-size:1.12rem; line-height:1.85;"> | ||
{{{Text|}}} | {{{Text|}}} | ||
</div> | </div> | ||
{{#if:{{{Button text|}}}|<p style="margin-top:30px;"><span class="plainlinks">[{{{Button URL}}} <span class="btn btn-blue">{{{Button text}}}</span>]</span></p>}} | |||
<div style="flex:1 1 | </div> | ||
{{#if:{{{Image|}}}|[[File:{{{Image}}}|frameless|center| | <div style="flex:1 1 450px; min-width:0;"> | ||
{{#if:{{{Image|}}}|[[File:{{{Image}}}|frameless|center|600px|alt={{{Title|}}}]]}} | |||
</div> | </div> | ||
</div> | </div> | ||
|Centered= | |Centered= | ||
<div style="max-width: | <div style="max-width:1100px; margin:0 auto; text-align:center;"> | ||
{{#if:{{{Image|}}}|[[File:{{{Image}}}|frameless|center| | {{#if:{{{Image|}}}|[[File:{{{Image}}}|frameless|center|1000px|alt={{{Title|}}}]]}} | ||
{{#if:{{{Title|}}}|<h2 style="font-family:Georgia,serif; font-size: | {{#if:{{{Title|}}}|<h2 style="font-family:Georgia,serif; font-size:clamp(2rem,4vw,3.5rem); font-weight:normal; line-height:1.15; margin:35px 0 20px;">{{{Title}}}</h2>}} | ||
<div style="font-family:Inter,system-ui,sans-serif; line-height:1. | <div style="font-family:Inter,system-ui,sans-serif; font-size:1.12rem; line-height:1.85; max-width:750px; margin:auto;"> | ||
{{#if:{{{Button text | {{{Text|}}} | ||
</div> | |||
{{#if:{{{Button text|}}}|<p style="margin-top:30px;"><span class="plainlinks">[{{{Button URL}}} <span class="btn btn-blue">{{{Button text}}}</span>]</span></p>}} | |||
</div> | </div> | ||
|#default= | |#default= | ||
<div style="display:flex; flex-wrap:wrap; align-items:center; gap: | <div style="display:flex; flex-wrap:wrap; align-items:center; gap:clamp(30px,5vw,75px);"> | ||
<div style="flex:1 1 450px; min-width:0;"> | |||
<div style="flex:1 1 | {{#if:{{{Image|}}}|[[File:{{{Image}}}|frameless|center|600px|alt={{{Title|}}}]]}} | ||
{{#if:{{{Image|}}}|[[File:{{{Image}}}|frameless|center| | |||
</div> | </div> | ||
<div style="flex:1 1 380px; min-width:0;"> | |||
<div style="flex:1 1 | {{#if:{{{Title|}}}|<h2 style="font-family:Georgia,serif; font-size:clamp(2rem,4vw,3.4rem); font-weight:normal; line-height:1.12; margin:0 0 24px;">{{{Title}}}</h2>}} | ||
{{#if:{{{Title|}}}|<h2 style="font-family:Georgia,serif; font-size: | <div style="font-family:Inter,system-ui,sans-serif; font-size:1.12rem; line-height:1.85;"> | ||
{{{Text|}}} | {{{Text|}}} | ||
</div> | </div> | ||
{{#if:{{{Button text|}}}|<p style="margin-top:30px;"><span class="plainlinks">[{{{Button URL}}} <span class="btn btn-blue">{{{Button text}}}</span>]</span></p>}} | |||
</div> | |||
</div> | </div> | ||
| Line 51: | Line 51: | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Homepage editorial section template. | |||
</noinclude> | </noinclude> | ||
Revision as of 12:21, 16 November 2026
Homepage editorial section template.