From ebd5e71295b2df5ef7a015a1e8a128788bcde1ed Mon Sep 17 00:00:00 2001 From: HanishKVC Date: Sat, 18 May 2024 17:09:47 +0530 Subject: [PATCH] SimpleChat:CSS: Move style info into its own css file To keep it simple, clean and seperate so that things are not unnecessarily cluttered. --- .../server/public_simplechat/simplechat.css | 23 +++++++++++++++++++ .../server/public_simplechat/simplechat.html | 21 +---------------- 2 files changed, 24 insertions(+), 20 deletions(-) create mode 100644 examples/server/public_simplechat/simplechat.css diff --git a/examples/server/public_simplechat/simplechat.css b/examples/server/public_simplechat/simplechat.css new file mode 100644 index 000000000..da6357973 --- /dev/null +++ b/examples/server/public_simplechat/simplechat.css @@ -0,0 +1,23 @@ +/** + * the styling of the simplechat web frontend + * by Humans for All + */ + + .heading { + background-color: lightgray; +} +.role-system { + background-color: lightblue; +} +.role-user { + background-color: lightgray; +} +.wideinput { + width: 90vw; +} +.float-right { + float: right; +} +* { + margin: 0.4vh; +} diff --git a/examples/server/public_simplechat/simplechat.html b/examples/server/public_simplechat/simplechat.html index f755e6157..5d5118b21 100644 --- a/examples/server/public_simplechat/simplechat.html +++ b/examples/server/public_simplechat/simplechat.html @@ -5,26 +5,7 @@ - +