forked from hillc255/TriangleGame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
94 lines (81 loc) · 1.35 KB
/
index.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
#board {
margin-left: auto;
margin-right: auto;
width: 0;
height: 0;
border-left: 340px solid transparent;
border-right: 340px solid transparent;
border-bottom: 510px solid LightGray;
}
.wrapper {
display: grid;
grid-auto-rows: 85px;
margin-top: 30px;
background-color: green;
position: relative;
left: -305px;
}
.row1a {
display: flex;
left: 440px;
line-height: 25px;
}
.row {
display: flex;
margin: 0 auto;
line-height: 50px;
}
@keyframes badSelection {
50% {
border-color: red;
color: red;
transform: translateY(2px);
}
}
.circle {
margin-left: 60px;
height: 50px;
width: 50px;
border-radius: 50px;
text-align: center;
background-color: grey;
transition: all 0.2s;
border: 1px solid black;
box-sizing: border-box;
}
.circle.badSelection {
animation: badSelection .2s 3;
}
.circle:hover {
color: white;
opacity: .75;
cursor: pointer;
border: 1px solid white;
}
.circle.selected {
color: white;
border: 1px solid white;
}
.circle:empty {
background-color: white
}
#reset {
display: block;
border-radius: 1rem;
border: 1px solid darkgray;
cursor: pointer;
margin: 2rem auto;
box-sizing: border-box;
padding: 1rem 2rem;
transition: all 0.2s;
}
#reset:hover {
opacity: 0.75;
}
#reset.hidden {
visibility: hidden;
}
#debug {
position: absolute;
bottom: 0;
}