drupal-erable/web/themes/erabletheme/scss/global/_global.scss

66 lines
1.0 KiB
SCSS

/* main[role="main"] {
margin-top: 10vh;
@media (min-width: $breakpoint_desktop) {
margin-top: calc(10vh + 3rem);
}
} */
body {
height: 100vh;
overflow: scroll;
.layout-container {
position: relative;
display: flex;
flex-direction: column;
//height: 100%;
header {
z-index: 2;
}
main {
z-index: 1;
padding: 0.5rem;
@media screen and (min-width: $breakpoint_tablet) {
padding: 0;
}
}
footer {
z-index: 0;
}
#background {
z-index: -1;
}
}
overflow-x: hidden;
}
html {
overflow: hidden;
}
main:has(#block-erabletheme-leprogramme-2),
main:has(#block-erabletheme-views-block-projets-block-1) {
display: flex;
flex-direction: column-reverse;
@media screen and (min-width: $breakpoint_tablet) {
flex-direction: row-reverse;
}
}
strong {
font-weight: bold;
}
em {
font-style: italic;
}
#block-erabletheme-titredepage {
display: none;
}
// debug
/* * {
border: solid 1px red !important;
} */