From 026e95079ed48cbec8dc55e45b8c14b5c893fe27 Mon Sep 17 00:00:00 2001 From: Geoff Doty Date: Wed, 17 Jan 2024 20:31:36 -0500 Subject: [PATCH] theme fieldset/legend --- src/stylelite.css | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/stylelite.css b/src/stylelite.css index 50928e8..76c6589 100644 --- a/src/stylelite.css +++ b/src/stylelite.css @@ -87,17 +87,19 @@ th,td { table.condensed * {padding:0} -fieldset {border: none;padding: 0;} +fieldset {background: #FFF;padding: 1rem;border: 1px solid var(--theme)} legend { font-size: larger; + font-weight: 600; + color: var(--theme); + background: var(--bg); display: block; - width: 100%; - padding: 0; - margin-bottom: 1rem; + width: fit-content; + padding: .25rem .5rem; + margin: 0; line-height: inherit; - border: 0; - border-bottom: 1px solid var(--theme); + border: 1px solid var(--theme); } blockquote {