Portal:Homepage: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<templatestyles src="Saintapedia:Main Page/styles.css" />
<templatestyles src="Saintapedia:Main Page/styles.css" />
<style>
@media screen and (max-width: 720px) {
#mp-left, #mp-center, #mp-right {
width: 100% !important;
float: none !important;
clear: both;
}
}
</style>
<div id="mp-topbanner" class="mp-box">
<div id="mp-topbanner" class="mp-box">
{{Portal:Homepage/Welcome}}
{{Portal:Homepage/Welcome}}
Line 51: Line 42:
<noinclude>{{#if:{{Wikipedia:Main Page/Tomorrow}}||}}</noinclude>__NOTOC____NOEDITSECTION__
<noinclude>{{#if:{{Wikipedia:Main Page/Tomorrow}}||}}</noinclude>__NOTOC____NOEDITSECTION__
[[Category:Portals]]
[[Category:Portals]]
<!-- To fix the mobile responsiveness without the inline <style> showing up, add this to Saintapedia:Main Page/styles.css:
@media screen and (max-width: 720px) {
  #mp-left, #mp-center, #mp-right {
    width: 100% !important;
    float: none !important;
    clear: both;
  }
}
This way, it loads properly as CSS and stacks the columns on mobile. -->