Skip to content

Commit

Permalink
WASM: UI update
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpoletaev committed Jan 11, 2025
1 parent 324e16d commit 603e9c7
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions web/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@ body {

.console {
border-radius: 12px;
background: #959595;
padding: 20px;
background: #cacaca;
overflow: hidden;
}

.console__screen {
overflow: hidden;
border-radius: 10px;
background: #101010;
margin-bottom: 15px;
}

.console__controls {
/*margin-bottom: 10px;*/
margin-bottom: 20px;
}

.console__rom {
padding: 0 20px;
margin-bottom: 15px;
}

.console__controls {
margin-bottom: 20px;
padding: 0 20px;
}

.screen {
position: relative;
}
Expand All @@ -58,13 +58,12 @@ body {
https://codepen.io/injectilo/pen/MYJrmm */

.controls {
padding: 30px;
background: #686868;
padding: 25px 20px;
background: #4e4e4e;
display: flex;
position: relative;
flex-direction: row;
justify-content: space-between;
border: 1px solid #4e4e4e;
border-radius: 10px;
}

Expand Down Expand Up @@ -150,19 +149,19 @@ body {
}

.dpad__border.-vert {
width: 46px;
top: -3px;
bottom: -3px;
width: 42px;
top: -2px;
bottom: -2px;
z-index: 0;
left: 50%;
transform: translateX(-50%);
border-radius: 4px;
}

.dpad__border.-horiz {
height: 46px;
left: -3px;
right: -3px;
height: 42px;
left: -2px;
right: -2px;
z-index: 0;
top: 50%;
transform: translateY(-50%);
Expand Down Expand Up @@ -229,7 +228,7 @@ body {
position: relative;
border-radius: 4px;
background-color: #edece7;
margin: 6px;
margin-left: 6px;
padding: 6px;
}

Expand All @@ -251,6 +250,7 @@ body {

.rom-select {
border-radius: 12px;
background: #edece7;
border: 1px dashed #4e4e4e;
text-align: center;
cursor: pointer;
Expand Down

0 comments on commit 603e9c7

Please sign in to comment.