Lukeetah commited on
Commit
a947ee5
·
verified ·
1 Parent(s): 8549c0c

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +15 -162
static/style.css CHANGED
@@ -1,162 +1,15 @@
1
- :root {
2
- --primary-color: #2c3e50;
3
- --secondary-color: #3498db;
4
- --background-color: #f9f9f9;
5
- --text-color: #333;
6
- --light-gray: #f1f1f1;
7
- --border-color: #ddd;
8
- --shadow: 0 2px 5px rgba(0,0,0,0.1);
9
- }
10
-
11
- * {
12
- margin: 0;
13
- padding: 0;
14
- box-sizing: border-box;
15
- }
16
-
17
- body {
18
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
19
- background-color: var(--background-color);
20
- color: var(--text-color);
21
- line-height: 1.6;
22
- }
23
-
24
- .container {
25
- max-width: 800px;
26
- margin: 0 auto;
27
- padding: 20px;
28
- display: flex;
29
- flex-direction: column;
30
- min-height: 100vh;
31
- }
32
-
33
- header {
34
- text-align: center;
35
- margin-bottom: 30px;
36
- padding: 20px 0;
37
- border-bottom: 1px solid var(--border-color);
38
- }
39
-
40
- header h1 {
41
- color: var(--primary-color);
42
- font-size: 2.5rem;
43
- margin-bottom: 10px;
44
- }
45
-
46
- header p {
47
- color: var(--secondary-color);
48
- font-size: 1.2rem;
49
- }
50
-
51
- main {
52
- flex: 1;
53
- display: flex;
54
- flex-direction: column;
55
- }
56
-
57
- .chat-container {
58
- flex: 1;
59
- display: flex;
60
- flex-direction: column;
61
- background-color: white;
62
- border-radius: 10px;
63
- box-shadow: var(--shadow);
64
- overflow: hidden;
65
- }
66
-
67
- .messages {
68
- flex: 1;
69
- padding: 20px;
70
- overflow-y: auto;
71
- max-height: 60vh;
72
- }
73
-
74
- .message {
75
- margin-bottom: 15px;
76
- display: flex;
77
- flex-direction: column;
78
- }
79
-
80
- .message.user {
81
- align-items: flex-end;
82
- }
83
-
84
- .message.samuel {
85
- align-items: flex-start;
86
- }
87
-
88
- .message p {
89
- padding: 12px 18px;
90
- border-radius: 18px;
91
- max-width: 70%;
92
- word-wrap: break-word;
93
- }
94
-
95
- .message.user p {
96
- background-color: var(--secondary-color);
97
- color: white;
98
- border-bottom-right-radius: 5px;
99
- }
100
-
101
- .message.samuel p {
102
- background-color: var(--light-gray);
103
- color: var(--text-color);
104
- border-bottom-left-radius: 5px;
105
- }
106
-
107
- .input-container {
108
- display: flex;
109
- padding: 15px;
110
- border-top: 1px solid var(--border-color);
111
- }
112
-
113
- #message-input {
114
- flex: 1;
115
- padding: 12px 15px;
116
- border: 1px solid var(--border-color);
117
- border-radius: 20px;
118
- font-size: 16px;
119
- outline: none;
120
- }
121
-
122
- #message-input:focus {
123
- border-color: var(--secondary-color);
124
- }
125
-
126
- #send-button {
127
- margin-left: 10px;
128
- padding: 10px 20px;
129
- background-color: var(--secondary-color);
130
- color: white;
131
- border: none;
132
- border-radius: 20px;
133
- font-size: 16px;
134
- cursor: pointer;
135
- }
136
-
137
- #send-button:hover {
138
- background-color: #2980b9;
139
- }
140
-
141
- footer {
142
- text-align: center;
143
- margin-top: 30px;
144
- padding: 20px 0;
145
- border-top: 1px solid var(--border-color);
146
- color: #777;
147
- font-size: 0.9rem;
148
- }
149
-
150
- @media (max-width: 600px) {
151
- .container {
152
- padding: 10px;
153
- }
154
-
155
- header h1 {
156
- font-size: 2rem;
157
- }
158
-
159
- .message p {
160
- max-width: 85%;
161
- }
162
- }
 
1
+ /* static/style.css */
2
+ :root{--bg:#0b0b0d;--card:#0f0f13;--accent:#5ae4ff;--muted:#9aa0a6}
3
+ *{box-sizing:border-box}
4
+ body{margin:0;font-family:Inter,system-ui,Arial;background:var(--bg);color:#e6eef6}
5
+ .app{display:flex;height:100vh}
6
+ .sidebar{width:220px;background:#070708;padding:20px;border-right:1px solid #111}
7
+ .sidebar h2{margin:0 0 12px}
8
+ .main{flex:1;padding:24px}
9
+ #messages{height:70vh;overflow:auto;padding:12px;background:linear-gradient(180deg,#071018,transparent);border-radius:12px}
10
+ .msg{padding:8px 12px;border-radius:10px;margin-bottom:8px}
11
+ .msg.me{background:#0b2b1a;align-self:flex-end}
12
+ .msg.sam{background:linear-gradient(90deg,#05182b00,#0b2b36);}
13
+ form{display:flex;margin-top:12px}
14
+ input{flex:1;padding:10px;border-radius:8px;border:1px solid #272b30;background:#071017;color:#dfe7ee}
15
+ button{margin-left:8px;padding:8px 12px;border-radius:8px;background:var(--accent);border:none}