From 2d823c8f8557f0a49e4307717e99a90b24052e9c Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 8 Nov 2013 13:15:52 +0100 Subject: webchat: refactored code --- webchat/public/reset.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'webchat/public/reset.css') diff --git a/webchat/public/reset.css b/webchat/public/reset.css index 65f68058..4139aca5 100644 --- a/webchat/public/reset.css +++ b/webchat/public/reset.css @@ -21,7 +21,6 @@ time, mark, audio, video { border: 0; font-size: 100%; font: inherit; - font-family: monospace; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ @@ -33,6 +32,7 @@ body { line-height: 1; background-color: black; color: white; + font-family: monospace; } ol, ul { list-style: none; @@ -54,7 +54,7 @@ q:before, q:after { } #input{ width: 100%; - background-color: #555555; + background-color: #221111; border: 1px solid black; color: white; } @@ -116,4 +116,4 @@ a { font-size: 14px; position: absolute; bottom: 5px; -} \ No newline at end of file +} -- cgit v1.2.3 From 24efdc59cb58c5bbfa49516088fe124bc9f431c1 Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 11 Nov 2013 17:46:27 +0100 Subject: webchat: still refactoring --- webchat/public/reset.css | 1 + 1 file changed, 1 insertion(+) (limited to 'webchat/public/reset.css') diff --git a/webchat/public/reset.css b/webchat/public/reset.css index 4139aca5..64ba963e 100644 --- a/webchat/public/reset.css +++ b/webchat/public/reset.css @@ -63,6 +63,7 @@ q:before, q:after { font-weight: bold; text-align: right; font-size:12px; + white-space: nowrap; } .chat_from:after { content: ":"; -- cgit v1.2.3 From 2197882bc5a131ed7c877505ac66cbfa02679273 Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 11 Nov 2013 18:28:25 +0100 Subject: webchat: join and quit color via css --- webchat/public/reset.css | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'webchat/public/reset.css') diff --git a/webchat/public/reset.css b/webchat/public/reset.css index 64ba963e..d369bc86 100644 --- a/webchat/public/reset.css +++ b/webchat/public/reset.css @@ -58,14 +58,14 @@ q:before, q:after { border: 1px solid black; color: white; } -.chat_from { +.from { color:grey; font-weight: bold; text-align: right; font-size:12px; white-space: nowrap; } -.chat_from:after { +.from:after { content: ":"; padding-right: 6px; } @@ -88,16 +88,16 @@ q:before, q:after { } .chat_date,.chat_from,.chat_msg{ } -.chat_msg{ +.msg{ width: 100%; } a { color: red; } -.chat_date { +.date { color: green; } -.chat_date:after { +.date:after { content: ""; padding-right: 4px; } @@ -118,3 +118,9 @@ a { position: absolute; bottom: 5px; } +.join_msg { + color: #00FF00; +} +.quit_msg { + color: #FF0000; +} -- cgit v1.2.3