Spaces:
Running
Running
Create style.css
Browse files
style.css
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Hintergrund allgemein */
|
| 2 |
+
body {
|
| 3 |
+
background: linear-gradient(135deg, #f9fafb, #eef2f7);
|
| 4 |
+
font-family: "Inter", "Segoe UI", sans-serif;
|
| 5 |
+
color: #222;
|
| 6 |
+
margin: 0;
|
| 7 |
+
padding: 0;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
/* Seitenleiste */
|
| 11 |
+
.sidebar {
|
| 12 |
+
background: #ffffffcc;
|
| 13 |
+
backdrop-filter: blur(10px);
|
| 14 |
+
padding: 20px;
|
| 15 |
+
border-right: 1px solid #ddd;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
/* Chatfenster */
|
| 19 |
+
.gr-chatbot {
|
| 20 |
+
background: #fff;
|
| 21 |
+
border-radius: 16px;
|
| 22 |
+
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
|
| 23 |
+
padding: 20px;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
/* Chatblasen */
|
| 27 |
+
.gr-chatbot-message {
|
| 28 |
+
max-width: 80%;
|
| 29 |
+
padding: 10px 15px;
|
| 30 |
+
border-radius: 18px;
|
| 31 |
+
margin: 8px 0;
|
| 32 |
+
font-size: 15px;
|
| 33 |
+
line-height: 1.4;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
/* User-Nachrichten */
|
| 37 |
+
.gr-chatbot-message.user {
|
| 38 |
+
background: #2563eb;
|
| 39 |
+
color: white;
|
| 40 |
+
margin-left: auto;
|
| 41 |
+
border-bottom-right-radius: 4px;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
/* Bot-Nachrichten */
|
| 45 |
+
.gr-chatbot-message.bot {
|
| 46 |
+
background: #f3f4f6;
|
| 47 |
+
color: #111;
|
| 48 |
+
margin-right: auto;
|
| 49 |
+
border-bottom-left-radius: 4px;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
/* Eingabefeld */
|
| 53 |
+
input, textarea {
|
| 54 |
+
border-radius: 12px !important;
|
| 55 |
+
border: 1px solid #ddd !important;
|
| 56 |
+
padding: 10px 14px !important;
|
| 57 |
+
font-size: 15px !important;
|
| 58 |
+
outline: none;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
/* Buttons */
|
| 62 |
+
button {
|
| 63 |
+
border-radius: 12px !important;
|
| 64 |
+
padding: 8px 16px !important;
|
| 65 |
+
font-size: 15px !important;
|
| 66 |
+
background: #2563eb !important;
|
| 67 |
+
color: white !important;
|
| 68 |
+
border: none !important;
|
| 69 |
+
cursor: pointer;
|
| 70 |
+
transition: background 0.2s ease;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
button:hover {
|
| 74 |
+
background: #1e4ed8 !important;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
/* Dark Mode (optional: falls Nutzer systemweit Dark Mode aktiv hat) */
|
| 78 |
+
@media (prefers-color-scheme: dark) {
|
| 79 |
+
body {
|
| 80 |
+
background: linear-gradient(135deg, #0f172a, #1e293b);
|
| 81 |
+
color: #eee;
|
| 82 |
+
}
|
| 83 |
+
.gr-chatbot {
|
| 84 |
+
background: #1e293b;
|
| 85 |
+
}
|
| 86 |
+
.gr-chatbot-message.user {
|
| 87 |
+
background: #3b82f6;
|
| 88 |
+
}
|
| 89 |
+
.gr-chatbot-message.bot {
|
| 90 |
+
background: #334155;
|
| 91 |
+
color: #e5e7eb;
|
| 92 |
+
}
|
| 93 |
+
}
|