Main Page: Difference between revisions

Day link as a button next to the portal button
Responsive grid: always 2 columns, 1 on narrow screens
Line 1: Line 1:
__NOTOC__
<templatestyles src="Main Page/styles.css" />__NOTOC__
__NOEDITSECTION__
__NOEDITSECTION__
<div style="text-align:center; font-size:200%; font-weight:bold; line-height:1.3; margin:0.3em 0 0.4em;">[[Chabadpedia:Welcome|Welcome]] to [[Chabadpedia]]</div>
<div style="text-align:center; font-size:200%; font-weight:bold; line-height:1.3; margin:0.3em 0 0.4em;">[[Chabadpedia:Welcome|Welcome]] to [[Chabadpedia]]</div>
Line 14: Line 14:
</div>
</div>
</div>
</div>
<div style="display:grid; grid-template-columns:repeat(auto-fit, minmax(360px, 1fr)); gap:1em; align-items:stretch; margin-bottom:1em;">
<div class="mp-grid">
<div style="border:1px solid #8aa6cf; border-radius:8px; background:#f6f9fd; height:100%; box-sizing:border-box; display:flex; flex-direction:column; overflow:hidden;">
<div style="border:1px solid #8aa6cf; border-radius:8px; background:#f6f9fd; height:100%; box-sizing:border-box; display:flex; flex-direction:column; overflow:hidden;">
<div style="display:flex; align-items:center; gap:0.5em; height:2.6em; box-sizing:border-box; background:#dde8f6; border-bottom:1px solid #8aa6cf; padding:0 1em; font-size:125%; font-weight:bold; color:#202122;">[[File:אייקון נשיאי חבד.png|x30px|link=Portal:Rebbes of Chabad|Rebbes of Chabad]] Rebbes of Chabad</div>
<div style="display:flex; align-items:center; gap:0.5em; height:2.6em; box-sizing:border-box; background:#dde8f6; border-bottom:1px solid #8aa6cf; padding:0 1em; font-size:125%; font-weight:bold; color:#202122;">[[File:אייקון נשיאי חבד.png|x30px|link=Portal:Rebbes of Chabad|Rebbes of Chabad]] Rebbes of Chabad</div>