aboutsummaryrefslogtreecommitdiff
path: root/main.css
diff options
context:
space:
mode:
Diffstat (limited to 'main.css')
-rw-r--r--main.css65
1 files changed, 65 insertions, 0 deletions
diff --git a/main.css b/main.css
new file mode 100644
index 0000000..f67887f
--- /dev/null
+++ b/main.css
@@ -0,0 +1,65 @@
+.UI {
+ background-color: blue;
+}
+#chatwindow {
+ display: flex;
+ flex-flow: column;
+ overflow-y: scroll;
+ word-break: break-word;
+ scroll-snap-align: end;
+ flex-basis: 100vh;
+ flex-grow: 1;
+}
+.message:hover {
+ background-color: #DDD;
+}
+.message {
+ white-space: pre;
+}
+#navbar {
+ border-bottom: 2px solid black;
+ width: 100%;
+ display: inline-block;
+ flex-grow: 0;
+}
+#inputbox {
+ border-top: 2px solid black;
+ display: flex;
+}
+#inputbox > button {
+ padding: 0 5px 0 5px;
+}
+#input {
+ resize: none;
+ flex-grow: 1;
+ font-size: 16px;
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ border: 0;
+}
+
+body {
+ display: flex;
+ flex-direction: column;
+ max-height: 100vh;
+}
+
+.date {
+ text-align: center;
+ font-weight: bold;
+ border-bottom: 1px solid black;
+}
+
+.deleted {
+ color: #999;
+}
+
+.new_messages {
+ display: none;
+ text-align: center;
+ background-color: red;
+ color: white;
+} \ No newline at end of file