mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
774b300e17
Bootstrap 5: Basic page layout styles GitOrigin-RevId: a3de86b8abdbdb7b31b4ede7511a12b6fd925a13
31 lines
605 B
SCSS
31 lines
605 B
SCSS
$header-height: 68px;
|
|
$footer-height: 50px;
|
|
|
|
.content {
|
|
min-height: 100vh;
|
|
padding-top: $header-height + $spacing-08;
|
|
padding-bottom: $spacing-08;
|
|
}
|
|
|
|
.content-alt {
|
|
background-color: $bg-light-secondary;
|
|
}
|
|
|
|
// Page header/separator
|
|
.page-separator,
|
|
.page-header {
|
|
padding-bottom: $spacing-05;
|
|
border-bottom: 1px solid $border-divider;
|
|
margin: 0;
|
|
|
|
// Apply margin above or below this header/separator only when it has a sibling
|
|
* > * + &,
|
|
* > & + * {
|
|
margin-top: $spacing-08;
|
|
}
|
|
}
|
|
|
|
// Horizontal rule. Override Bootstrap's 25% opacity, which we don't want
|
|
hr {
|
|
opacity: unset;
|
|
}
|