Full Reset
This commit is contained in:
61
css/chatrd.css
Normal file
61
css/chatrd.css
Normal file
@@ -0,0 +1,61 @@
|
||||
/* Basic reset and styling */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.sn-notify-outline { --sn-notify-background-color: #27272a; }
|
||||
.sn-notify-outline .sn-notify-title { --sn-notify-title-color: #FFFFFF; }
|
||||
.sn-notify-outline .sn-notify-text { --sn-notify-text-color: rgba(255,255,255,0.5); }
|
||||
|
||||
.sn-notify-outline { --sn-notify-background-color: #27272a; }
|
||||
.sn-notify-outline .sn-notify-title { --sn-notify-title-color: #FFFFFF; }
|
||||
.sn-notify-outline .sn-notify-text { --sn-notify-text-color: rgba(255,255,255,0.5); }
|
||||
|
||||
/* Full-page container styling */
|
||||
html {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
font-family: "Inter", sans-serif;
|
||||
scroll-behavior: smooth;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
#container {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#container .wrapper {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#chat {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column-reverse;
|
||||
overflow-y: auto;
|
||||
padding: 10px;
|
||||
scrollbar-color: #555 #1e1e1e;
|
||||
}
|
||||
|
||||
#chat.noscrollbar {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
#chat::-webkit-scrollbar { width: 8px; }
|
||||
#chat::-webkit-scrollbar-track { background: #1e1e1e; }
|
||||
#chat::-webkit-scrollbar-thumb { background-color: #555; border-radius: 4px; border: 2px solid #1e1e1e; }
|
||||
#chat::-webkit-scrollbar-thumb:hover { background-color: #777; }
|
Reference in New Issue
Block a user