From d8c56989f2ddf3890d6e8908beeb2f5b189fa0d5 Mon Sep 17 00:00:00 2001 From: bedroesb Date: Thu, 27 Jul 2023 14:28:56 +0200 Subject: [PATCH] no header --- _includes/related-pages.html | 8 +++----- _includes/section-navigation-tiles.html | 6 ++---- assets/css/main.scss | 20 +++++++++----------- 3 files changed, 14 insertions(+), 20 deletions(-) diff --git a/_includes/related-pages.html b/_includes/related-pages.html index 8773122b..efab04a1 100644 --- a/_includes/related-pages.html +++ b/_includes/related-pages.html @@ -18,12 +18,10 @@

Related pages

{%- assign page_hit = section_pages | where:"page_id", page_id | first %}
-
+ + {{page_hit.title}} + {%- if page_hit.description %}

{{ page_hit.description}}

{%- endif %} diff --git a/_includes/section-navigation-tiles.html b/_includes/section-navigation-tiles.html index 79232e7b..e6ac0d5c 100644 --- a/_includes/section-navigation-tiles.html +++ b/_includes/section-navigation-tiles.html @@ -64,12 +64,10 @@ {%- endif %}
-
+ -
{%- if current_page.description %}

{{ current_page.description}}

{%- endif %} diff --git a/assets/css/main.scss b/assets/css/main.scss index c0951726..396d5505 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -895,22 +895,20 @@ li.past_event, .card { background-color: $nav-card-bg; - a:not(.stretched-link), - button:not(.stretched-link) { - z-index: 2; - position: relative; - } + a { + color: $nav-card-header-color; + + &:not(.stretched-link), + button:not(.stretched-link) { + z-index: 2; + position: relative; + } - .card-header { padding-bottom: 0; - a:hover { + &:hover { text-decoration: none; } - a { - color: $nav-card-header-color; - } } - button { background-color: $nav-card-badge-bg; color: $nav-card-badge-color;