From 2ae5b0f98cffc206059647752d9bac6f78d7cf8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20Je=C5=BEek?= <252651@mail.muni.cz>
Date: Tue, 18 Jun 2024 11:11:44 +0200
Subject: [PATCH] html and css structure fix

---
 static/custom.css                                |  4 ++++
 themes/hugo-geekdoc/layouts/_default/baseof.html | 13 +++++++------
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/static/custom.css b/static/custom.css
index fd1c407..00ad2df 100644
--- a/static/custom.css
+++ b/static/custom.css
@@ -7,6 +7,10 @@ table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sor
     content: " \25B4\25BE"
 }
 
+.obsolete{
+    filter: saturate(2.5) brightness(.85);
+    border-left: 4px solid #d50000;  
+}
 
 .custom-toc-1 {
  border-left-color:#f2f2f2;
diff --git a/themes/hugo-geekdoc/layouts/_default/baseof.html b/themes/hugo-geekdoc/layouts/_default/baseof.html
index a345ff2..9ffb3b0 100644
--- a/themes/hugo-geekdoc/layouts/_default/baseof.html
+++ b/themes/hugo-geekdoc/layouts/_default/baseof.html
@@ -19,6 +19,13 @@
         {{ $navEnabled := default true .Page.Params.GeekdocNav }}
         {{ partial "site-header" (dict "Root" . "MenuEnabled" $navEnabled) }}
 
+        <blockquote class="container gdoc-hint danger obsolete">
+            <p><strong>WARNING</strong></p>
+            <p>
+                This documentation is obsolete and not maintained anymore, please use new <a class="gdoc-markdown__link" href="https://docs.e-infra.cz/compute/openstack/">e-INFRA CZ documentation</a>
+            </p>  
+        </blockquote>
+        
         <main class="container flex flex-even">
             {{ if $navEnabled }}
             <aside class="gdoc-nav">
@@ -26,12 +33,6 @@
             </aside>
             {{ end }}
             
-            <blockquote class="container gdoc-hint danger obsolete">
-                <p><strong>WARNING</strong></p>
-                <p>
-                    This documentation is obsolete and not maintained anymore, please use new <a class="gdoc-markdown__link" href="https://docs.e-infra.cz/compute/openstack/">e-INFRA CZ documentation</a>
-                </p>  
-            </blockquote>
 
             <div class="gdoc-page">
                 {{ template "main" . }}
-- 
GitLab