summaryrefslogtreecommitdiffstats
path: root/narrow.css
blob: ea05edc972db4c492a036dc2eb3cc076eac74d82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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;
    }
}