aboutsummaryrefslogtreecommitdiff
path: root/src/app/main.css
blob: 08c82fa03281c6fddb0267515acbfb3033233358 (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
:root {
	--padding: 15px;
	--disabled: #656E7F;
	--foreground: #DDE2EB;
	--background: #4C515B;
	--boxbackground: #666E7F;
	--btnforeground: var(--foreground);
}

@media (prefers-color-scheme: light) {
	:root {
		--background: #FFFFFF;
		--foreground: #4C566A;
		--boxbackground: #EEF0F4;
		--btnforeground: var(--background);
	}
}

@font-face {
	font-family: "Roboto Mono";
	src: url("roboto.ttf");
}

body, button, input {
	font-size: 18px;
	font-weight: 700;
	overflow: hidden;
	-webkit-app-region: drag;
	color: var(--foreground);
	text-transform: uppercase;
	background: var(--background);
	font-family: "Roboto Mono", monospace;
}

nobr {white-space: nowrap}

.line {
	display: flex;
	margin-top: var(--padding);
}

#modsdiv {
	border-radius: var(--padding);
	background: var(--boxbackground);
	margin: calc(var(--padding) / 3) var(--padding);
}

.buttons {
	text-align: right;
	margin-left: auto;
	user-select: none;
	margin-right: calc(var(--padding) / 1.9);
}

.text {max-width: 38vw}
.buttons {max-width: 55vw}

button, .text, .mod {
	border: none;
	outline: none;
	user-select: none;
	border-radius: 50px;
	transition: 0.2s ease-in-out;
	padding: calc(var(--padding) / 3) var(--padding);
}

button {
	color: var(--btnforeground);
	-webkit-app-region: no-drag;
	margin-bottom: calc(var(--padding) / 1.5);
}

button:hover {opacity: 0.9}
button:active {
	opacity: 0.7;
	transform: scale(0.95);
}


#update, #installmod {background: #81A1C1}
#setpath {background: #5E81AC}
#vanilla, #exit {background: #656E7F}
#northstar, #removeall, #removemod {background: #C7777F}
button:disabled {background: var(--disabled) !important; opacity: 0.5}