-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
87 lines (76 loc) · 1.38 KB
/
Copy pathstyle.css
File metadata and controls
87 lines (76 loc) · 1.38 KB
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
html, body{
margin: 0;
padding: 0;
height: 100%;
width: 100%;
}
canvas{
display: block;
position: absolute;
z-index: 0;
}
div.outer {
position: absolute;
top: 20px;
left: 20px;
width: 100px;
height: auto;
background: whitesmoke;
border: salmon 2px solid;
display: flex;
flex-direction: column;
z-index: 1;
}
div {
margin: 3px;
padding: 3px;
border: 1px solid black;
background: white;
box-shadow: 0 0 5px 2px black;
display: flex;
flex-direction: column;
}
button {
margin: 3px;
padding: 3px;
border: 1px solid black;
background: white;
cursor: pointer;
box-shadow: 0 0 5px 2px black;
}
button.active {
background: darkorange;
box-shadow: inset 0 0 5px 1px black;
}
button:hover {
background: darkgoldenrod;
}
button:active {
background: darkorange;
}
.message {
position: absolute;
z-index: 1;
left: 50%;
top: 10%;
transform: translate(-50%, -50%);
font-size: 2em;
font-weight: bold;
color: #d4ff5a;
text-shadow: 0 1px 2px black, 0 1px 2px black, 0 1px 2px black, 0 1px 2px black;
pointer-events: none;
user-select: none;
animation: fadeOut 10s;
animation-fill-mode: forwards;
}
@keyframes fadeOut {
0% {
opacity: 1;
}
75% {
opacity: 1;
}
100% {
opacity: 0;
}
}