Skip to content

Commit 1f0e434

Browse files
authored
Update styles.css
1 parent 7f5e42d commit 1f0e434

File tree

1 file changed

+12
-24
lines changed

1 file changed

+12
-24
lines changed

styles.css

+12-24
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
1-
/* Global styles */
21
body {
32
font-family: 'Roboto', sans-serif;
4-
background: #0d0d0d; /* Dark background */
3+
background: #0d0d0d;
54
margin: 0;
65
padding: 0;
76
display: flex;
87
flex-direction: column;
98
align-items: center;
109
}
1110

12-
/* Header styling */
1311
.header {
1412
display: flex;
1513
align-items: center;
1614
padding: 15px 30px;
17-
background: linear-gradient(145deg, #1b1b1b, #333); /* Dark gradient */
15+
background: linear-gradient(145deg, #1b1b1b, #333);
1816
color: #fff;
1917
font-family: 'Roboto', sans-serif;
2018
width: 100%;
2119
max-width: 800px;
2220
border-bottom: 2px solid #444;
2321
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
24-
border-radius: 0 0 10px 10px; /* Rounded bottom corners */
22+
border-radius: 0 0 10px 10px;
2523
margin-bottom: 20px;
2624
}
2725

@@ -30,15 +28,14 @@ body {
3028
font-weight: 700;
3129
}
3230

33-
/* Chatbox */
3431
.chatbox {
3532
width: 90%;
3633
max-width: 800px;
3734
height: 70vh;
3835
margin: 20px auto;
3936
padding: 20px;
40-
background: linear-gradient(145deg, #1b1b1b, #2a2a2a); /* Dark gradient */
41-
border-radius: 0; /* Sharper corners */
37+
background: linear-gradient(145deg, #1b1b1b, #2a2a2a);
38+
border-radius: 0;
4239
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 10px 20px rgba(0, 0, 0, 0.6);
4340
overflow-y: auto;
4441
display: flex;
@@ -56,7 +53,7 @@ body {
5653
width: calc(100% - 10px);
5754
height: calc(100% - 10px);
5855
background: rgba(255, 255, 255, 0.1);
59-
border-radius: 0; /* Sharper corners */
56+
border-radius: 0;
6057
filter: blur(50px);
6158
z-index: -1;
6259
transition: opacity 0.3s ease;
@@ -66,18 +63,16 @@ body {
6663
opacity: 0.3;
6764
}
6865

69-
/* Messages */
7066
.message {
7167
padding: 15px;
72-
border-radius: 0; /* Sharper corners */
68+
border-radius: 0;
7369
max-width: 75%;
7470
word-wrap: break-word;
7571
animation: fadeIn 0.5s ease, glowing 1.5s infinite alternate;
7672
position: relative;
7773
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 8px 20px rgba(0, 0, 0, 0.6);
7874
}
7975

80-
/* User Message */
8176
.message.user {
8277
background: linear-gradient(145deg, #007bff, #0056b3);
8378
color: #fff;
@@ -86,7 +81,6 @@ body {
8681
position: relative;
8782
}
8883

89-
/* Bot Message */
9084
.message.bot {
9185
background: linear-gradient(145deg, #333, #444);
9286
color: #ddd;
@@ -95,7 +89,6 @@ body {
9589
position: relative;
9690
}
9791

98-
/* Inputs and textareas */
9992
textarea,
10093
input[type="number"],
10194
input[type="text"],
@@ -104,7 +97,7 @@ select {
10497
max-width: 800px;
10598
margin: 10px auto;
10699
padding: 15px;
107-
border-radius: 0; /* Sharper corners */
100+
border-radius: 0;
108101
border: 1px solid #444;
109102
font-size: 16px;
110103
transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
@@ -155,13 +148,12 @@ select:hover {
155148
transform: scale(1.02);
156149
}
157150

158-
/* Buttons */
159151
button {
160152
width: 90%;
161153
max-width: 800px;
162154
margin: 10px auto;
163155
padding: 15px;
164-
border-radius: 0; /* Sharper corners */
156+
border-radius: 0;
165157
border: none;
166158
background: linear-gradient(145deg, #007bff, #0056b3);
167159
color: #fff;
@@ -199,12 +191,11 @@ button:disabled {
199191
transition: background 0.3s ease;
200192
}
201193

202-
/* Safety UI */
203194
.danger-ui {
204195
border: 2px solid red;
205196
padding: 10px;
206197
margin-top: 20px;
207-
border-radius: 0; /* Sharper corners */
198+
border-radius: 0;
208199
background-color: #fdd;
209200
}
210201

@@ -218,15 +209,14 @@ button:disabled {
218209
margin: 5px 0;
219210
}
220211

221-
/* Debug Menu */
222212
.debug-menu {
223213
display: none;
224214
margin-top: 20px;
225215
padding: 10px;
226216
border: 1px solid #ddd;
227217
background-color: #fff;
228218
border-radius: 15px;
229-
position: relative; /* Ensure version badge is positioned correctly */
219+
position: relative;
230220
}
231221

232222
.debug-menu.active {
@@ -249,10 +239,9 @@ button:disabled {
249239
top: 10px;
250240
right: 10px;
251241
transition: transform 0.3s ease;
252-
animation: rotate 10s linear infinite; /* Add this line for rotation */
242+
animation: rotate 10s linear infinite;
253243
}
254244

255-
/* Animation CSS */
256245
@keyframes fadeIn {
257246
from {
258247
opacity: 0;
@@ -285,7 +274,6 @@ button:disabled {
285274
}
286275
}
287276

288-
/* Rotate animation */
289277
@keyframes rotate {
290278
from {
291279
transform: rotate(0deg);

0 commit comments

Comments
 (0)