summaryrefslogtreecommitdiff
path: root/examples/server/public_simplechat/simplechat.css
diff options
context:
space:
mode:
Diffstat (limited to 'examples/server/public_simplechat/simplechat.css')
-rw-r--r--examples/server/public_simplechat/simplechat.css61
1 files changed, 61 insertions, 0 deletions
diff --git a/examples/server/public_simplechat/simplechat.css b/examples/server/public_simplechat/simplechat.css
new file mode 100644
index 00000000..d45f50a9
--- /dev/null
+++ b/examples/server/public_simplechat/simplechat.css
@@ -0,0 +1,61 @@
+/**
+ * the styling of the simplechat web frontend
+ * by Humans for All
+ */
+
+#fullbody {
+ height: 98vh;
+}
+
+.heading {
+ background-color: lightgray;
+}
+
+.session-selected {
+ background-color: lightblue;
+}
+
+.role-system {
+ background-color: lightblue;
+}
+.role-user {
+ background-color: lightgray;
+}
+
+.flex-grow {
+ flex-grow: 1;
+}
+.float-right {
+ float: right;
+}
+
+#chat-div {
+ overflow: scroll;
+ flex-grow: 1;
+ flex-shrink: 1;
+ min-height: 40vh;
+}
+button {
+ min-width: 8vw;
+}
+
+.sameline {
+ display: flex;
+ flex-direction: row;
+}
+.samecolumn {
+ display: flex;
+ flex-direction: column;
+}
+
+* {
+ margin: 0.6vmin;
+}
+
+@media print {
+
+ #fullbody {
+ height: auto;
+ }
+
+}