summaryrefslogtreecommitdiffstats
path: root/src/css/settings.css
blob: 61a8c0ec73ab87602e3b040dd642f455b444cdc3 (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
68
69
70
71
72
73
74
body {
    margin-bottom: 6rem;
    }

.synopsis {
    color: var(--ink-0);
    font-size: var(--font-size-smaller);
    opacity: var(--medium-em);
    }

/* surface/ink */
#themeMood {
    align-items: stretch;
    align-self: stretch;
    display: inline-flex;
    justify-content: stretch;
    user-select: none;
    }
#themeMood > span {
    border: 1px solid var(--ink-1);
    color: var(--ink-1);
    display: inline-flex;
    background-color: var(--surface-1);
    display: inline-block;
    padding: 0 0.5em;
    text-align: center;
    user-select: none;
    }

/* primary color */
#themePrimary {
    align-items: stretch;
    align-self: stretch;
    display: inline-flex;
    justify-content: stretch;
    position: relative;
    }
#themePrimary > span {
    background-color: rgb(var(--primary-50));
    display: inline-flex;
    width: 2em;
    }

[href="advanced-settings.html"] {
    display: none;
    }
body.advancedUser [href="advanced-settings.html"] {
    display: inline-flex;
    }

#localData > div {
    margin-bottom: var(--default-gap-small);
    }
#localData > div:last-of-type {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    }
#localData > div:last-of-type > button {
    margin-bottom: var(--default-gap-small);
    min-width: 280px;
    }

/* Mobile devices */

:root.mobile #localData {
    max-width: 100vw;
    }
:root.mobile #localData > div:last-of-type {
    align-items: stretch;
    }
:root.mobile #localData > div:last-of-type > button {
    min-width: unset;
    }