chatterbox-haven / style.css
eriksaether's picture
Create an online chat forum
e11ebc8 verified
Raw History Blame Contribute Delete
801 Bytes
/* Base styles */
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
line-height: 1.6;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
/* Animation for new messages */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.new-message {
animation: fadeIn 0.3s ease-out;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.chat-container {
flex-direction: column;
}
}