aboutsummaryrefslogtreecommitdiff
path: root/src/styles/shifter.css
blob: f245ab27ef19b1c042b7602b521260f373586cce (plain) (blame)
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
@media (prefers-color-scheme: dark) {
    .window a {
        color: var(--dark-button-text);
    }

    .sidebar-button:hover {
        background-color: var(--dark-button-hover);
    }

    .sidebar-button:active {
        box-shadow: inset 0 0 0 1px var(--dark-button-text);
        color: var(--dark-button-text);
    }
}

@media (prefers-color-scheme: light) {
    .window a {
        color: var(--light-button-text);
    }

    .sidebar-button:hover {
        background-color: var(--light-button-hover);
    }

    .sidebar-button:active {
        box-shadow: inset 0 0 0 1px var(--light-button-text);
        color: var(--light-button-text);
    }
}

.draggable {
    position: absolute;
    top: 10px;
    left: 10px;
}

.content {
    padding: 10px;
    display: flex;
    flex-direction: row;
}

.sidebar {
    font-family: Cambria, serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-content {
    padding-bottom: 200px;
    display: flex;
    flex-direction: column;
    border: 1px solid;
}

.shifter-body {
    margin-left: 10px;
    margin-right: 10px;
    width: 600px;
    height: 300px;
}

.sidebar-button {
    font-weight: bold;
    font-style: italic;
    padding: 3px 10px;
}

.shifter-window-sidebar {
    display: flex;
    flex-direction: row;
}

.shifter-window-buttons {
    display: flex;
    flex-direction: column;
}

.shifter-welcome h1 {
    font-size: 1.6em;
    margin: 0;
}

.shifter-welcome p {
    font-size: 0.9em;
}

.shifter-codepoints h2 {
    font-size: 1.2em;
    margin: 0;
}

.shifter-codepoints p {
    font-size: 0.9em;
}

.shifter-button {
    padding: 6px 12px;
    border: 1px solid;
}

.sep {
    border-top: 1px solid;
    background-color: white;
}