-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
61 lines (52 loc) · 838 Bytes
/
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
html, body {
text-align: center;
margin:0;
padding:0;
}
canvas {
background: black;
margin: auto;
}
div.main {
position: relative;
margin: 15px auto;
}
div.main > * {
position: absolute;
top: 0;
left: 0;
}
div.main #webgl-canvas {
opacity: 0;
-o-transition: opacity 500ms;
-webkit-transition: opacity 500ms;
-moz-transition: opacity 500ms;
-ms-transition: opacity 500ms;
transition: opacity 500ms;
}
div.main:hover #webgl-canvas {
opacity: 1;
}
div.code {
text-align: left;
width: 800px;
margin: auto;
font-size: 0.9em;
}
ul.controls {
margin: 10px 0;
padding: 0;
}
ul.controls > li {
padding: 3px;
background: #eee;
border: 1px solid #ccc;
display: inline-block;
list-style-type: none;
}
.error {
font-weight: bold;
margin: 20px 0;
font-size: 1.1em;
color: red;
}