From 50ef0a4bf7657de4a579a23b15d776a8a0b4a4fe Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 5 Jan 2020 20:08:58 +0100 Subject: [PATCH] Make the layout wider --- assets/style.scss | 13 ++++++++----- content/en/_index.md | 2 -- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/assets/style.scss b/assets/style.scss index 6016ef7b..4edaa6f1 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -15,7 +15,7 @@ $success: #79bd9a; // color7 $transition-in: 100ms linear; $transition-out: 250ms linear; -$content-width: 960px; +$content-width: 1080px; $mobile-width: 600px; /* http://meyerweb.com/eric/tools/css/reset/ @@ -93,12 +93,10 @@ body { } .container { + box-sizing: border-box; max-width: $content-width; margin: 0 auto; - - @media screen and (max-width: $mobile-width) { - padding: 0 20px; - } + padding: 0 20px; } .sidebar-layout { @@ -141,6 +139,10 @@ body { & > ul > li { margin-bottom: 26px; + + &:last-child { + margin-bottom: 0; + } } .sub-title { @@ -433,6 +435,7 @@ main { font-family: 'Roboto Mono', monospace; background-color: lighten($darkest, 8%); border-radius: 3px; + hyphens: none; } pre code { diff --git a/content/en/_index.md b/content/en/_index.md index 37d169e4..b385c731 100644 --- a/content/en/_index.md +++ b/content/en/_index.md @@ -91,8 +91,6 @@ Unlike proprietary services, **anyone has the complete freedom to run, examine, ## Choose your path -![](/assets/elephant.svg) - Learn how to use Mastodon: {{< page-ref page="user/signup.md" >}}