Give normal weight to checkbox and radio labels

This commit is contained in:
Florine W. Dekker 2022-11-24 18:14:00 +01:00
parent a208f13f4e
commit c71fab3342
Signed by: FWDekker
GPG Key ID: D3DCFAA8A4560BE0
3 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@fwdekker/template",
"version": "3.3.7",
"version": "3.3.8",
"description": "The base template for pages on fwdekker.com.",
"author": "Florine W. Dekker",
"license": "MIT",

View File

@ -4,11 +4,15 @@
--muted-color: hsl(205deg, 15%, 41%) !important;
}
/* pico.css: Bold labels */
/* pico.css: Bold labels, except for checkbox/radio labels */
:root {
--form-label-font-weight: bold;
}
input:where([type="checkbox"], [type="radio"]) + label {
font-weight: normal;
}
/* pico.css: Halve header margins */
h1 {
--typography-spacing-vertical: 1.5rem;

View File

@ -11,7 +11,7 @@
<meta name="fwd:nav:target" content="#nav" />
<meta name="fwd:nav:highlight-path" content="/Tools/Dice/" />
<meta name="fwd:footer:target" content="#footer" />
<meta name="fwd:footer:vcs-url" content="https://git.fwdekker.com/FWDekker/fwdekker-template/" />
<meta name="fwd:footer:vcs-url" content="https://git.fwdekker.com/fwdekker.com/template/" />
<meta name="fwd:footer:version" content="vTEST" />
<meta name="fwd:validation:load-forms" />