diff --git a/src/html/index.html b/src/html/index.html
index 585d029..2ca5257 100644
--- a/src/html/index.html
+++ b/src/html/index.html
@@ -102,56 +102,56 @@
ROM Compatibility
-
-
-
-
-
-
+
+
The save and load opcodes (Fx55 and Fx65) increment the index register.
-
-
-
+
+
Drawing sprites to the display waits for the vertical blank interrupt, limiting their speed to max 60 sprites per second.
-
-
-
+
+
Sprites drawn at the bottom edge of the screen get clipped instead of wrapping around to the top of the screen.
-
-
-
+
+
The shift opcodes only operate on vX instead of storing the shifted version of vY in vX
-
-
-
+
+
The Bnnn instruction doesn't use v0, but vX instead where X is the highest nibble of nnn
-
-
-
+
+
Adjusts for ROMs that define sprite height as zero in low-resolution mode, interpreting it as a height of 8 pixels.
diff --git a/src/styles/style.css b/src/styles/style.css
index cf0404a..265c5a9 100644
--- a/src/styles/style.css
+++ b/src/styles/style.css
@@ -245,28 +245,37 @@ input[type='range']::-moz-range-thumb {
display: flex;
align-items: flex-start;
font-family: verdana;
+ gap: 0.5rem;
}
.checkbox-container-centered {
display: flex;
align-items: center;
font-family: verdana;
+ gap: 0.5rem;
}
.default-checkbox {
-webkit-appearance: none;
appearance: none;
- width: 17px;
- height: 17px;
- border: 2px solid #CCCCCC;
+ border: 0.125rem solid #CCCCCC;
background-color: #222222;
outline: none;
cursor: pointer;
- margin-right: 8px;
- position: relative;
- flex-shrink: 0;
- margin-top: 3px;
- border-radius: 5px;
+ margin: 0;
+ border-radius: 0.3125rem;
+ display: grid;
+ place-content: center;
+ box-sizing: border-box;
+ width: 1.0625rem;
+ height: 1.0625rem;
+}
+
+.default-checkbox::before {
+ content: '';
+ display: inline-block;
+ width: 0.875rem;
+ height: 0.875rem;
}
.default-checkbox:checked {
@@ -274,18 +283,14 @@ input[type='range']::-moz-range-thumb {
}
.default-checkbox:checked::before {
- content: '';
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 14px;
- height: 14px;
- background: url("data:image/svg+xml,") no-repeat center center;
+ content: url("data:image/svg+xml,");
+ width: 0.875rem;
+ height: 0.875rem;
}
.checkbox-label {
user-select: none;
+ cursor: pointer;
margin: 0;
}