104 lines
1.5 KiB
CSS
104 lines
1.5 KiB
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
padding: 20px;
|
|
}
|
|
|
|
h1 {
|
|
color: #333;
|
|
}
|
|
|
|
form {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#chat {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
#messages {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
}
|
|
|
|
#messages li {
|
|
padding: 8px;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
#scrollingText {
|
|
height: 100px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
#scrollingText p {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
line-height: 100px;
|
|
text-align: center;
|
|
animation: scrollingText 10s linear infinite;
|
|
}
|
|
@keyframes scrollingText {
|
|
0% { top: 100%; }
|
|
100% { top: -100%; }
|
|
}
|
|
|
|
/* styles.css */
|
|
button {
|
|
transition: background-color 0.3s, transform 0.3s;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #4CAF50; /* Green */
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
/* styles.css */
|
|
body {
|
|
transition: background-color 0.3s, color 0.3s;
|
|
}
|
|
|
|
body.dark-mode {
|
|
background-color: #121212;
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* styles.css */
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #f4f4f4;
|
|
color: #333;
|
|
}
|
|
|
|
header {
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
padding: 1em;
|
|
text-align: center;
|
|
}
|
|
|
|
main {
|
|
margin: 2em;
|
|
padding: 1em;
|
|
background-color: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
button {
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
border: none;
|
|
padding: 0.5em 1em;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #45a049;
|
|
}
|
|
|