chiark / gitweb /
Styling for text <input> in bedstead.css
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 7 Oct 2025 20:30:24 +0000 (21:30 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 13 Jan 2026 21:42:18 +0000 (21:42 +0000)
bedstead.css

index ba24f5d0719786f9aad9938f457df90f47bfc455..446d1eadf2963767868072408d0a5c3a15feecad 100644 (file)
@@ -63,6 +63,18 @@ img {
     max-width: 100%;
 }
 
+input:not([type="image" i], [type="range" i], [type="checkbox" i],
+          [type="radio" i]) {
+    appearance: none;
+    font: inherit;
+    color: inherit;
+    background: inherit;
+    border: 0.1em solid;
+    margin: 0.5em 0.2em 0.4em 0.3em;
+    padding: 0.4em 0.3em 0.5em 0.2em;
+    line-height: 1;
+}
+
 .smallprint {
     font-size: 0.5em;
 }