From: Michael Tremer Date: Tue, 5 May 2020 22:19:31 +0000 (+0100) Subject: Make the wiki slightly narrower by dropping the sidebar X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0a637f9251052c03fdfe8a72c4a0c6367dbe29d4;p=ipfire.org.git Make the wiki slightly narrower by dropping the sidebar Signed-off-by: Michael Tremer --- diff --git a/src/scss/_variables.scss b/src/scss/_variables.scss index 749b58f5..2b781ed3 100644 --- a/src/scss/_variables.scss +++ b/src/scss/_variables.scss @@ -33,17 +33,6 @@ $code-color: $white; $pre-color: $white; $table-color: inherit; -// Breakpoints -$grid-breakpoints: ( - xs: 0, - sm: 600px, - md: 768px, - lg: 1024px, - xl: 1280px -); - -$grid-gutter-width: 24px; - $border-radius: 5px; $border-radius-lg: 5px; diff --git a/src/scss/style.scss b/src/scss/style.scss index 521a4af4..960f8c3a 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -51,6 +51,15 @@ body { display: flex; min-height: 100vh; flex-flow: column; + + // Make the wiki slightly narrower + &.wiki-ipfire-org { + @include media-breakpoint-up(xl) { + .container { + max-width: 900px; + } + } + } } // Buttons diff --git a/src/templates/base.html b/src/templates/base.html index 3a56f88c..6540cff7 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -20,7 +20,7 @@ {% block head %}{% end block %} - +