colouring-montreal/app/src/frontend/styles/layout.css

46 lines
727 B
CSS
Raw Normal View History

2018-09-11 15:59:37 -04:00
/**
* Main Layout
*/
2018-11-13 05:44:51 -05:00
main {
2018-09-11 15:59:37 -04:00
position: relative;
min-height: 35rem;
}
@media (min-width: 768px){
2018-11-13 05:44:51 -05:00
main {
2018-09-11 15:59:37 -04:00
position: absolute;
2019-04-28 10:57:21 -04:00
top: 79px; /* matches 79px .main-header */
2018-09-11 15:59:37 -04:00
bottom: 0;
left: 0;
right: 0;
min-height: auto;
}
}
/**
* Text pages
*/
article section {
overflow: hidden;
margin: 2.25em 0 4em;
}
article .color-block {
2018-09-11 15:59:37 -04:00
padding: 2em 0 4em;
margin-top: 0;
margin-bottom: 0;
2018-09-11 15:59:37 -04:00
}
.main-col {
max-width: 48em;
margin-left: auto;
margin-right: auto;
2018-09-11 15:59:37 -04:00
padding-left: 1em;
padding-right: 1em;
}
hr {
display: block;
height: 1px;
border: 0;
background: #000;
width: 100%;
margin: 2em 0;
padding: 0;
}