Spaces:
Running

Changsensei commited on
Commit
a0a6996
·
verified ·
1 Parent(s): be423a8

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +88 -24
style.css CHANGED
@@ -1,28 +1,92 @@
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
- }
5
-
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
- }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
- }
25
-
26
- .card p:last-child {
27
- margin-bottom: 0;
28
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  body {
2
+ font-family: Arial, sans-serif;
3
+ margin: 0;
4
+ padding: 0;
5
+ background-color: #f4f4f4;
6
+ }
 
 
 
7
 
8
+ .header {
9
+ background: linear-gradient(135deg, #FFA500, #FF6347); /* Gradient from orange to coral */
10
+ color: #fff;
11
+ text-align: center;
12
+ padding: 20px 0;
13
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
14
+ }
15
+
16
+
17
+ .header h1 {
18
+ margin: 0;
19
+ font-size: 24px;
20
+ }
21
+
22
+ /* Rest of the CSS for the chat-container, chat-box, input-container, and send button remains the same */
23
+
24
+
25
+ .chat-container {
26
+ max-width: 500px; /* Increased width */
27
+ margin: 20px auto;
28
+ background-color: #fff;
29
+ border-radius: 20px; /* Increased border radius */
30
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
31
+ overflow: hidden;
32
+ }
33
+
34
+ .chat-box {
35
+ height: 300px;
36
+ overflow-y: auto;
37
+ padding: 20px; /* Increased padding */
38
+ }
39
+
40
+ .user-message,
41
+ .bot-message {
42
+ background-color: #f2f2f2;
43
+ padding: 10px;
44
+ border-radius: 15px;
45
+ margin-bottom: 10px;
46
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
47
  }
48
 
49
+ .chat-message {
50
+ margin-bottom: 20px; /* Increased margin */
51
+ }
52
+
53
+ .user-message {
54
+ text-align: right;
55
+ }
56
+
57
+ .bot-message {
58
+ text-align: left;
59
+ }
60
+
61
+ .input-container {
62
+ display: flex;
63
+ align-items: center; /* Center vertically */
64
+ padding: 20px; /* Increased padding */
65
+ }
66
+
67
+ #user-input {
68
+ flex: 1;
69
+ padding: 15px; /* Increased padding */
70
+ margin: 10px; /* Margin added */
71
+ border: none;
72
+ border-radius: 20px;
73
+ background-color: #f2f2f2;
74
+ outline: none;
75
+ width: 100%; /* Ensure input takes up all available space */
76
+ max-width: 70%; /* Limit maximum width to avoid stretching too much */
77
+ }
78
+ #send-btn {
79
+ padding: 15px 25px; /* Increased padding */
80
+ border: none;
81
+ border-radius: 25px; /* Rounded borders */
82
+ background-color: #4CAF50; /* Green color */
83
+ color: white;
84
+ font-weight: bold;
85
+ cursor: pointer;
86
+ outline: none;
87
+ transition: background-color 0.3s ease; /* Smooth transition effect */
88
+ }
89
+
90
+ #send-btn:hover {
91
+ background-color: #45a049; /* Darker shade on hover */
92
+ }