Added styling. Fixed style selection on a fresh page. Known issues: 1. RT on xbox won't show pressure; 2. Xbox.css isn't named proparly, will probably fail to load on Linux/Mac.

This commit is contained in:
ezwrk 2023-08-27 19:22:35 +03:00
commit dbedb0a81a
7 changed files with 413 additions and 396 deletions

14
NES.css
View file

@ -1,16 +1,15 @@
body {
background-color: brown;
background-color: transparent;
}
.button {
border:1px solid rgba(50,50,50,1);
border:1px solid rgba(var(--clr), var(--clg), var(--clb), var(--cla));
width:31px;
height:31px;
border-radius:20px;
display:inline-block;
background: rgba(70,70,70,1);
padding:0px;
margin:px;
margin-left:42px;
text-align:center;
vertical-align:middle;
font-weight: bold;
@ -223,10 +222,6 @@ body {
background-image: none;
}
#style_select {
position:absolute;
left: 410px;
}
.axisbox {
display:none;
@ -256,10 +251,11 @@ body {
#controller_NES {
display: block;
position: absolute;
left: 50px;
width:400px;
height:400px;
}
#controller_XBOX {
display: none;
}
}