From 1d6872d1aa801cfe694bff1c02ec2ac6e4f453a7 Mon Sep 17 00:00:00 2001 From: Jack Papel Date: Sun, 3 Dec 2023 01:29:40 -0500 Subject: [PATCH] font sizing compromise + border homogeneity cross-browser --- client/src/index.css | 20 +++++++++++++------- client/src/menu/anchor.css | 4 +++- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/client/src/index.css b/client/src/index.css index bf19d7e67..d27e0558f 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -10,7 +10,7 @@ --hover-color: #2d364e; - font-size: .9em; + font-size: 1em; } *.material-icons-round { @@ -53,11 +53,23 @@ button, input, select, option, textarea, summary { margin: .75%; background-color: var(--secondary-color); border-color: var(--primary-border-color); + border-style: solid; border-width: .13rem; color: white; font-size: 1rem; padding: 0.13rem 0.25rem; } +button, summary { + cursor: default; + border-bottom-color: black; + border-right-color: black; + background-color: var(--primary-color); + white-space: nowrap; +} +input, select, option, textarea { + border-top-color: black; + border-left-color: black; +} :has(input):focus-within > button.clear { display: block; @@ -87,12 +99,6 @@ button:disabled, input:disabled, select:disabled, option:disabled, textarea:disa opacity: 0.5; box-shadow: 0 0 100vmax #55555555 inset; } -button, summary { - cursor: default; - border-style: outset; - background-color: var(--primary-color); - white-space: nowrap; -} summary { text-align: left; padding-left: 0.5rem; diff --git a/client/src/menu/anchor.css b/client/src/menu/anchor.css index 6756d1780..9b78b632b 100644 --- a/client/src/menu/anchor.css +++ b/client/src/menu/anchor.css @@ -20,10 +20,12 @@ box-shadow: 0 0 .5rem #0007; border-radius: 0.4rem; - border-style: outset; + border-style: solid; padding: .5rem; background-color: var(--secondary-color); border-color: var(--primary-border-color); + border-bottom-color: black; + border-right-color: black; border-width: .13rem; color: white;