Skip to content

Commit d7b3f2a

Browse files
authored
Update styles.css
1 parent 93c0aa4 commit d7b3f2a

File tree

1 file changed

+43
-1
lines changed

1 file changed

+43
-1
lines changed

ui/static/styles.css

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ header {
2121

2222
h1 {
2323
color: #333;
24+
font-size: 2.5em; /* Increased font size for better visibility */
2425
}
2526

2627
h2 {
2728
color: #555;
29+
font-size: 1.8em; /* Increased font size for better visibility */
30+
margin-top: 20px; /* Added margin for spacing */
2831
}
2932

3033
.chat-box {
@@ -34,19 +37,23 @@ h2 {
3437
overflow-y: auto;
3538
background-color: #fafafa;
3639
margin-bottom: 10px;
40+
border-radius: 4px; /* Added border radius for a softer look */
3741
}
3842

3943
.input-group {
4044
display: flex;
4145
justify-content: space-between;
46+
margin-bottom: 15px; /* Added margin for spacing */
4247
}
4348

44-
input[type="text"] {
49+
input[type="text"],
50+
input[type="number"] {
4551
flex: 1;
4652
padding: 10px;
4753
border: 1px solid #ccc;
4854
border-radius: 4px;
4955
margin-right: 10px;
56+
font-size: 1em; /* Increased font size for better readability */
5057
}
5158

5259
button {
@@ -56,6 +63,8 @@ button {
5663
border: none;
5764
border-radius: 4px;
5865
cursor: pointer;
66+
font-size: 1em; /* Increased font size for better readability */
67+
transition: background-color 0.3s; /* Smooth transition for hover effect */
5968
}
6069

6170
button:hover {
@@ -67,4 +76,37 @@ button:hover {
6776
padding: 10px;
6877
border: 1px solid #ccc;
6978
background-color: #e9ecef;
79+
border-radius: 4px; /* Added border radius for a softer look */
7080
}
81+
82+
ul {
83+
list-style-type: none; /* Remove default list styling */
84+
padding: 0; /* Remove default padding */
85+
}
86+
87+
li {
88+
padding: 10px;
89+
border: 1px solid #ccc;
90+
border-radius: 4px;
91+
margin-bottom: 10px; /* Space between list items */
92+
background-color: #f9f9f9; /* Light background for list items */
93+
}
94+
95+
li:hover {
96+
background-color: #f1f1f1; /* Highlight on hover */
97+
}
98+
99+
/* Responsive Design */
100+
@media (max-width: 600px) {
101+
.input-group {
102+
flex-direction: column; /* Stack input and button on small screens */
103+
}
104+
105+
input[type="text"],
106+
input[type="number"],
107+
button {
108+
width: 100%; /* Full width on small screens */
109+
margin-right: 0; /* Remove right margin */
110+
margin-bottom: 10px; /* Space between stacked elements */
111+
}
112+
}

0 commit comments

Comments
 (0)