|
|
| Line 1: |
Line 1: |
| <templatestyles src="Saintapedia:Main Page/styles.css" /> | | <templatestyles src="Saintapedia:Main Page/styles.css" /> |
| <div id="mp-topbanner" class="mp-box"> | | |
| {{Portal:Homepage/Welcome}} | | <!-- ==================== A : Top / Welcome (full width) ==================== --> |
| </div> | | {{Portal:Homepage/Welcome}} <!-- your existing welcome box, already full-width --> |
| <div id="mp-upper" style="display: flex; gap: 0.5em;"> | | |
| <div id="mp-left" class="MainPageBG mp-box" style="border: none; background: #faf8f1 !important; flex: 1;">
| | <!-- ==================== Two equal columns (C left + D right) ==================== --> |
| <div style="border:1px solid #a79c83; background:#faf8f1; color:black; margin-bottom:0.5em;"> | | {{Portal two equal columns}} <!-- this template starts the two-column layout --> |
| <h2 style="background:#e7dcc3; color:black; margin:0; padding:0.5em; font-size:1.3em; border-bottom:1px solid #a79c83;">Saints of the Day</h2> | | |
| <div class="mp-contains-float" style="padding:0.8em;">{{Saintapedia:Calendar/{{#time:F j}}}}
| | <!-- ====================== C : Left column boxes ====================== --> |
| <small>''[{{fullurl:Saintapedia:Calendar/{{#time:F d}}|veaction=edit}} Edit or add another item] - [[Saintapedia:Calendar|More items...]]''</small><br /> | | {{Portal left column start}} |
| Yearly - [[List of saints]] and [[Saintapedia:Feast days]]</div> | | |
| </div>
| | {{Portal box |
| <div style="border:1px solid #a79c83; background:#faf8f1; color:black; margin-bottom:0.5em;">
| | | header = Saints of the Day |
| <h2 style="background:#e7dcc3; color:black; margin:0; padding:0.5em; font-size:1.3em; border-bottom:1px solid #a79c83;">Contents</h2>
| | | id = saints-of-the-day |
| <div id="mp-dyk" class="mp-contains-float" style="padding:0.8em;">{{Portal:Homepage/Section 21}}</div>
| | | content = {{Saintapedia:Calendar/{{#time:F j}}}} |
| </div>
| | <small>''[{{fullurl:Saintapedia:Calendar/{{#time:F d}}|veaction=edit}} Edit or add another item] - [[Saintapedia:Calendar|More items...]]''</small><br /> |
| <div style="border:1px solid #a79c83; background:#faf8f1; color:black; margin-bottom:0.5em;">
| | Yearly - [[List of saints]] and [[Saintapedia:Feast days]] |
| <h2 style="background:#e7dcc3; color:black; margin:0; padding:0.5em; font-size:1.3em; border-bottom:1px solid #a79c83;">About</h2>
| | }} |
| <div style="padding:0.8em;">{{Portal:Homepage/Section 24}}</div>
| | |
| </div>
| | {{Portal box |
| </div>
| | | header = Contents |
| <div id="mp-center" class="MainPageBG mp-box" style="border: none; background: #faf8f1 !important; flex: 1;"> | | | id = contents |
| <div style="border:1px solid #a79c83; background:#faf8f1; color:black; margin-bottom:0.5em;">
| | | content = {{Portal:Homepage/Section 21}} |
| <h2 style="background:#e7dcc3; color:black; margin:0; padding:0.5em; font-size:1.3em; border-bottom:1px solid #a79c83;">Featured saints</h2>
| | }} |
| <div class="mp-contains-float" style="padding:0.8em;">{{Random subpage|page=Portal:Saints/Featured|start=1|end=11}}</div>
| | |
| </div>
| | {{Portal box |
| <div style="border:1px solid #a79c83; background:#faf8f1; color:black; margin-bottom:0.5em;">
| | | header = About |
| <h2 style="background:#e7dcc3; color:black; margin:0; padding:0.5em; font-size:1.3em; border-bottom:1px solid #a79c83;">Drilldown</h2>
| | | id = about |
| <div class="mp-contains-float" style="padding:0.8em;">{{Portal:Homepage/Section 25}}</div>
| | | content = {{Portal:Homepage/Section 24}} |
| </div>
| | }} |
| </div>
| | |
| <div id="mp-right" class="MainPageBG mp-box" style="border: none; background: #faf8f1 !important; flex: 1;">
| | {{Portal left column end}} |
| <div style="border:1px solid #a79c83; background:#faf8f1; color:black; margin-bottom:0.5em;">
| | |
| <h2 style="background:#e7dcc3; color:black; margin:0; padding:0.5em; font-size:1.3em; border-bottom:1px solid #a79c83;">Portals</h2>
| | <!-- ====================== D : Right / Featured column ====================== --> |
| <div style="padding:0.8em;">{{Portal:Homepage/Portals}}</div>
| | {{Portal right column start}} |
| </div>
| | |
| <div style="background:#faf8f1; color:black; margin-bottom:0.2em;"> | | {{Portal box |
| <div id="mp-otd" class="mp-contains-float" style="padding:0.8em;">{{Random portal component|max=13|header=Featured videos|subpage=Videos|rootpage=Portal:Homepage}}</div>
| | | header = Featured saints |
| </div>
| | | id = featured-saints |
| </div> | | | content = {{Random subpage|page=Portal:Saints/Featured|start=1|end=11}} |
| </div>
| | }} |
| <noinclude>{{#if:{{Wikipedia:Main Page/Tomorrow}}||}}</noinclude>__NOTOC____NOEDITSECTION__
| | |
| | {{Portal box |
| | | header = Drilldown |
| | | id = drilldown |
| | | content = {{Portal:Homepage/Section 25}} |
| | }} |
| | |
| | {{Portal box |
| | | header = Featured videos |
| | | id = featured-videos |
| | | content = {{Random portal component|max=13|subpage=Videos|rootpage=Portal:Homepage}} |
| | }} |
| | |
| | {{Portal right column end}} |
| | |
| | {{Portal two equal columns end}} <!-- closes the two-column section --> |
| | |
| | <!-- ==================== E : Bottom full-width sections ==================== --> |
| | {{Portal full width start}} |
| | |
| | {{Portal box |
| | | header = Portals |
| | | content = {{Portal:Homepage/Portals}} <!-- your big portals list --> |
| | }} |
| | |
| | <!-- If you have any Wikimedia/sister-project links, categories, etc., add more boxes here --> |
| | |
| | {{Portal full width end}} |
| | |
| | __NOTOC__ __NOEDITSECTION__ |
| [[Category:Portals]] | | [[Category:Portals]] |
| <!-- For mobile responsiveness, ensure this is in Saintapedia:Main Page/styles.css:
| |
| @media screen and (max-width: 720px) {
| |
| #mp-upper {
| |
| flex-direction: column;
| |
| gap: 0.5em;
| |
| }
| |
| #mp-left, #mp-center, #mp-right {
| |
| flex: none;
| |
| }
| |
| }
| |
| This stacks the columns vertically on smaller screens while keeping them balanced side-by-side on desktop. -->
| |