User:Fen/MainPage: Difference between revisions
improving the main page. It was raisin. It is still incomplete, only the header is done for now. Will move to styling to css page once complete |
done the rest of the page. Will add the templates in tomorrow |
||
Line 31: | Line 31: | ||
<br /> | <br /> | ||
<!-- MAIN CONTENT GRID | <!-- MAIN CONTENT GRID - STYLED --> | ||
< | <div style=" | ||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |||
gap: 1rem; | |||
margin-top: 1em; | |||
font-family: sans-serif; | |||
color: #000; | |||
"> | |||
<!-- LEFT COLUMN --> | <!-- LEFT COLUMN --> | ||
< | <div style="border:1px solid #ccc; background:#f9f9f9; border-radius:6px; padding:1em;"> | ||
<h2> | <h2 style="color:#004080;border-bottom:2px solid #b6d4fe; padding-bottom:0.2em;">Find an Article</h2> | ||
{{ | {{Category:Wiki_root/Main_page}} | ||
<h2> | <h2 style="color:#004080; border-bottom:2px solid #b6d4fe; padding-bottom:0.2em; margin-top:1em;">Current Highlight</h2> | ||
</ | <p> | ||
[[Buy-now-pay-later dark patterns]] are increasingly used to trap consumers in unregulated credit systems. Learn more → [[BNPL Pitfalls]] | |||
</p> | |||
<h2 style="color:#004080;border-bottom:2px solid #b6d4fe; padding-bottom:0.2em; margin-top:1em;">In The News</h2> | |||
<h2 style="color:#004080; border-bottom:2px solid #b6d4fe; padding-bottom:0.2em; margin-top:1em;">Consumer Tools</h2> | |||
<p>(Coming soon...)</p> | |||
</div> | |||
<!-- RIGHT COLUMN --> | <!-- RIGHT COLUMN --> | ||
< | <div style="border:1px solid #ccc; background:#f9f9f9; border-radius:6px; padding:1em;"> | ||
<h2> | <h2 style="color:#004080;border-bottom:2px solid #b6d4fe; padding-bottom:0.2em;">How to Help</h2> | ||
{{ | {{Main_Page/Shortened how to help}} | ||
<h2> | <h2 style="color:#004080; border-bottom:2px solid #b6d4fe; padding-bottom:0.2em; margin-top:1em;">Announcements</h2> | ||
{{Consumer_Rights_Wiki:Announcements}} | |||
<h2> | <h2 style="color:#004080; border-bottom:2px solid #b6d4fe; padding-bottom:0.2em; margin-top:1em;">New Pages</h2> | ||
{{Special:NewPages|namespace=0|limit=15}} | |||
</ | </div> | ||
</ | </div> | ||
<!-- HIDE PAGE TITLE --> | <!-- HIDE PAGE TITLE --> | ||
{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}} | {{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}} |