This repository has been archived by the owner on Aug 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
96 lines (82 loc) · 1.81 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
body, html {
height: 100%;
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
#gui {
display: grid;
grid-template-rows: 350px 350px auto;
grid-template-columns: 1100px auto;
}
#gui canvas {
grid-area: 1 / 1 / 3 / 3;
}
#gui .teams {
grid-area: 1 / 2 / 3 / 2;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr;
}
#gui .teams > div {
margin: 10px;
padding: 10px;
background: rgb(223, 223, 223);
}
#gui .teams > div > div:first-child {
display: grid;
grid-template-columns: 83px auto;
grid-template-rows: 1fr 2fr;
column-gap: 10px;
}
#gui .teams > div > div:first-child > span:nth-of-type(1) {
font-weight: bold;
color: rgba(0, 0, 0, 0.7);
}
#gui .teams > div > div:first-child > span:nth-of-type(2) {
font-size: 180%;
}
#gui .teams > div img {
grid-area: 1 / 1 / 3 / 2;
}
#gui .teams > div.winner {
position: relative;
border: 3px solid rgb(125, 199, 15);
box-shadow: 0px 0px 10px 0px rgb(125, 199, 15);
}
#gui .teams > div.winner::after {
position: absolute;
bottom: 10px;
left: 10px;
right: 10px;
content: "!!! WINNER !!!";
font-size: 140%;
color: rgb(125, 199, 15);
}
#gui .teams > div.loser {
position: relative;
border: 3px solid rgb(199, 15, 30);
box-shadow: 0px 0px 10px 0px rgb(199, 15, 30);
}
#gui .teams > div.loser::after {
position: absolute;
bottom: 10px;
left: 10px;
right: 10px;
content: "!!! LOSER !!!";
font-size: 140%;
color: rgb(199, 15, 30);
}
#gui .controls {
grid-area: 3 / 1 / 3 / 1;
padding: 4px;
}
#gui-debug-info {
position: fixed;
bottom: 0;
left: 0;
right: 0;
padding: 10px 4px;
font-size: 90%;
background: rgb(216, 216, 216);
box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.4);
}