Files
marstemedia/styles.css

235 lines
4.5 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);
}
}