-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
91 lines (77 loc) · 1.33 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
:root {
--background-color: rgb(20, 20, 20);
--link-length: 3.5rem;
}
body {
padding: 0;
margin: 0;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
background-color: var(--background-color);
}
.game-board {
margin-bottom: 5rem;
display: flex;
flex-direction: column;
padding: 1rem;
border: 2px solid rgba(255, 255, 255, 0.4);
}
.row {
display: flex;
justify-content: space-evenly;
align-items: center;
}
.rowCon {
margin: 0.4rem 0;
display: flex;
justify-content: space-evenly;
}
.col {
width: 1rem;
height: 1rem;
background-color: red;
}
.empty {
margin: 0 0.4rem;
width: var(--link-length);
height: 0.5rem;
}
.colCon {
margin: 0 0.4rem;
width: var(--link-length);
height: 0.5rem;
}
.colRowCon {
width: 0.5rem;
height: var(--link-length);
}
.connectionInactive {
background-color: var(--background-color);
}
.connectionActive {
background-color: darkred;
}
.nodeActive {
background-color: lightgreen;
}
.linkActive {
background-color: aquamarine;
}
.score {
color: rgba(255, 255, 255, 0.8);
font-size: 4rem;
}
.reset-button {
height: 5rem;
width: 20rem;
background-color: rgba(255, 255, 255, 0.6);
font-size: x-large;
}
.next-level-button {
height: 5rem;
width: 20rem;
background-color: rgba(255, 255, 255, 0.6);
font-size: x-large;
}