-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathperiphery.css
91 lines (78 loc) · 1.47 KB
/
periphery.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
/*
Styles for periphery device related stuff.
*/
#octalDisplay, #joystick{
width: 121px;
margin-top: 5px;
margin-left: 5px;
}
#octJoystick{
display: inline-block;
}
#octalDisplay .displayContainer{
background-color: #000000;
margin: 5px auto;
text-align: center;
width: 100px;
}
#octalDisplay .displaySegment{
display: inline-block;
margin: 10px 2px 5px 2px;
width: 20px;
height: 32px;
background-image: url(../_media/sevensegment.png);
}
#joystick .joystickContainer{
margin: 5px 5px;
}
#dotMatrix{
width: 246px;
margin-top: 5px;
margin-left: 5px;
}
#dotMatrix .dotMatrixContainer{
background-color: #000000;
margin: 5px auto;
width: 160px;
height: 160px;
padding: 5px;
text-align: center;
}
#dotMatrix #dotMatrixCanvas{
background-color: #300e00;
}
#asciiDisplay{
width: 246px;
margin-top: 5px;
margin-left: 5px;
}
#asciiDisplay .asciiDisplayContainer{
white-space: normal;
background-color: #000000;
margin: 5px auto;
width: 184px;
height: 30px;
padding: 5px 0px 5px 5px;
text-align: center;
}
#asciiDisplay .asciiDisplayContainer span{
height: 20px;
width: 16px;
display: block;
float: left;
background-color: #300e00;
color: #ffa07a;
margin: 5px 2px 0px 0px;
}
.peripheryDocs{
float: right;
margin: 3px;
padding: 2px 5px;
cursor: pointer;
border: 1px rgba(0, 0, 0, 0) solid;
color: #0055FF;
}
.peripheryDocs:hover{
border-color: rgba(0, 0, 0, 0.2);
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
}