-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
113 lines (105 loc) · 2 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
html,
body {
width: 100%;
height: 100%;
margin: 0;
}
#toneGraf {
width: 800px;
height: 600px;
left: 100px;
top: 100px;
position: absolute;
box-shadow: 3px 3px 5px #000;
background: -webkit-linear-gradient(rgba(100, 0, 100, 0.5), rgba(0, 0, 0, 0.5)), url('./img/canvbg.jpg');
background: -moz-linear-gradient(rgba(100, 0, 100, 0.5), rgba(0, 0, 0, 0.5)), url('./img/canvbg.jpg');
background: linear-gradient(rgba(100, 0, 100, 0.5), rgba(0, 0, 0, 0.5)), url('./img/canvbg.jpg');
background-size: contain;
}
#marker{
height:600px;
width:5px;
background-color: #bbf;
left:100px;
top:100px;
position: absolute;
transition-duration:.05s;
box-shadow:0 0 1px #bbf;
pointer-events:none;
filter:blur(3px);
}
#instr {
position: fixed;
right: 50px;
margin-right: 50px;
width: 300px;
height: 220px;
padding: 10px;
background-color: #ccf;
animation: none;
-webkit-animation: none;
}
#instr:hover {
animation: wibblywobbly .5s;
-webkit-animation: wibblywobbly .5s;
}
#controls {
position: fixed;
right: 50px;
color:#fff;
top: 300px;
margin-right: 50px;
width: 300px;
height: 270px;
padding: 10px;
background-color: #333;
}
#controls:hover {
box-shadow: 2px 2px 3px #000;
}
#controls img{
position:relative;
height:80px;
width:auto;
float:right;
}
button {
position: relative;
margin: auto;
background-color: #bbb;
border: 2px groove #bbb;
}
@keyframes wibblywobbly {
0% {
transform: rotate(0deg)
}
25% {
transform: rotate(1deg)
}
50% {
transform: rotate(0deg)
}
75% {
transform: rotate(-1deg)
}
100% {
transform: rotate(0deg)
}
}
@-webkit-keyframes wibblywobbly {
0% {
transform: rotate(0deg)
}
25% {
transform: rotate(1deg)
}
50% {
transform: rotate(0deg)
}
75% {
transform: rotate(-1deg)
}
100% {
transform: rotate(0deg)
}
}