Files
marstemedia/styles.css
2026-01-22 14:08:59 +01:00

508 lines
9.6 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) --- */
@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;
}
/* --- Header & Navigation --- */
.feed-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
}
.header-main {
display: flex;
flex-direction: column;
gap: 8px;
}
.header-main h1 {
margin: 0;
font-size: 1.8rem;
}
.mode-toggle {
display: flex;
background: rgba(255, 255, 255, 0.05);
border-radius: 12px;
padding: 3px;
width: fit-content;
border: 1px solid rgba(255, 255, 255, 0.08);
}
.toggle-btn {
border: none;
background: transparent;
color: #8e8e93;
padding: 4px 12px;
border-radius: 9px;
cursor: pointer;
font-size: 0.75rem;
font-weight: 700;
transition: all 0.2s ease;
}
.toggle-btn.active {
background: #4a90e2;
color: white;
}
.header-actions {
display: flex;
gap: 10px;
}
.action-btn {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 10px;
cursor: pointer;
font-size: 1.1rem;
transition: all 0.2s;
}
.action-btn:hover {
background: rgba(255, 255, 255, 0.1);
transform: translateY(-2px);
}
/* --- Config Panel & RSS Management --- */
.config-panel {
background: rgba(30, 30, 46, 0.6);
backdrop-filter: blur(20px);
border: 1px solid rgba(74, 144, 226, 0.3);
border-radius: 20px;
padding: 25px;
margin-bottom: 30px;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
animation: slideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.config-section {
margin-bottom: 20px;
}
.config-section label {
display: block;
font-size: 0.7rem;
font-weight: 800;
color: #4a90e2;
margin-bottom: 8px;
letter-spacing: 0.05rem;
}
.config-input {
width: 100%;
padding: 12px 16px;
background: rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
color: white;
border-radius: 12px;
box-sizing: border-box;
font-family: inherit;
}
.rss-input-row {
display: flex;
gap: 8px;
margin-bottom: 12px;
}
.add-btn {
background: #4a90e2;
color: white;
border: none;
border-radius: 12px;
width: 45px;
cursor: pointer;
font-weight: bold;
font-size: 1.2rem;
}
/* Scrollbereich für viele RSS Feeds */
.rss-list-scroll {
max-height: 150px;
overflow-y: auto;
background: rgba(0, 0, 0, 0.2);
border-radius: 12px;
padding: 8px;
border: 1px solid rgba(255, 255, 255, 0.05);
}
.rss-url-entry {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 12px;
background: rgba(255, 255, 255, 0.03);
border-radius: 8px;
margin-bottom: 4px;
font-size: 0.8rem;
}
.url-text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-right: 10px;
color: #a0a0b0;
}
.delete-btn {
background: transparent;
border: none;
color: #ef4444;
cursor: pointer;
padding: 4px;
font-weight: bold;
}
.save-master-btn {
background: linear-gradient(135deg, #4a90e2, #357abd);
color: white;
border: none;
padding: 14px;
border-radius: 12px;
cursor: pointer;
width: 100%;
font-weight: 700;
margin-top: 10px;
box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}
/* --- Post Cards & Markdown --- */
.post-card {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 18px;
padding: 22px;
margin-bottom: 18px;
transition: transform 0.2s ease;
}
.post-card:hover {
background: rgba(255, 255, 255, 0.05);
}
.post-header {
display: flex;
justify-content: space-between;
font-size: 0.75rem;
margin-bottom: 12px;
}
.post-author {
color: #4a90e2;
font-weight: 800;
}
.post-date {
color: #636366;
}
.markdown-body h3 {
margin: 0 0 10px 0;
color: #ffffff;
font-size: 1.15rem;
}
/* --- Status Messages --- */
.loading-spinner,
.status-msg {
text-align: center;
padding: 40px;
color: #8e8e93;
font-style: italic;
}
.error-box {
background: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.3);
color: #ef4444;
padding: 15px;
border-radius: 12px;
text-align: center;
}
/* --- Animations --- */
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Scrollbar Styling für die RSS Liste */
.rss-list-scroll::-webkit-scrollbar {
width: 6px;
}
.rss-list-scroll::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
}