akhaliq HF Staff commited on
Commit
a862733
·
verified ·
1 Parent(s): 12d52be

Upload styles/globals.css with huggingface_hub

Browse files
Files changed (1) hide show
  1. styles/globals.css +44 -0
styles/globals.css ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ * {
6
+ box-sizing: border-box;
7
+ padding: 0;
8
+ margin: 0;
9
+ }
10
+
11
+ html,
12
+ body {
13
+ max-width: 100vw;
14
+ overflow-x: hidden;
15
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
16
+ }
17
+
18
+ body {
19
+ color: #1e293b;
20
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
21
+ min-height: 100vh;
22
+ }
23
+
24
+ @layer components {
25
+ .chat-container {
26
+ @apply max-w-4xl mx-auto bg-white shadow-2xl rounded-2xl overflow-hidden h-[90vh] flex flex-col;
27
+ }
28
+
29
+ .message-bubble {
30
+ @apply max-w-xs lg:max-w-md px-4 py-2 rounded-2xl shadow-md;
31
+ }
32
+
33
+ .user-message {
34
+ @apply bg-primary-500 text-white ml-auto rounded-br-md;
35
+ }
36
+
37
+ .bot-message {
38
+ @apply bg-gray-100 text-gray-800 mr-auto rounded-bl-md;
39
+ }
40
+
41
+ .input-container {
42
+ @apply border-t border-gray-200 p-4 bg-white;
43
+ }
44
+ }