From 5d03331f0c3ee9d51d9a8c8d2e8811c3ee5f5731 Mon Sep 17 00:00:00 2001 From: Ana Gelez Date: Fri, 2 Aug 2019 16:53:28 +0200 Subject: [PATCH] Sticky toolbar --- static/css/_article.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/static/css/_article.scss b/static/css/_article.scss index b40fb66b..305d554b 100644 --- a/static/css/_article.scss +++ b/static/css/_article.scss @@ -370,6 +370,14 @@ main .article-meta { background: transparent; align-items: center; justify-content: space-between; + position: fixed; + width: 60%; + padding: 0px 20px; + border: 1px solid $purple; + margin-top: -100px; + max-height: 90px; + background: $background; + button { flex: 0 0 10em; font-size: 1.25em; @@ -383,6 +391,10 @@ main .article-meta { margin-bottom: 0.5em; } + & > h1 { + margin-top: 110px; + } + .placeholder { color: transparentize($black, 0.6); }