-
Notifications
You must be signed in to change notification settings - Fork 1
/
brdf.css
executable file
·64 lines (54 loc) · 1.11 KB
/
brdf.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
/* css for the brdf exercise */
body {
font-size: 14pt; margin: 0; padding: 0; overflow: hidden; background-color: gray; }
#screen { top: 0px; position: absolute; }
#message {
position: absolute;
top: 10px; right: 15px;
width: 250px; height: 120px;
color: white;
font-family: monospace;
font-size: 12px;
line-height: 12px;
/* overflow: hidden; */
/* background-color: red; */
}
#exportLink { display: none; }
.unselectable {
-moz-user-select: -moz-none;
-khtml-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: default;
pointer-events: none; /* a simplistic trick that the mouse events go
through this layer, which works with safari, chrome, and firefox */
}
.hidden { display: none; }
#controls {
position: absolute;
padding: 10px;
z-index: 99;
}
#editor {
position: absolute;
top: 0px;
left: 0px;
height: 100%;
background-color: #dddddd;
padding-left: 20px;
padding-right: 20px;
}
#editor_vshader {
width: 600px;
height: 200px;
}
#editor_fshader {
width: 600px;
height: 400px;
}
button, select {
padding: 8px;
font-size: 14pt;
width: 300px;
}