diff --git a/src/css/group.css b/src/css/group.css index 5f5c3f7a..92c9529b 100644 --- a/src/css/group.css +++ b/src/css/group.css @@ -6,6 +6,10 @@ width: var(--link-area-width); } +.is-group-border .group:not(:first-child):not(:only-child) { + border-top: calc(var(--layout-line-width) * var(--group-border)) solid rgb(var(--theme-accent)); +} + .group:first-child { padding-top: calc(var(--layout-space) * var(--layout-padding)); } @@ -14,6 +18,11 @@ padding-bottom: calc(var(--layout-space) * var(--layout-padding)); } +.is-group-border .group { + padding-top: calc(var(--layout-space) * var(--layout-padding)); + padding-bottom: calc(var(--layout-space) * var(--layout-padding)); +} + .group-header { position: relative; display: flex; diff --git a/src/css/variables.css b/src/css/variables.css index 1b1c6f69..8ad9b5a8 100644 --- a/src/css/variables.css +++ b/src/css/variables.css @@ -40,6 +40,7 @@ --header-transitional-size: 1em; /* group */ --group-name-size: 1em; + --group-border: 0; /* link */ --link-area-width: 100%; --link-item-size: 1em; diff --git a/src/index.html b/src/index.html index 6a3009c9..3b2fbbe4 100644 --- a/src/index.html +++ b/src/index.html @@ -784,6 +784,17 @@ +