-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
75 lines (66 loc) · 1.14 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
body {
background-color: wheat;
display: flex;
justify-content: center;
align-items: center;
user-select: none;
}
#app {
display: flex;
flex-direction: column;
justify-content: center;
}
.board {
position: relative;
margin: 0;
padding: 0;
outline: 15px solid wheat;
}
.board__title {
text-transform: uppercase;
}
.board__shuffle {
color: black;
margin: 2rem;
background: transparent;
border-radius: 0;
border: 2px solid black;
font-weight: bold;
font-size: large;
padding: 1rem;
text-transform: uppercase;
cursor: pointer;
}
.board__shuffle:active {
transform: translateY(3px);
}
.board__tile {
display: inline-flex;
text-indent: 0.5rem;
color: aliceblue;
position: absolute;
background-image: url(/rick-astley.png);
outline: 2.5px solid wheat;
cursor: pointer;
font-weight: bold;
font-size: large;
}
.board__tile--blank {
background: wheat;
color: transparent;
pointer-events: none;
}
.board--solved {
animation: 3s ease-out infinite pulse;
}
@keyframes pulse {
0% {
outline-color: wheat;
}
50% {
outline-color: aliceblue;
}
100% {
outline-color: wheat;
}
}