Skip to content

Commit 603e9c7

Browse files
committed
WASM: UI update
1 parent 324e16d commit 603e9c7

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

web/style.css

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,25 @@ body {
1313

1414
.console {
1515
border-radius: 12px;
16-
background: #959595;
17-
padding: 20px;
16+
background: #cacaca;
17+
overflow: hidden;
1818
}
1919

2020
.console__screen {
21-
overflow: hidden;
22-
border-radius: 10px;
2321
background: #101010;
24-
margin-bottom: 15px;
25-
}
26-
27-
.console__controls {
28-
/*margin-bottom: 10px;*/
22+
margin-bottom: 20px;
2923
}
3024

3125
.console__rom {
26+
padding: 0 20px;
3227
margin-bottom: 15px;
3328
}
3429

30+
.console__controls {
31+
margin-bottom: 20px;
32+
padding: 0 20px;
33+
}
34+
3535
.screen {
3636
position: relative;
3737
}
@@ -58,13 +58,12 @@ body {
5858
https://codepen.io/injectilo/pen/MYJrmm */
5959

6060
.controls {
61-
padding: 30px;
62-
background: #686868;
61+
padding: 25px 20px;
62+
background: #4e4e4e;
6363
display: flex;
6464
position: relative;
6565
flex-direction: row;
6666
justify-content: space-between;
67-
border: 1px solid #4e4e4e;
6867
border-radius: 10px;
6968
}
7069

@@ -150,19 +149,19 @@ body {
150149
}
151150

152151
.dpad__border.-vert {
153-
width: 46px;
154-
top: -3px;
155-
bottom: -3px;
152+
width: 42px;
153+
top: -2px;
154+
bottom: -2px;
156155
z-index: 0;
157156
left: 50%;
158157
transform: translateX(-50%);
159158
border-radius: 4px;
160159
}
161160

162161
.dpad__border.-horiz {
163-
height: 46px;
164-
left: -3px;
165-
right: -3px;
162+
height: 42px;
163+
left: -2px;
164+
right: -2px;
166165
z-index: 0;
167166
top: 50%;
168167
transform: translateY(-50%);
@@ -229,7 +228,7 @@ body {
229228
position: relative;
230229
border-radius: 4px;
231230
background-color: #edece7;
232-
margin: 6px;
231+
margin-left: 6px;
233232
padding: 6px;
234233
}
235234

@@ -251,6 +250,7 @@ body {
251250

252251
.rom-select {
253252
border-radius: 12px;
253+
background: #edece7;
254254
border: 1px dashed #4e4e4e;
255255
text-align: center;
256256
cursor: pointer;

0 commit comments

Comments
 (0)