Template:MainTemplate: Difference between revisions

From RoR Wiki
Jump to: navigation, search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<style>
.grid-container {
display: grid;
grid-template-areas: 'header header header header header header' 'middle middle middle middle middle right' 'middle2 middle2 middle2 middle2 middle2 right' 'middle3 middle3 middle3 middle3 middle3 right' 'bottom bottom bottom bottom bottom right'
}
@media only screen and (max-width:80rem) {
.grid-container {
grid-template-areas: 'header header header header header header' 'middle middle middle middle right right' 'middle2 middle2 middle2 middle2 right right ' 'middle3 middle3 middle3 middle3 middle3 middle3' 'bottom bottom bottom bottom bottom bottom'
}
}
@media only screen and (max-width:64rem) {
.grid-container {
grid-template-areas: 'header header header header header header' 'middle middle middle middle middle middle' 'middle2 middle2 middle2 middle2 middle2 middle2' 'middle3 middle3 middle3 middle3 middle3 middle3' 'right right right right right right' 'bottom bottom bottom bottom bottom bottom'
}
}
.header {
grid-area: header
}
.bottom {
grid-area: bottom
}
.left {
grid-area: left
}
.right {
grid-area: right
}
.middle {
grid-area: middle
}
.middle2 {
grid-area: middle2
}
.middle3 {
grid-area: middle3
}
</style>
<div class="grid-container">
<div class="grid-container">
<div class="header">{{HeaderTemplate|welcome={{{welcome}}}|blurb={{{blurb}}}}}</div>
<div class="header">{{HeaderTemplate|welcome={{{welcome}}}|blurb={{{blurb}}}}}</div>
<!-- News column -->
<div class="right">{{SectionTemplate|title={{{news_title}}}|content={{{news_content}}} }}</div>
<!-- Sections -->
<!-- Sections -->
<div class="middle">{{SectionTemplate|title={{{about_title}}}|content={{{about_content}}} }}</div>
<div class="middle">{{SectionTemplate|title={{{about_title}}}|content={{{about_content}}} }}</div>

Latest revision as of 13:55, 15 December 2021

{{{welcome}}}

{{{about_title}}}

{{{about_content}}}

{{{sections_title}}}

{{{sections_content}}}

{{{featured_title}}}

{{{featured_content}}}

Main page sections: links · news.