This commit is contained in:
2024-12-13 00:02:57 +11:00
commit ff44813522
7 changed files with 1729 additions and 0 deletions

105
public/styles.css Normal file
View File

@@ -0,0 +1,105 @@
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background: #0e0e10;
color: #efeff1;
height: 100vh;
display: flex;
flex-direction: row;
}
#chat-container {
display: flex;
flex-direction: row;
width: 100%;
height: 100%;
}
.column {
flex: 1;
height: 100vh;
overflow: hidden;
border: 1px solid #2d2d2d;
padding: 10px;
border-radius: 4px;
background: #18181b;
position: relative;
box-sizing: border-box;
}
.chat-message {
padding: 4px 8px;
line-height: 1.5;
word-wrap: break-word;
}
.chat-message:hover {
background: #1f1f23;
}
.emote {
vertical-align: middle;
margin: 0 2px;
}
.username {
font-weight: bold;
margin-right: 4px;
}
.mention {
color: #00BFFF;
font-weight: bold;
}
.duplicate-count {
display: inline-block;
background: #2d2d2d;
color: #efeff1;
padding: 0 6px;
border-radius: 8px;
font-size: 0.8em;
margin-left: 8px;
}
#settings-box {
position: absolute;
top: 10px;
left: 50%;
transform: translateX(-50%);
background: #2d2d2d;
padding: 10px;
border-radius: 4px;
display: flex;
gap: 15px;
align-items: center;
z-index: 10;
}
#settings-box label {
font-weight: bold;
color: #efeff1;
}
#settings-box input {
width: 50px;
padding: 5px;
border-radius: 4px;
border: 1px solid #ccc;
background: #18181b;
color: #efeff1;
}
#settings-box button {
padding: 5px 10px;
background: #444;
color: #efeff1;
border: none;
border-radius: 4px;
cursor: pointer;
}
#settings-box button:hover {
background: #555;
}