Files
2martens.de/_assets/css/main.css.scss
Jim Martens 37ae869a58 Fixed #14
Signed-off-by: Jim Martens <github@2martens.de>
2017-12-29 12:16:08 +01:00

71 lines
1.0 KiB
SCSS

@charset "UTF-8";
// Import partials from `sass_dir` (defaults to `_sass`)
@import
"bootstrap-custom"
;
.site-header > .navbar {
//border-top: 5px solid $dark;
border-bottom: 2px solid $light;
}
$navbarHeight: 58px;
.large {
font-size: $font-size-lg;
}
#submenuNavbar {
top: $navbarHeight;
}
#main {
margin-top: $navbarHeight + 15px;
margin-bottom: $navbarHeight + 15px;
}
#main.submenu {
margin-top: 2*$navbarHeight + 15px;
}
*[id]:before {
display: block;
content: " ";
margin-top: -2*$navbarHeight; // Set the Appropriate Height
height: 2*$navbarHeight; // Set the Appropriate Height
visibility: hidden;
}
.site-header > .navbar {
background-color: $body-bg;
}
.site-footer {
border-top: 2px solid $light;
background-color: $body-bg;
}
.post-content, p {
text-align: justify;
}
.post-title {
font-weight: $font-weight-normal;
}
.card.sidebar {
width: 20rem;
}
@include media-breakpoint-up(md) {
#main {
margin-bottom: 295px;
}
}
@include media-breakpoint-down(sm) {
.md-up {
display: none;
}
}