From 246bffc42c5d02acb404fdc46fdf2fe233dfa7f0 Mon Sep 17 00:00:00 2001 From: Kresnadi Budisantoso Date: Mon, 9 Aug 2021 10:41:43 +0200 Subject: [PATCH] Optimize breadcrumbs in manual CSS --- paligo-styles/manual.scss | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/paligo-styles/manual.scss b/paligo-styles/manual.scss index 9170635c5..2da313af0 100644 --- a/paligo-styles/manual.scss +++ b/paligo-styles/manual.scss @@ -7,22 +7,29 @@ margin-bottom: 50px; } -.breadcrumb { - font-size: 14px; - line-height: 18px; - font-weight: 600; - - a { - color: $accent; - - &:hover { - color: $primary; - text-decoration: underline; - } +.topic-content { + .breadcrumb-container { + // if paligo exports with sticky header, the breadcumbs disappear under the header without this margin + margin-top: 40px; } - .breadcrumb-node { - color: $primary; + .breadcrumb { + font-size: 14px; + line-height: 18px; + font-weight: 600; + + a { + color: $accent; + + &:hover { + color: $primary; + text-decoration: underline; + } + } + + .breadcrumb-node { + color: $primary; + } } }