Skip to content

Commit

Permalink
stuff that was forgotten in the 2.1.0 release somehow
Browse files Browse the repository at this point in the history
  • Loading branch information
bboc committed Feb 22, 2022
1 parent c43c5c9 commit 0aa4ac3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 17 deletions.
9 changes: 2 additions & 7 deletions docs/_sass/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
}
}
}

.main-nav {
$main-nav-width: 230px;
float: left;
Expand All @@ -61,19 +62,15 @@
//
// Content
// --------------------------------------------------------------------------

.content-container {
//display: block;
//overflow: hidden;

float: right;
padding-right: $spacing-unit;
padding-left: $spacing-unit;
}

article.post {
max-width: $content-max-width;
margin-top: $spacing-unit / 2 ;
margin-top: $spacing-unit / 2;
margin-left: auto;
margin-right: auto;

Expand Down Expand Up @@ -105,14 +102,12 @@ article.post {
//
// Footer
// --------------------------------------------------------------------------

.site-footer {
margin-top: $spacing-unit / 2;
.footer-top {
padding-top: $spacing-unit / 2;
padding-bottom: $spacing-unit / 2;
}

.footer-col-bottom-right {
text-align: right;
@include media-breakpoint-down(sm) {
Expand Down
19 changes: 9 additions & 10 deletions docs/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ $base-font-size: 14px;
//maximum with of the content box
$content-max-width: 800px;

// TODO: there must be a Bootrstrap way to achieve this…
$spacing-unit: 30px;

$text-color: #111;
Expand Down Expand Up @@ -49,15 +48,15 @@ $headline-color: $grey-color-dark;
"zoomify"
;

//Responsive containers: 100% wide until specified breakpoint is reached, after that max-widths
//Responsive containers: 100% wide until specified breakpoint is reached, after that max-width:
//.container-sm / .container-md / .container-lg / .container-xl
// Responsive breakpoints:
// xs <576px / sm ≥576px / md ≥768px / lg ≥992px / xl ≥1200px
// Small devices (landscape phones, 576px and up)
@include media-breakpoint-up(sm) { }
// Small devices (landscape phones, less than 768px)
@include media-breakpoint-down(sm) { }
// Small devices (landscape phones, 576px and up)
@include media-breakpoint-only(sm) { }
// Apply styles starting from medium devices and up to extra large devices
@include media-breakpoint-between(md, xl) { }
// Small devices (landscape phones, 576px and up):
// @include media-breakpoint-up(sm) { }
// Small devices (landscape phones, less than 768px):
// @include media-breakpoint-down(sm) { }
// Small devices (landscape phones, 576px and up):
// @include media-breakpoint-only(sm) { }
// Apply styles starting from medium devices and up to extra large devices:
// @include media-breakpoint-between(md, xl) { }

0 comments on commit 0aa4ac3

Please sign in to comment.