aboutsummaryrefslogtreecommitdiff
path: root/client-web/style/master.css
blob: 15c3d824c1ffdfeaab90c182c989129172f18ef5 (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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
/*
    This file is part of keks-meet (https://codeberg.org/metamuffin/keks-meet)
    which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
    Copyright (C) 2023 metamuffin <metamuffin.org>
*/

:root {
    --green: rgb(146, 243, 73);
    --red: #cf3f3f;
    --textgrey: #bbbbbb;
    font-weight: 300;
    color: white;
}

* {
    font-family: "Ubuntu", sans-serif;
    margin: 0px;
    padding: 0px;
}

body.start {
    background-image:
        linear-gradient(var(--ac-dark-transparent), black 150%),
        url("/assets/tile-backdrop.svg");
    background-attachment: fixed;
    background-size: cover, 750px;
    background-color: var(--ac-dark);
    position: absolute;
    inset: 0;
    display: flex;
    place-content: center;
    align-items: center;
    overflow: hidden;
}

@media (max-width: 1000px) or (max-height: 700px) {
    body.start {
        background-size: cover, 500px;
    }
}

body {
    height: 100dvh;
    width: 100dvw;
    overflow: hidden;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
}

h1 {
    text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.75);
    font-size: 5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.1em;
}

input[type="button"],
button,
.side-ui-control {
    color: white;
    padding: 0.5em;
    margin: 0.25em;
    background-color: var(--ac);
    border: 0px solid transparent;
    user-select: none;
    border-radius: 3px;
    font-size: small;
    font-weight: 400;
    cursor: pointer;
    transition: filter 0.1s;
}

input[type="button"]:hover,
button:hover,
.side-ui-control:hover {
    filter: brightness(130%);
}

input:disabled,
button:disabled,
.side-ui-control:disabled {
    filter: saturate(30%);
}

input[type="button"].active,
button.active,
.side-ui-control.checked {
    filter: brightness(80%);
}

input[type="text"],
select,
input[type="number"] {
    color: white;
    background-color: var(--bg-dark);
    border: 1.5px solid grey;
    border-radius: 3px;
}

input:focus {
    border-color: var(--ac-light);
    outline: none;
}

button.abort {
    background-color: #9a2020;
}

.side-ui-control input {
    display: none;
}

.icon {
    height: 15px;
    width: 15px;
    vertical-align: sub;
    margin-right: 0.25em;
}