diff --git a/static/custom.css b/static/custom.css index fd1c407ceacc6ba778e4b1705965ee9f2e4bd09b..00ad2df6d0f4397e527a56648013d2288174def0 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 a345ff216269cdab40f57613f0b607743fef53ff..9ffb3b0b0a696615c12cd2b05eddb10483613048 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" . }}