baz_april/squelettes/scss/styles/_layout.scss

69 lines
1.1 KiB
SCSS
Raw Permalink 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;
2021-06-10 18:07:44 +02:00
z-index: 10;
}
@include media($bp-medium-up) {
.page_main_content {
display: flex;
justify-content: space-between;
}
.page_aside {
min-width: em(330px);
width: em(330px);
margin-left: 3em;
}
.page_content {
width: 100%;
}
}
@include media($bp-large-up) {
.page_aside {
min-width: em(430px);
width: em(430px);
}
}