-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
172 lines (153 loc) · 2.94 KB
/
index.html
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>NES</title>
<style>
*{
margin: 0;
font-family: Verdana;
font-size: 12px;
cursor: pointer;
}
.container{
width: 100%;
}
.cable{
height: 200px;
width: 20px;
background-color: #1E1F20;
margin: 0 auto;
}
.controller{
margin: 0px auto;
background-color: #1E1F20;
width: 600px;
height: 260px;
border: 8px solid #E0DFD2;
border-top-width: 25px;
box-shadow: 10px 10px 5px #888888;
}
.analog,
.select-start,
.buttons{
float: left;
width: 200px;
height: 240px;
}
.analog .up,
.analog .left,
.analog .right,
.analog .down{
width: 40px;
height: 40px;
background-color: #1E1F20;
border: 8px solid #E0DFD2;
}
.analog .up{
margin: 60px 0px 0 80px;
border-bottom: none;
}
.analog .left{
width: 50px;
margin: -103px 0px 0 30px;
border-right: none;
float: left;
}
.analog .right{
margin: 0px 14px 0 30px;
border-left: none;
float: right;
width: 50px;
}
.analog .down{
margin: 55px 0px 0 80px;
border-top: none;
}
.select-start .grey-bar{
width: 140px;
height: 30px;
margin: 20px auto;
background-color: #4A4847;
}
.grey-bar span{
color: #E52525;
/* margin: 20px; */
padding: 8px 11px;
font-weight: bold;
float: left;
}
.select-start .select-buttons{
width: 140px;
height: 60px;
margin: 20px 30px;
background-color: #E0DFD2;
}
.select-buttons .select,
.select-buttons .start{
float: left;
background-color: #1E1F20;
width: 40px;
height: 15px;
margin: 25px 15px;
border-radius: 5px;
}
.buttons .a,
.buttons .b{
width: 60px;
height: 60px;
background-color: #E0DFD2;
float: left;
margin: 120px 10px;
border-radius: 5px;
}
.buttons .a-button,
.buttons .b-button{
width: 45px;
height: 45px;
background-color: #E52525;
margin: 8px;
border-radius: 100px;
}
.buttons .a-text,
.buttons .b-text{
color: #E52525;
float: left;
}
.buttons .b-text{
margin: 190px 0 0 -100px;
}
.buttons .a-text{
margin: 190px 0 0 -20px;
}
</style>
</head>
<body>
<div class="container">
<div class="cable"></div>
<div class="controller">
<div class="analog">
<div class="up"></div>
<div class="right"></div>
<div class="down"></div>
<div class="left"></div>
</div>
<div class="select-start">
<div class="grey-bar"></div>
<div class="grey-bar"><span>SELECT</span><span>START</span></div>
<div class="select-buttons">
<div class="select"></div>
<div class="start"></div>
</div>
<div class="grey-bar"></div>
</div>
<div class="buttons">
<div class="b"><div class="b-button"></div></div>
<div class="a"><div class="a-button"></div></div>
<div class="b-text">B</div>
<div class="a-text">A</div>
</div>
</div>
</div>
</body>
</html>