Files
marstemedia/styles.css
2025-12-30 17:15:21 +01:00

246 lines
4.7 KiB
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);
}
/* --- Chat Layout (Neu & Verbessert) --- */
.chat-wrapper {
display: flex;
flex-direction: column;
min-height: 70vh;
}
.chat-list {
display: flex;
flex-direction: column;
gap: 12px;
margin-bottom: 180px; /* Platz für Input-Container */
padding: 10px 0;
}
.chat-item {
max-width: 85%;
padding: 12px 16px;
border-radius: 18px;
display: flex;
flex-direction: column;
}
/* Ausrichtung der Bubbles */
.chat-item.outgoing {
align-self: flex-end;
background: rgba(74, 144, 226, 0.2);
border: 1px solid rgba(74, 144, 226, 0.3);
border-bottom-right-radius: 4px;
}
.chat-item.incoming {
align-self: flex-start;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-bottom-left-radius: 4px;
}
.chat-meta {
font-size: 0.65rem;
color: #63636e;
text-transform: uppercase;
margin-bottom: 4px;
font-weight: 700;
}
.chat-item.outgoing .chat-meta {
color: #4a90e2;
text-align: right;
}
.chat-content {
font-size: 1rem;
color: #e2e2e7;
word-wrap: break-word;
}
/* --- Floating Chat Input --- */
.chat-input-container {
position: fixed;
bottom: 110px;
left: 50%;
transform: translateX(-50%);
width: 90%;
max-width: 500px;
display: flex;
gap: 10px;
background: rgba(20, 20, 25, 0.9);
backdrop-filter: blur(15px);
padding: 12px;
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.1);
z-index: 900;
}
.chat-input {
flex: 1;
background: transparent;
border: none;
color: white;
padding: 0 10px;
outline: none;
}
.chat-send-btn {
background: #4a90e2;
color: white;
border: none;
width: 40px;
height: 40px;
border-radius: 50%;
cursor: pointer;
font-weight: bold;
}
/* --- Recipient UI --- */
.recipient-box {
position: sticky;
top: 0;
background: #0f0f13;
z-index: 100;
padding-bottom: 10px;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.recipient-input {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
color: #4a90e2;
font-family: monospace;
font-size: 0.85rem;
width: 100%;
padding: 10px 15px;
outline: none;
box-sizing: border-box;
}
.relay-status {
display: flex;
align-items: center;
gap: 8px;
background: rgba(255, 255, 255, 0.05);
padding: 4px 12px;
border-radius: 20px;
font-size: 0.7rem;
}
.status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
display: inline-block;
}
.status-dot.online {
background-color: #4ade80; /* Grün */
box-shadow: 0 0 8px #4ade80;
}
.status-dot.offline {
background-color: #facc15; /* Gelb/Orange für "Connecting" */
box-shadow: 0 0 8px #facc15;
}