From 08f31d93fcd6504acbf11e765d95f7d56eb01a4d Mon Sep 17 00:00:00 2001 From: munenari Date: Tue, 20 May 2025 10:28:54 +0900 Subject: [PATCH 1/4] Change radio:checked::after size to relative value (to 2em from 32px) --- simple.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/simple.css b/simple.css index 728582b..4dd8f35 100644 --- a/simple.css +++ b/simple.css @@ -203,7 +203,7 @@ input[type="button"] { line-height: normal; } -.button[aria-disabled="true"], +.button[aria-disabled="true"], input:disabled, textarea:disabled, select:disabled, @@ -433,7 +433,7 @@ button, .button { font-size: inherit; font-family: inherit; - padding: 0.5rem; + padding: 0.5em; margin-bottom: 0.5rem; border-radius: var(--standard-border-radius); box-shadow: none; @@ -514,7 +514,7 @@ input[type="radio"]:checked::after { top: 0.125em; background-color: var(--bg); left: 0.125em; - font-size: 32px; + font-size: 2em; } /* Makes input fields wider on smaller screens */ @@ -695,8 +695,8 @@ sup { top: -0.4em; } -sub { - top: 0.3em; +sub { + top: 0.3em; } /* Classes for notices */ From fc7e32e76cf0384f1ef56ada5fd670e4f1eec633 Mon Sep 17 00:00:00 2001 From: munenari Date: Wed, 21 May 2025 06:07:34 +0900 Subject: [PATCH 2/4] Change em value (16*1.15*1.75=32.2) --- simple.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/simple.css b/simple.css index 4dd8f35..e7a0ca1 100644 --- a/simple.css +++ b/simple.css @@ -203,7 +203,7 @@ input[type="button"] { line-height: normal; } -.button[aria-disabled="true"], +.button[aria-disabled="true"], input:disabled, textarea:disabled, select:disabled, @@ -433,7 +433,7 @@ button, .button { font-size: inherit; font-family: inherit; - padding: 0.5em; + padding: 0.4375em; margin-bottom: 0.5rem; border-radius: var(--standard-border-radius); box-shadow: none; @@ -514,7 +514,7 @@ input[type="radio"]:checked::after { top: 0.125em; background-color: var(--bg); left: 0.125em; - font-size: 2em; + font-size: 1.75em; } /* Makes input fields wider on smaller screens */ @@ -695,8 +695,8 @@ sup { top: -0.4em; } -sub { - top: 0.3em; +sub { + top: 0.3em; } /* Classes for notices */ From 71b2af9641f675f616ba3111a0054afea814211b Mon Sep 17 00:00:00 2001 From: Luke Harris Date: Tue, 20 May 2025 17:22:05 -0500 Subject: [PATCH 3/4] Use simple number for input/button padding --- simple.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple.css b/simple.css index e7a0ca1..84ce3f9 100644 --- a/simple.css +++ b/simple.css @@ -433,7 +433,7 @@ button, .button { font-size: inherit; font-family: inherit; - padding: 0.4375em; + padding: 0.5em; margin-bottom: 0.5rem; border-radius: var(--standard-border-radius); box-shadow: none; From d62305e3b5c42c98ca048f9e7edc88262cc0ede9 Mon Sep 17 00:00:00 2001 From: Luke Harris Date: Tue, 20 May 2025 17:22:51 -0500 Subject: [PATCH 4/4] Change magic numbers for checkbox/radio decorators --- simple.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/simple.css b/simple.css index 84ce3f9..caa7a5a 100644 --- a/simple.css +++ b/simple.css @@ -492,12 +492,12 @@ input[type="radio"]:checked { input[type="checkbox"]:checked::after { /* Creates a rectangle with colored right and bottom borders which is rotated to look like a check mark */ content: " "; - width: 0.18em; - height: 0.32em; + width: 0.2em; + height: 0.4em; border-radius: 0; position: absolute; - top: 0.05em; - left: 0.17em; + top: 0.04em; + left: 0.18em; background-color: transparent; border-right: solid var(--bg) 0.08em; border-bottom: solid var(--bg) 0.08em; @@ -507,14 +507,14 @@ input[type="checkbox"]:checked::after { input[type="radio"]:checked::after { /* creates a colored circle for the checked radio button */ content: " "; - width: 0.25em; - height: 0.25em; + width: 0.3em; + height: 0.3em; border-radius: 100%; position: absolute; top: 0.125em; background-color: var(--bg); left: 0.125em; - font-size: 1.75em; + font-size: 1.8em; } /* Makes input fields wider on smaller screens */