-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
107 lines (96 loc) · 1.77 KB
/
Copy pathstyle.css
File metadata and controls
107 lines (96 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/* Grundlayout */
body {
font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background: #f5f7fa;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: flex-start;
min-height: 100vh;
}
/* Chat Container */
.chat-container {
width: 100%;
max-width: 600px;
background: #ffffff;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
margin: 40px auto;
display: flex;
flex-direction: column;
overflow: hidden;
}
/* Nachrichtenbereich */
.messages {
flex: 1;
padding: 20px;
overflow-y: auto;
}
/* Einzelne Nachricht */
.message {
margin: 12px 0;
max-width: 80%;
padding: 12px 16px;
border-radius: 18px;
line-height: 1.4;
font-size: 15px;
}
/* User Nachricht */
.message.user {
background: #0078d7;
color: #fff;
margin-left: auto;
border-bottom-right-radius: 4px;
}
/* KI Nachricht */
.message.ai {
background: #e9ecef;
color: #333;
margin-right: auto;
border-bottom-left-radius: 4px;
}
/* Eingabefeld */
.input-area {
display: flex;
border-top: 1px solid #ddd;
padding: 12px;
background: #fafafa;
}
.input-area input {
flex: 1;
padding: 12px;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 15px;
outline: none;
transition: border 0.2s;
}
.input-area input:focus {
border-color: #0078d7;
}
.input-area button {
margin-left: 10px;
padding: 12px 18px;
background: #0078d7;
color: #fff;
border: none;
border-radius: 8px;
font-size: 15px;
cursor: pointer;
transition: background 0.2s;
}
.input-area button:hover {
background: #005fa3;
}
/* Scrollbar Styling */
.messages::-webkit-scrollbar {
width: 6px;
}
.messages::-webkit-scrollbar-thumb {
background: #bbb;
border-radius: 3px;
}
.messages::-webkit-scrollbar-thumb:hover {
background: #999;
}