summaryrefslogtreecommitdiffstats
path: root/skins/standard/mobile.css
blob: f112c2a3b974d585f4f7ac8e10236280e06cce45 (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
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This Source Code Form is "Incompatible With Secondary Licenses", as
 * defined by the Mozilla Public License, v. 2.0.
 */

@media
only screen and (max-device-width : 720px) {
    #header {
        display: none;
    }
    .cookie-notify {
        display: none;
    }

    #login .field-login label, #login .field-password label {
        display: block;
    }

    #login .field-login, #login .field-password {
        line-height: auto;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    #login .field-restrict, #login .field-remember {
        margin-left: 0px;
    }
    #login .field-submit {
        padding-top: 4px;
    }

    h1 {
        font-size: 1.5em;
    }

    .verify-totp input[type="text"] {
        font-size: 28px;
    }

    .verify-totp input[type="submit"] {
        font-size: 1em;
    }
}

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min--moz-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi),
only screen and (min-resolution: 2dppx) {
    body {
        font-size: medium;
    }

    label.checkbox-note {
        font-size: small;
    }
}