summaryrefslogtreecommitdiffstats
path: root/public/index.css
blob: f0eb1720eb15f816f67e30fca210f6585e4fe191 (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
75
76
77
78
79
80
81
body {
        width: 100vw;
        min-width: 320px;
}

#root {
        padding: 40px 20px;
        max-width: 600px;
        margin: auto;
        height: 100vh;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
}

#root>*+* {
        margin: 20px 0 0 0;
}

/* 100vh on safari does not include the bottom bar. */
@supports (-webkit-overflow-scrolling: touch) {
        #root {
                height: 85vh;
        }
}

#message-log {
        width: 100%;
        flex-grow: 1;
        overflow: auto;
}

#message-log p:first-child {
        margin: 0;
}

#message-log>*+* {
        margin: 10px 0 0 0;
}

#publish-form-container {
        width: 100%;
}

#publish-form {
        width: 100%;
        display: flex;
        height: 40px;
}

#publish-form>*+* {
        margin: 0 0 0 10px;
}

#publish-form input[type='text'] {
        flex-grow: 1;

        -moz-appearance: none;
        -webkit-appearance: none;
        word-break: normal;
        border-radius: 5px;
        border: 1px solid #ccc;
}

#publish-form input[type='submit'] {
        color: white;
        background-color: black;
        border-radius: 5px;
        padding: 5px 10px;
        border: none;
}

#publish-form input[type='submit']:hover {
        background-color: red;
}

#publish-form input[type='submit']:active {
        background-color: red;
}