301 lines
No EOL
3.7 KiB
CSS
301 lines
No EOL
3.7 KiB
CSS
body {
|
|
background-color: darkslateblue;
|
|
}
|
|
|
|
.button {
|
|
border:1px solid rgba(50,50,50,1);
|
|
width:25px;
|
|
height:25px;
|
|
border-radius:13px;
|
|
display:inline-block;
|
|
background: rgba(70,70,70,1);
|
|
padding:0px;
|
|
margin:px;
|
|
text-align:center;
|
|
vertical-align:middle;
|
|
font-weight: bold;
|
|
position:absolute;
|
|
text-shadow: 1px 1px 1px rgba(0,0,0,0.25), 0px 1px 1px rgba(0,0,0,0.25), 1px 0px 1px rgba(0,0,0,0.25);
|
|
}
|
|
|
|
.button_4, .button_5, .button_6, .button_7 {
|
|
width:35px;
|
|
height:20px;
|
|
border-radius:8px;
|
|
}
|
|
|
|
.button_8 {
|
|
width:30px;
|
|
height:15px;
|
|
border-radius:4px;
|
|
}
|
|
|
|
.button_9 {
|
|
border:0px;
|
|
background:transparent;
|
|
}
|
|
|
|
|
|
.button::after {
|
|
position:relative;
|
|
color: rgba(250,250,250,1);
|
|
font-size:13px;
|
|
font-family: Arial;
|
|
}
|
|
|
|
.button_0::after {
|
|
display: block;
|
|
content:"✕";
|
|
color: rgba(80,120,200,1);
|
|
font-size:22px;
|
|
top:-4px;
|
|
left: 0px;
|
|
}
|
|
|
|
.button_1::after {
|
|
display: block;
|
|
content:"○";
|
|
color: rgba(200,120,80,1);
|
|
font-size:41px;
|
|
top:-14px;
|
|
left: 0px;
|
|
}
|
|
|
|
.button_2::after {
|
|
display: block;
|
|
content:"□"; /*square*/
|
|
color: rgba(250,80,80,1);
|
|
font-size:35px;
|
|
top:-10px;
|
|
left: 0px;
|
|
}
|
|
|
|
.button_3::after {
|
|
display: block;
|
|
content:"△";/*triangle*/
|
|
color: rgba(60,200,100,1);
|
|
font-size:23px;
|
|
top:-2px;
|
|
left: 0px;
|
|
}
|
|
|
|
.button_4::after {
|
|
display: block;
|
|
position: relative;
|
|
content:"L1";
|
|
left:0px;
|
|
top:0px;
|
|
}
|
|
|
|
.button_5::after {
|
|
display: block;
|
|
position: relative;
|
|
content:"R1";
|
|
left:0px;
|
|
top:0px;
|
|
}
|
|
|
|
.button_6::after {
|
|
display: block;
|
|
position: relative;
|
|
content:"L2";
|
|
left:0px;
|
|
top:0px;
|
|
}
|
|
|
|
.button_7::after {
|
|
display: block;
|
|
content:"R2";
|
|
left:0px;
|
|
top:0px;
|
|
}
|
|
|
|
.button_10::after {
|
|
display: block;
|
|
content:"L3";
|
|
position: relative;
|
|
top:2px;
|
|
left:0px;
|
|
}
|
|
|
|
.button_11::after {
|
|
display: block;
|
|
position: relative;
|
|
content:"R3";
|
|
top:2px;
|
|
left:0px;
|
|
}
|
|
|
|
#button_9_border {
|
|
display: block;
|
|
position:relative;
|
|
top:3px;
|
|
}
|
|
|
|
.button_12, .button_13, .button_14, .button_15 {
|
|
border:0px;
|
|
background:transparent;
|
|
height:25px;
|
|
width:25px;
|
|
}
|
|
|
|
.button_12 {
|
|
left:46px;
|
|
top:14px;
|
|
}
|
|
.button_13 {
|
|
left:46px;
|
|
top:63px;
|
|
}
|
|
|
|
.button_14 {
|
|
left:21px;
|
|
top:39px;
|
|
}
|
|
.button_15 {
|
|
left:70px;
|
|
top:39px;
|
|
}
|
|
|
|
.button_16 {
|
|
display: none;
|
|
left:140px;
|
|
top:10px;
|
|
}
|
|
|
|
.button_3 {
|
|
left:226px;
|
|
top:12px;
|
|
}
|
|
.button_0 {
|
|
left:226px;
|
|
top:61px;
|
|
}
|
|
|
|
.button_2 {
|
|
left:201px;
|
|
top:37px;
|
|
}
|
|
.button_1 {
|
|
left:250px;
|
|
top:37px;
|
|
}
|
|
|
|
.button_4 {
|
|
left:2px;
|
|
top: 1px;
|
|
}
|
|
.button_6 {
|
|
left:80px;
|
|
top: 1px;
|
|
}
|
|
|
|
.button_5 {
|
|
left:260px;
|
|
top: 1px;
|
|
|
|
}
|
|
.button_7 {
|
|
left:182px;
|
|
top: 1px;
|
|
}
|
|
|
|
.button_8 {
|
|
left:111px;
|
|
top:42px;
|
|
transform: none;
|
|
}
|
|
|
|
.button_9 {
|
|
left:161px;
|
|
top:37px;
|
|
transform: none;
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
.button_10 {
|
|
position:relative;
|
|
border:1px solid rgba(250,200,150,1);
|
|
}
|
|
|
|
.button_11 {
|
|
position:relative;
|
|
border:1px solid rgba(250,200,150,1);
|
|
}
|
|
|
|
|
|
#buttons {
|
|
position:absolute;
|
|
background-image: none;
|
|
}
|
|
|
|
#style_select {
|
|
position:absolute;
|
|
left: 410px;
|
|
}
|
|
|
|
|
|
.axisbox {
|
|
border-radius:20px;
|
|
border:1px solid red;
|
|
width:40px;
|
|
height:40px;
|
|
position:absolute;
|
|
top: 65px;
|
|
border:1px solid rgba(50,50,50,1);
|
|
background: rgba(70,70,70,0.5);
|
|
display:block;
|
|
}
|
|
|
|
.axisbox_0 {
|
|
left:105px;
|
|
display:block;
|
|
}
|
|
|
|
.axisbox_1 {
|
|
left:155px;
|
|
display:block;
|
|
}
|
|
|
|
.axis{
|
|
margin-left:-5px;
|
|
margin-top:-5px;
|
|
border-radius:5px;
|
|
border:1px solid black;
|
|
width:10px;
|
|
height:10px;
|
|
display:block;
|
|
position:relative;
|
|
}
|
|
|
|
|
|
|
|
#controller_SNES {
|
|
display: none;
|
|
visibility: hidden;
|
|
position: absolute;
|
|
width:400px;
|
|
height:400px;
|
|
}
|
|
|
|
#controller_DS {
|
|
display: none;
|
|
position: absolute;
|
|
width:400px;
|
|
height:400px;
|
|
}
|
|
|
|
#controller_NES {
|
|
display: none;
|
|
position: absolute;
|
|
width:400px;
|
|
height:400px;
|
|
}
|
|
|
|
#controller_XBOX {
|
|
display: none;
|
|
position: absolute;
|
|
width:400px;
|
|
height:400px;
|
|
} |