]> git.cworth.org Git - lmno.games/commitdiff
Move input sizing from empires to top-level
authorCarl Worth <cworth@cworth.org>
Sun, 17 May 2020 15:52:25 +0000 (08:52 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 17 May 2020 15:52:25 +0000 (08:52 -0700)
There's no reason the empires client should be overriding the size of
input fields. These should be consistent across all games.

And we choose the size of 40 that the empires client had, which is
slightly smaller than what we were getting otherwise, (which looked
just a tiny bit, comically large).

empires/style.css
style.css

index 8b0035648f0b19dcdcac8bb89e4ea892658ceec0..5dcda650433322e591c4e2a8942895448cfb6b75 100644 (file)
     display: none;
 }
 
-input {
-    height: 40px;
-}
-
 #character-reveal {
     color: #333738;
     font-size: 300%;
index 02d0be5e7ab22498911755808162d023dd8afaa9..cfef9c8984d4936b37dd535b79c808bdad5c166f 100644 (file)
--- a/style.css
+++ b/style.css
@@ -211,6 +211,7 @@ label {
 input {
     box-sizing: border-box;
     font-size: 125%;
+    height: 40px;
     padding: 0.5em;
     width: 100%;
     border: 1px solid var(--accent-color);