From da19e0ef0eb7d7b225c0f0643edcd90c671af967 Mon Sep 17 00:00:00 2001 From: kouloumos Date: Fri, 17 Nov 2023 19:39:53 +0200 Subject: [PATCH] add banner for review.btctranscripts add banner on top of page for awareness to the review.btctranscripts project --- themes/ace-documentation/assets/css/ace.scss | 8 ++++++++ themes/ace-documentation/layouts/_default/baseof.html | 10 ++++++++++ 2 files changed, 18 insertions(+) diff --git a/themes/ace-documentation/assets/css/ace.scss b/themes/ace-documentation/assets/css/ace.scss index 1ee0544c1e..956563aa8b 100644 --- a/themes/ace-documentation/assets/css/ace.scss +++ b/themes/ace-documentation/assets/css/ace.scss @@ -155,3 +155,11 @@ a { img { width: 100%; } + +.sticky-banner { + position: -webkit-sticky; + position: sticky; + top: 56px; /* based on the height of the navbar */ + z-index: 1020; + font-size: $font-size-sm; + } \ No newline at end of file diff --git a/themes/ace-documentation/layouts/_default/baseof.html b/themes/ace-documentation/layouts/_default/baseof.html index 589a5434e0..786210a775 100644 --- a/themes/ace-documentation/layouts/_default/baseof.html +++ b/themes/ace-documentation/layouts/_default/baseof.html @@ -5,6 +5,16 @@ {{- partial "header.html" . -}} +