-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
103 lines (89 loc) · 1.53 KB
/
style.css
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
#cardContainer {
position: fixed;
top: 10vh;
left: 0;
bottom: 0;
right: 0;
}
.card div {
border: 0.1em solid #000000;
border-radius: 0.3em;
margin: 0 auto;
position: absolute;
top: 5%;
bottom: 5%;
left: 5%;
right: 5%;
text-align: center;
vertical-align: middle;
line-height: 17vh;
font-size: 2vw;
box-shadow: inset 0px 0px 0.1em black;
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
cursor: default;
}
.card.state-0 div {
background: #FFDDAA;
font-weight: bold;
color: #000;
}
.card.state-1 div {
background: #00A;
color: #AAF;
}
.card.state-2 div {
background: #A00;
color: #FAA;
}
.card.state-3 div {
background: #AAA;
color: #666;
}
.card.state-4 div {
background: #333;
color: #AAA;
}
h1 {
float: left;
margin: 0.5vh;
height: 9vh;
}
button {
float: right;
margin: .2em;
}
button.text {
height: 9vh;
font-size: 3vh;
padding: 0 0.5em;
border: 1px solid #000;
line-height: 7vh;
vertical-align: middle;
border-radius: 0.3em;
min-width: 8vw;
}
.lang {
height: 9vh;
width: 12vh;
padding: 0;
background-position: 50% center;
background-repeat: no-repeat;
background-size: cover;
border: 1px solid #000;
filter: grayscale(80%);
}
.lang:disabled {
filter: none;
}
.lang:hover {
filter: none;
}
.lang.de {
background-image: url('img/de.svg')
}
.lang.en {
background-image: url('img/en.svg')
}