From b4c56320060548dacde62639876c6aee72b297ea Mon Sep 17 00:00:00 2001 From: sthag Date: Sun, 8 Mar 2026 14:53:01 +0100 Subject: [PATCH] feat: Add paired list element style - .link for list elements - Changed from .list_link --- elements/_grouping.scss | 52 ++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/elements/_grouping.scss b/elements/_grouping.scss index 737efac..e9f92fb 100644 --- a/elements/_grouping.scss +++ b/elements/_grouping.scss @@ -159,6 +159,32 @@ ol { @extend .float_space_left; } } + + &.link { + li { + margin-bottom: config.$space_tiny * 2; + text-transform: uppercase; + + a { + display: block; + padding: config.$padding_basic; + color: config.$color_text_basic; + + img { + margin-right: config.$space_basic; + padding-bottom: 0.2em; + vertical-align: text-bottom; + } + + &:active, + &:focus, + &:hover { + background-color: config.$color_action_basic; + color: config.$color_highlight_basic; + } + } + } + } } menu { @@ -203,32 +229,6 @@ ul { } } -.list_link { - li { - margin-bottom: config.$space_tiny * 2; - text-transform: uppercase; - - a { - display: block; - padding: config.$padding_basic; - color: config.$color_text_basic; - - img { - margin-right: config.$space_basic; - padding-bottom: 0.2em; - vertical-align: text-bottom; - } - - &:active, - &:focus, - &:hover { - background-color: config.$color_action_basic; - color: config.$color_highlight_basic; - } - } - } -} - // Embedded // ----------------------------------------------------------------------------- figure {