From ff0943fa18d8741b922b4ccd9f76b26acdc262d2 Mon Sep 17 00:00:00 2001 From: Geoff Doty Date: Fri, 19 Jan 2024 16:03:36 -0500 Subject: [PATCH] clean up --- src/stylelite.css | 19 +++++-------------- src/switch.css | 6 +++--- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/src/stylelite.css b/src/stylelite.css index da9a929..1a7d55b 100644 --- a/src/stylelite.css +++ b/src/stylelite.css @@ -119,15 +119,6 @@ blockquote.warn {background: #FEF9E7; color: var(--warning) ; border: 1px solid blockquote.success {background: #EAFAF1; color: var(--success); border: 1px solid var(--success)} blockquote.default {background: #EEE; color: var(--dark); border: 1px solid var(--dark)} -code { - background: var(--default); - font-family: monospace; -} - -blockquote code, details code { - color: var(--bg); -} - hr { color: var(--theme); border: 1px solid; @@ -337,8 +328,8 @@ nav { border-bottom: 1px solid var(--theme); } -nav ul { - margin:0; +nav > ul { + margin: 0 0 0 -2rem; display: flex; list-style-type: none; @@ -352,7 +343,6 @@ nav ul li a { nav ul li a:hover {opacity: .75;} - /* Grid System */ .grid { @@ -390,7 +380,8 @@ nav ul li a:hover {opacity: .75;} /* Utilities */ -.group {display: flex} +.group {display: flex;} +.cursor {cursor: pointer;} .right {float:right} .left {float:left} .center {text-align: center;} @@ -409,5 +400,5 @@ nav ul li a:hover {opacity: .75;} .rounded {border-radius: calc(var(--size) / 4);} .no-border {border: none} .no-padding {padding: 0} -.no-margin {padding: 0} +.no-margin {margin: 0} .no-theme {--theme: var(--fg)} diff --git a/src/switch.css b/src/switch.css index 50c4f7b..fe4d2d6 100644 --- a/src/switch.css +++ b/src/switch.css @@ -11,7 +11,7 @@ input[type="checkbox"][role="switch"] { /* border-radius: 1em; */ vertical-align: text-bottom; margin: auto; - color: inherit; + color: var(--theme, inherit); } input[type="checkbox"][role="switch"]::before { @@ -31,6 +31,6 @@ input[type="checkbox"][role="switch"]::before { input[type="checkbox"][role="switch"]:checked::before { left: 1em; - background: var(--primary, #000); - border: 1px solid var(--primary, #000); + background: var(--theme, #000); + border: 1px solid var(--theme, #000); } \ No newline at end of file