From 9b6d4b2b07747af2fbe9f9dcfc0d80178732c7e5 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Thu, 26 Nov 2020 19:48:18 +0100 Subject: [PATCH] Good positioning of nagivation buttons --- scss/partials/_nagivation.scss | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/scss/partials/_nagivation.scss b/scss/partials/_nagivation.scss index 2550cfa..7cd03ec 100644 --- a/scss/partials/_nagivation.scss +++ b/scss/partials/_nagivation.scss @@ -1,15 +1,13 @@ #org-div-home-and-up { - text-align: right; - max-width: 1200px; - margin-left: 300px; + position: absolute; + right: 0; + z-index: 10; + padding: 10px; - @media screen and (max-width: 768px) { - position: fixed; - z-index: 10; - margin: 10px; - right: 0; - > a { - color: black; - } + // Large Screens + @media all and (min-width: $content-max-width+$toc-width) { + right: auto; + width: 1500px; + text-align: right; } }