Permalink
Browse files

Some style tweaks for the memory output.

  • Loading branch information...
1 parent c55fcef commit 2ab068f2dfac40c4b7211d543c6282f55acf37e8 @nelhage committed Jun 4, 2011
Showing with 17 additions and 3 deletions.
  1. +16 −2 beta.css
  2. +1 −1 betaweb.js
View
@@ -19,7 +19,8 @@
#registers {
font-family: mono;
float: left;
- padding: 2em;
+ padding-left: 2em;
+ padding-right: 2em;
}
#PC {
@@ -47,10 +48,23 @@
border: 1px solid black;
overflow-y: scroll;
height: 90%;
+ font-family: mono;
+}
+
+th, td {
+ padding: 2px;
+ font-size: 90%;
}
+#memtab {
+ border-collapse: collapse;
+}
+
+#memtab th {
+ border-right: 1px solid gray;
+}
-#rightcol h3 {
+#memcol h3 {
margin: 0px;
text-align: center;
}
View
@@ -128,7 +128,7 @@ function resetBeta(rom) {
var tr = document.createElement('tr');
var th = document.createElement('th');
var td = document.createElement('td');
- th.textContent = toHex(i) + ":";
+ th.textContent = toHex(i);
td.appendChild(document.createTextNode())
tr.appendChild(th);
tr.appendChild(td);

0 comments on commit 2ab068f

Please sign in to comment.