summaryrefslogtreecommitdiffstats
path: root/narrow.css
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2014-05-21 21:30:44 -0400
committerBrian Cully <bjc@kublai.com>2014-05-21 21:30:44 -0400
commit6ff5b510ea4fda8e0744cc8c0f37c59b0ccf78e2 (patch)
tree18a3d033652be1a1293103bb1f7508ab8ac2bd77 /narrow.css
downloadmult-6ff5b510ea4fda8e0744cc8c0f37c59b0ccf78e2.tar.gz
mult-6ff5b510ea4fda8e0744cc8c0f37c59b0ccf78e2.zip
Initial commit.HEADmaster
Diffstat (limited to 'narrow.css')
-rw-r--r--narrow.css67
1 files changed, 67 insertions, 0 deletions
diff --git a/narrow.css b/narrow.css
new file mode 100644
index 0000000..ea05edc
--- /dev/null
+++ b/narrow.css
@@ -0,0 +1,67 @@
+@media (orientation: portrait) {
+ body {
+ font-size: 18px;
+ }
+
+ form {
+ margin: 0 auto;
+ padding: 10px;
+ }
+
+ form span.test {
+ display: block;
+ text-align: center;
+ margin: 0 auto;
+ }
+
+ #answer {
+ font-size: 18px;
+ width: 40px;
+ }
+
+ #submit {
+ display: block;
+ margin: 10px auto 0 auto;
+ padding: 5px 15px;
+ font-size: 18px;
+ }
+
+ #is-correct {
+ margin-top: 20px;
+ }
+}
+
+/*
+ * TODO: this is probably a wash, since so much of the screen is taken up
+ * by the keyboard that there's basically nothing visible anyway.
+ * -bjc (2014-May-21)
+ */
+@media (orientation: landscape) {
+ body {
+ font-size: 12px;
+ }
+
+ form {
+ margin: 0 auto;
+ padding: 5px;
+ }
+
+ form span.test {
+ text-align: center;
+ margin: 0 auto;
+ }
+
+ #answer {
+ font-size: 12px;
+ width: 40px;
+ }
+
+ #submit {
+ padding: 5px 15px;
+ font-size: 12px;
+ }
+
+ #is-correct {
+ margin-top: 10px;
+ }
+}