From 018adf9acf611107b35acca0950f59c1c9f81b3d Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Wed, 23 May 2012 07:46:08 -0700 Subject: [PATCH] RLG-Web client: some cleanup Separate RLG-specific CSS into its own file, fix some typos. --- index-rlg.html | 5 +++-- rlgterm.js | 2 +- style-rlg.css | 11 +++++++++++ tty.css | 10 ++++++---- 4 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 style-rlg.css diff --git a/index-rlg.html b/index-rlg.html index 3c42a8a..9350546 100644 --- a/index-rlg.html +++ b/index-rlg.html @@ -6,6 +6,7 @@ +

RLG-Web

@@ -105,7 +106,7 @@ Choose game:
- +
diff --git a/rlgterm.js b/rlgterm.js index 5f47fb5..10204e2 100644 --- a/rlgterm.js +++ b/rlgterm.js @@ -419,7 +419,7 @@ function logout() { nrecv = 0; msgQ = []; //document.getElementById("loginform").style.display = "block"; - setform("login"); + setmode("login"); return; } diff --git a/style-rlg.css b/style-rlg.css new file mode 100644 index 0000000..1501e0d --- /dev/null +++ b/style-rlg.css @@ -0,0 +1,11 @@ +html { + background-color: #C0FFC0; + color: #101040; +} + +h1 { + text-align: center; +} +div.modal { + clear: both; +} diff --git a/tty.css b/tty.css index 1aecb5b..d5a7210 100644 --- a/tty.css +++ b/tty.css @@ -7,9 +7,6 @@ img#bell { visibility: hidden; margin-left: 2em; } -div.modal { - clear: both; -} div.keyrow { font-size: 1.2em; } @@ -23,6 +20,8 @@ div.key { border: 2px solid black; margin: 0.2em; text-align: center; + background-color: white; + color: black; } div.keysel { width: 2em; @@ -31,7 +30,8 @@ div.keysel { border: 2px solid black; margin: 0.2em; text-align: center; - background-color: #C0FFC0; + background-color: #A0EEA0; + color: black; } div#shiftkey { width: 4em; @@ -87,6 +87,8 @@ div#debug { overflow: scroll; white-space: pre; clear: both; + background-color: white; + color: black; } div#debug > div { font-family: monospace;