aboutsummaryrefslogtreecommitdiff
path: root/client-web/public/assets/style/master.css
blob: caa8c856c0719385069b17092c5cc56fc5530257 (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
/*
    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) 2022 metamuffin <metamuffin@disroot.org>
*/
@import url("https://s.metamuffin.org/static/font-ubuntu/include.css");
@import url("./logger.css");
@import url("./chat.css");
@import url("./room.css");
@import url("./prefs.css");
@import url("./menu.css");

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

:root {
    --bg: #151315;
    --bg-dark: #070707;
    --ac: #5e3f84;
    --ac-light: #7c43bd;
    --ac-dark: #2d0d52;
}

body {
    background-color: var(--bg-dark);
    height: 100vh;
    width: 100vw;
    justify-content: left;
}

h2 {
    font-weight: 700;
    margin: 1em;
}

input[type="button"],
button {
    padding: 0.5em;
    margin: 0.25em;
    background-color: var(--ac);
    border: 0px solid transparent;
    border-radius: 3px;
}
input[type="button"]:hover,
button:hover {
    filter: brightness(130%);
}
input[type="button"].active,
button.active {
    filter: hue-rotate(20deg);
}
input[type="text"],
select,
input[type="number"] {
    background-color: var(--bg-dark);
    border: 1px solid var(--ac-light);
}
input:disabled,
button:disabled {
    filter: sepia(90%);
}

.start-box {
    position: absolute;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
}
.start-box p {
    margin-bottom: 0.5em;
}
.start-box input[type="text"] {
    margin: 0.5em;
    font-size: xx-large;
}
.start-box input[type="button"] {
    margin: 0.5em;
    font-size: x-large;
    width: calc(100% - 1em);
}