leolaish commited on
Commit
d2ab274
·
verified ·
1 Parent(s): 4b91da7

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +71 -18
style.css CHANGED
@@ -1,28 +1,81 @@
 
 
 
 
 
 
 
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
+ /* Reset styles */
2
+ * {
3
+ margin: 0;
4
+ padding: 0;
5
+ box-sizing: border-box;
6
+ }
7
+
8
  body {
9
+ font-family: Arial, sans-serif;
10
+ background-color: #f3f3f3;
11
+ display: flex;
12
+ justify-content: center;
13
+ align-items: center;
14
+ min-height: 100vh;
15
+ }
16
+
17
+ .container {
18
+ max-width: 700px;
19
+ width: 100%;
20
+ background-color: #fff;
21
+ border-radius: 10px;
22
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
23
+ }
24
+
25
+ .chat-window {
26
+ padding: 20px;
27
+ height: 500px;
28
+ overflow-y: auto;
29
+ }
30
+
31
+ .messages {
32
+ display: flex;
33
+ flex-direction: column;
34
+ height: 100%;
35
  }
36
 
37
+ .messages .message {
38
+ margin-bottom: 10px;
 
39
  }
40
 
41
+ .messages .user-message {
42
+ align-self: flex-end;
43
+ background-color: #dcf8c6;
44
+ border-radius: 10px 10px 0 10px;
 
45
  }
46
 
47
+ .messages .bot-message {
48
+ align-self: flex-start;
49
+ background-color: #e6e6e6;
50
+ border-radius: 10px 10px 10px 10px;
 
 
51
  }
52
 
53
+ .input-container {
54
+ display: flex;
55
+ margin-top: 20px;
56
  }
57
+
58
+ #user-input {
59
+ flex: 1;
60
+ padding: 10px;
61
+ border: none;
62
+ border-bottom-left-radius: 10px;
63
+ font-size: 16px;
64
+ }
65
+
66
+ #user-input:focus {
67
+ outline: none;
68
+ }
69
+
70
+ #send-button {
71
+ background-color: #0077ff;
72
+ color: #fff;
73
+ border: none;
74
+ padding: 10px;
75
+ border-top-right-radius: 10px;
76
+ cursor: pointer;
77
+ }
78
+
79
+ #send-button:hover {
80
+ background-color: #0066cc;
81
+ }