Spaces:
Running
Running
File size: 1,803 Bytes
85b5dad |
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 |
/* Hintergrund allgemein */
body {
background: linear-gradient(135deg, #f9fafb, #eef2f7);
font-family: "Inter", "Segoe UI", sans-serif;
color: #222;
margin: 0;
padding: 0;
}
/* Seitenleiste */
.sidebar {
background: #ffffffcc;
backdrop-filter: blur(10px);
padding: 20px;
border-right: 1px solid #ddd;
}
/* Chatfenster */
.gr-chatbot {
background: #fff;
border-radius: 16px;
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
padding: 20px;
}
/* Chatblasen */
.gr-chatbot-message {
max-width: 80%;
padding: 10px 15px;
border-radius: 18px;
margin: 8px 0;
font-size: 15px;
line-height: 1.4;
}
/* User-Nachrichten */
.gr-chatbot-message.user {
background: #2563eb;
color: white;
margin-left: auto;
border-bottom-right-radius: 4px;
}
/* Bot-Nachrichten */
.gr-chatbot-message.bot {
background: #f3f4f6;
color: #111;
margin-right: auto;
border-bottom-left-radius: 4px;
}
/* Eingabefeld */
input, textarea {
border-radius: 12px !important;
border: 1px solid #ddd !important;
padding: 10px 14px !important;
font-size: 15px !important;
outline: none;
}
/* Buttons */
button {
border-radius: 12px !important;
padding: 8px 16px !important;
font-size: 15px !important;
background: #2563eb !important;
color: white !important;
border: none !important;
cursor: pointer;
transition: background 0.2s ease;
}
button:hover {
background: #1e4ed8 !important;
}
/* Dark Mode (optional: falls Nutzer systemweit Dark Mode aktiv hat) */
@media (prefers-color-scheme: dark) {
body {
background: linear-gradient(135deg, #0f172a, #1e293b);
color: #eee;
}
.gr-chatbot {
background: #1e293b;
}
.gr-chatbot-message.user {
background: #3b82f6;
}
.gr-chatbot-message.bot {
background: #334155;
color: #e5e7eb;
}
}
|