reduce inline css usage,

fix additional font inconsistencies,
fix px unit used with 0 values
This commit is contained in:
2026-06-09 23:33:27 +00:00
parent 10ef24e76b
commit 8f72aaf255
12 changed files with 144 additions and 113 deletions
+24 -10
View File
@@ -5,7 +5,7 @@ input, select, textarea {
.input-grid {
display: grid;
gap: 5px 10px;
gap: 0.5em 1em;
align-items: center;
width: 100%;
}
@@ -13,12 +13,12 @@ input, select, textarea {
.input-grid * {
margin-top: 0;
margin-bottom: 0;
padding-top: 8px;
padding-bottom: 8px;
padding-top: 0.5em;
padding-bottom: 0.5em;
}
.input-grid input {
padding: 8px;
padding: 0.5em;
}
.input-grid img {
@@ -34,9 +34,8 @@ legend {
width: 100%;
margin: 0;
padding: 0;
line-height: 1.5em;
margin-top: 0.25lh;
margin-bottom: 0.25lh;
margin-top: 0.25em;
margin-bottom: 0.25em;
}
fieldset {
@@ -45,7 +44,7 @@ fieldset {
}
fieldset > *:last-child {
margin-bottom: 8px;
margin-bottom: 0.5em;
}
fieldset > .input-grid {
@@ -67,7 +66,7 @@ input[type="radio"] {
}
.w3-select, select {
padding: 8px;
padding: 0.5em;
}
.w3-check {
@@ -78,10 +77,25 @@ input[type="radio"] {
:not(.input-grid) .input-grid + * {
display: inline-block;
width: 100%;
margin-top: 5px;
margin-top: 0.5em;
}
dialog {
margin: auto;
max-width: calc(min(100% - 16px, 80ch));
color: var(--main-text-color);
}
dialog #prompt {
margin-top: 1em;
margin-bottom: 1em;
text-align: center;
}
dialog button[value="confirm"] {
background-color: var(--positive-color, #0f0); color: var(--lightbg-text-color, black);
}
dialog button[value="cancel"] {
background-color: var(--negative-color, #f00); color: var(--lightbg-text-color, black);
}