aboutsummaryrefslogtreecommitdiff
path: root/src/App.scss
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2024-02-28 01:23:43 +0200
committerHenry Jameson <me@hjkos.com>2024-02-28 01:23:43 +0200
commitfe93717d47792eef88f4ec6200260f457d1e0bd2 (patch)
tree1c828e4953f36bdf69be5d3e33c136c7cd13ef7d /src/App.scss
parentf4d48e401abd7789968e0b3decd50fc62bd7bc29 (diff)
consistent menu-items
Diffstat (limited to 'src/App.scss')
-rw-r--r--src/App.scss29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/App.scss b/src/App.scss
index 61ab44e6..2476791c 100644
--- a/src/App.scss
+++ b/src/App.scss
@@ -366,17 +366,42 @@ nav {
}
.menu-item {
+ display: block;
+ box-sizing: border-box;
border: none;
outline: none;
text-align: initial;
font-size: inherit;
font-family: inherit;
+ font-weight: 400;
cursor: pointer;
color: inherit;
+ clear: both;
position: relative;
border-bottom: 1px solid;
+ white-space: nowrap;
border-color: var(--border);
width: 100%;
+ line-height: var(--__line-height);
+ padding: var(--__vertical-gap) var(--__horizontal-gap);
+
+ --__line-height: 1.5em;
+ --__horizontal-gap: 0.75em;
+ --__vertical-gap: 0.5em;
+
+ a,
+ button {
+ text-align: initial;
+ padding: 0;
+ background: none;
+ border: none;
+ outline: none;
+ display: inline;
+ font-size: 100%;
+ font-family: inherit;
+ line-height: unset;
+ color: var(--text);
+ }
&:first-child {
border-top-right-radius: var(--roundness);
@@ -693,6 +718,10 @@ option {
&.iconLetter {
font-size: 1.1em;
}
+
+ &.svg-inline--fa {
+ vertical-align: -0.15em;
+ }
}
.fa-old-padding {