374 lines
7.1 KiB
CSS
374 lines
7.1 KiB
CSS
@import url("assets/home.css");
|
|
@import url("assets/news.css");
|
|
@import url("assets/greet.css");
|
|
|
|
/* --- Global & Layout --- */
|
|
body {
|
|
background-color: #0f0f13;
|
|
color: #e2e2e7;
|
|
font-family:
|
|
"Inter",
|
|
-apple-system,
|
|
sans-serif;
|
|
margin: 0;
|
|
line-height: 1.5;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
.feed-container {
|
|
width: 100%;
|
|
max-width: 600px;
|
|
padding: 40px 20px 150px 20px;
|
|
}
|
|
|
|
/* --- Navigation Dock --- */
|
|
.navbar-dock {
|
|
position: fixed;
|
|
bottom: 30px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
background-color: rgba(30, 30, 46, 0.85);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
padding: 15px 30px;
|
|
border-radius: 50px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
display: flex;
|
|
gap: 30px;
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
|
|
z-index: 1000;
|
|
}
|
|
|
|
.nav-link {
|
|
color: #a0a0b0;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: #ffffff;
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.nav-link.active {
|
|
color: #4a90e2;
|
|
}
|
|
|
|
/* --- Content & Cards --- */
|
|
.feed-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.post-card {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 16px;
|
|
padding: 20px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.post-author {
|
|
color: #4a90e2;
|
|
font-weight: 700;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.post-content {
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
/* --- Interaction Elements --- */
|
|
.reload-btn-large {
|
|
cursor: pointer;
|
|
background: rgba(74, 144, 226, 0.1);
|
|
color: #4a90e2;
|
|
padding: 14px;
|
|
border-radius: 16px;
|
|
width: 100%;
|
|
font-weight: 600;
|
|
border: 1px solid rgba(74, 144, 226, 0.3);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.reload-btn-large:hover {
|
|
background: rgba(74, 144, 226, 0.2);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* --- Markdown Styling für KI News --- */
|
|
.markdown-body {
|
|
font-size: 0.95rem;
|
|
line-height: 1.6;
|
|
color: #e2e2e7;
|
|
}
|
|
|
|
/* Fettgedruckter Text in Blau-Weiß-Verlauf Optik */
|
|
.markdown-body strong {
|
|
color: #ffffff;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* Kursiv für Akzente */
|
|
.markdown-body em {
|
|
color: #a0a0b0;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Links im KI-Text */
|
|
.markdown-body a {
|
|
color: #4a90e2;
|
|
text-decoration: none;
|
|
border-bottom: 1px solid rgba(74, 144, 226, 0.3);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.markdown-body a:hover {
|
|
color: #5294e2;
|
|
border-bottom-color: #5294e2;
|
|
}
|
|
|
|
/* Listen-Design */
|
|
.markdown-body ul,
|
|
.markdown-body ol {
|
|
padding-left: 20px;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.markdown-body li {
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
/* Code-Blöcke (falls die KI Code generiert) */
|
|
.markdown-body code {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
padding: 2px 6px;
|
|
border-radius: 6px;
|
|
font-family: "JetBrains Mono", monospace;
|
|
font-size: 0.85rem;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
/* Überschriften innerhalb der Post-Card */
|
|
.markdown-body h1,
|
|
.markdown-body h2,
|
|
.markdown-body h3 {
|
|
color: #4a90e2;
|
|
margin-top: 15px;
|
|
margin-bottom: 8px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.markdown-body h3 {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* Zitate / Blockquotes */
|
|
.markdown-body blockquote {
|
|
margin: 10px 0;
|
|
padding-left: 15px;
|
|
border-left: 3px solid #4a90e2;
|
|
color: #8e8e93;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Greet */
|
|
.robot-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
margin: 60px auto;
|
|
width: fit-content;
|
|
}
|
|
|
|
.robot-container:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.robot-icon {
|
|
font-size: 6rem;
|
|
filter: drop-shadow(0 0 20px rgba(74, 144, 226, 0.3));
|
|
animation: float 3s ease-in-out infinite;
|
|
}
|
|
|
|
.bubble {
|
|
margin-top: 25px;
|
|
padding: 20px 30px;
|
|
background: rgba(30, 30, 46, 0.7);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border-radius: 24px;
|
|
border: 1px solid rgba(255, 173, 210, 0.4);
|
|
color: #ffffff;
|
|
font-weight: 600;
|
|
font-size: 1.1rem;
|
|
text-align: center;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
|
|
max-width: 320px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
@keyframes float {
|
|
0% {
|
|
transform: translateY(0px);
|
|
}
|
|
50% {
|
|
transform: translateY(-10px);
|
|
}
|
|
100% {
|
|
transform: translateY(0px);
|
|
}
|
|
}
|
|
|
|
/* --- Mode Switcher (KI / RSS) --- */
|
|
.mode-switch {
|
|
display: flex;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-radius: 20px;
|
|
padding: 4px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.switch-btn {
|
|
border: none;
|
|
border-radius: 16px;
|
|
padding: 6px 16px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
background: transparent;
|
|
color: #a0a0b0;
|
|
font-weight: 700;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.switch-btn.active-ai {
|
|
background: #4a90e2;
|
|
color: white;
|
|
box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
|
|
}
|
|
|
|
.switch-btn.active-rss {
|
|
background: #facc15;
|
|
color: #0f0f13;
|
|
box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
|
|
}
|
|
|
|
/* --- Config Panel (API Key Eingabe) --- */
|
|
.config-panel {
|
|
background: rgba(74, 144, 226, 0.05);
|
|
border: 1px solid rgba(74, 144, 226, 0.3);
|
|
border-radius: 16px;
|
|
padding: 20px;
|
|
margin-bottom: 25px;
|
|
animation: slideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
}
|
|
|
|
.config-panel h3 {
|
|
margin-top: 0;
|
|
color: #4a90e2;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.config-input {
|
|
width: 100%;
|
|
padding: 12px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: white;
|
|
border-radius: 10px;
|
|
margin-bottom: 15px;
|
|
box-sizing: border-box;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.config-input:focus {
|
|
outline: none;
|
|
border-color: #4a90e2;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.save-btn {
|
|
background: #4a90e2;
|
|
color: white;
|
|
border: none;
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
font-weight: 600;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.save-btn:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* --- Status & Header Buttons --- */
|
|
.reload-btn {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 10px;
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
font-size: 1.1rem;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.reload-btn:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.status-msg {
|
|
text-align: center;
|
|
color: #a0a0b0;
|
|
margin-top: 60px;
|
|
font-style: italic;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
.error-card {
|
|
border: 1px solid rgba(239, 68, 68, 0.4);
|
|
background: rgba(239, 68, 68, 0.05);
|
|
padding: 15px;
|
|
border-radius: 12px;
|
|
color: #ef4444;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* --- Animations --- */
|
|
@keyframes slideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-15px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% {
|
|
opacity: 0.6;
|
|
}
|
|
50% {
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
opacity: 0.6;
|
|
}
|
|
}
|