Spaces:
Paused
Paused
File size: 1,661 Bytes
3fe9a8d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: #f4f4f9;
color: #333;
margin: 0;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
width: 100%;
max-width: 600px;
background: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
padding: 20px;
}
h1 {
color: #444;
margin: 0;
}
.title-container {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
#clear-button {
padding: 8px 12px;
border: none;
background-color: #dc3545;
color: white;
border-radius: 4px;
cursor: pointer;
font-size: 0.9rem;
}
#clear-button:hover {
background-color: #c82333;
}
#messages-container {
height: 500px;
overflow-y: auto;
border: 1px solid #eee;
padding: 10px;
margin-bottom: 20px;
border-radius: 4px;
}
.message {
padding: 8px 12px;
background-color: #eefcff;
border-radius: 4px;
margin-bottom: 8px;
width: 80%;
box-sizing: border-box;
}
.robot-message {
background-color: lightyellow;
margin-left: auto;
}
#message-form {
display: flex;
}
#message-input {
flex-grow: 1;
border: 1px solid #ddd;
padding: 10px;
border-radius: 4px;
font-size: 1rem;
}
button {
padding: 10px 20px;
border: none;
background-color: #007bff;
color: white;
border-radius: 4px;
margin-left: 10px;
cursor: pointer;
font-size: 1rem;
}
button:hover {
background-color: #0056b3;
} |