From 18321ad1c5c09534e39817d9b75070b5481950bd Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 17 Nov 2021 17:43:40 +0100 Subject: Improved list, made header sticky, removed git link --- assets/css/components/_card-list.scss | 6 +++++- assets/css/components/_header.scss | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'assets/css') diff --git a/assets/css/components/_card-list.scss b/assets/css/components/_card-list.scss index 0f44b00..7455193 100644 --- a/assets/css/components/_card-list.scss +++ b/assets/css/components/_card-list.scss @@ -23,6 +23,10 @@ } @include element('category-title') { + display: inline-block; + margin-top: 0; + margin-right: 1em; + :link, :visited { text-decoration: none; @@ -33,7 +37,7 @@ } } - @include element('category-subtitle') { + @include element('category-description') { display: block; p { diff --git a/assets/css/components/_header.scss b/assets/css/components/_header.scss index 9afa2e6..1470bea 100644 --- a/assets/css/components/_header.scss +++ b/assets/css/components/_header.scss @@ -72,6 +72,8 @@ } @include media('>=lg') { + position: sticky; + top: 2px; margin-bottom: calc(-.75 * #{prop(--dims --height)}); } } -- cgit v1.2.3-70-g09d2