Start work on a custom chat message implementation

This commit is contained in:
Oliver-Akins 2025-01-05 20:48:37 -07:00
parent 56fe115407
commit a09cec7e5f
5 changed files with 39 additions and 1 deletions

View file

@ -0,0 +1,15 @@
.ripcrypt.chat-message {
position: relative;
background: var(--base-background);
color: var(--base-text);
.author {
position: absolute;
text-align: center;
top: 0;
left: 50%;
transform: translateY(-50%) translateX(-50%);
background: var(--title-background);
color: var(--title-text);
}
}

View file

@ -23,4 +23,6 @@
label, input, select {
cursor: pointer;
}
}
}
@import url("./chatmessage.css");

View file

@ -7,6 +7,9 @@
--base-text: white;
--base-background: black;
--title-text: white;
--title-background: var(--accent-3);
--section-header-text: white;
--section-header-background: var(--accent-1);