feat: Add paired list element style

- .link for list elements
- Changed from .list_link
This commit is contained in:
sthag 2026-03-08 14:53:01 +01:00
parent 45bb274db1
commit b4c5632006

View file

@ -159,6 +159,32 @@ ol {
@extend .float_space_left; @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 { 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 // Embedded
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
figure { figure {