From c111a16a3423e31a42fd2de8ec77b27c18de45aa Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Wed, 12 Oct 2022 22:42:26 -0400 Subject: [PATCH] Tweak for mobile. --- src/components/style.css | 18 ++++++++++++++++++ src/index.css | 16 ---------------- src/index.js | 6 +++--- 3 files changed, 21 insertions(+), 19 deletions(-) diff --git a/src/components/style.css b/src/components/style.css index 8218caa..72e9ef8 100644 --- a/src/components/style.css +++ b/src/components/style.css @@ -23,7 +23,25 @@ margin-bottom: 0; } +.big-input { + font-size: 150%; + padding: 0.5em; + background-color: rgba(255, 255, 255, 0.1); + border-style: solid; + border-width: 1px; + border-color: rgba(255, 255, 255, 0.15); + color: white; + font-weight: bold; +} + +.big-input[type="submit"] { + padding-left: 1em; + padding-right: 1em; +} @media (orientation:portrait) { + .big-input { + font-size: 120%; + } .popup-inner { left: 5%; right: 5%; diff --git a/src/index.css b/src/index.css index 6d278fe..1266b92 100644 --- a/src/index.css +++ b/src/index.css @@ -111,20 +111,4 @@ ol, ul { .icon:hover { opacity: 1; margin-top: -0.35em; -} - -.big-input { - font-size: 150%; - padding: 0.5em; - background-color: rgba(255, 255, 255, 0.1); - border-style: solid; - border-width: 1px; - border-color: rgba(255, 255, 255, 0.15); - color: white; - font-weight: bold; -} - -.big-input[type="submit"] { - padding-left: 1em; - padding-right: 1em; } \ No newline at end of file diff --git a/src/index.js b/src/index.js index f5a0e73..d11fd5f 100644 --- a/src/index.js +++ b/src/index.js @@ -31,10 +31,10 @@ class NameForm extends React.Component { return (
-
- +
+