baz_april/squelettes/scss/styles/_layout.scss

63 lines
1.0 KiB
SCSS
Raw Normal View History

html, body {
margin: 0;
padding: 0;
height: 100%;
background: white;
}
.page_container {
@include page-container;
}
.page_fullwidth {
@include full_width;
}
.page_wrapper {
// coller le footer en bas de page
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 100vh;
2020-06-05 11:11:09 +02:00
// hauteur invariable de la initiatives
border-top:31px solid $couleurPrincipale;
}
.page_main {
// coller le footer en bas de page
flex-grow: 1;
}
.page_header,
.page_main {
2020-09-16 15:33:54 +02:00
/* margin-bottom: 2em; */
}
2020-06-05 11:11:09 +02:00
// initiatives
.page_header .header_initiatives {
position:absolute;
top:0;
left:0;
right:0;
background-color:$couleurPrincipale;
color:white;
}
@include media($bp-medium-up) {
.page_main_content {
display: flex;
justify-content: space-between;
}
.page_aside {
min-width: em(430px);
width: em(430px);
}
.page_content {
margin-right: 5em;
width: 100%;
}
}