Home Tab + Tauri backend
This commit is contained in:
165
styles.css
Normal file
165
styles.css
Normal file
@@ -0,0 +1,165 @@
|
||||
/* --- Basis & Layout --- */
|
||||
body {
|
||||
background-color: #0f0f13;
|
||||
color: #e2e2e7;
|
||||
font-family:
|
||||
"Inter",
|
||||
-apple-system,
|
||||
sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
line-height: 1.5;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.feed-container {
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
/* 150px unten, damit der Content nicht hinter der Navbar verschwindet */
|
||||
padding: 40px 20px 150px 20px;
|
||||
}
|
||||
|
||||
/* --- Header & Titel --- */
|
||||
.feed-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.feed-title {
|
||||
font-size: 1.8rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.02em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* --- Post Karten --- */
|
||||
.posts-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.post-card {
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 16px;
|
||||
padding: 20px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.post-card:hover {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border-color: rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
|
||||
.post-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 12px;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.post-author {
|
||||
color: #4a90e2;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.post-date {
|
||||
color: #63636e;
|
||||
}
|
||||
|
||||
.post-content {
|
||||
word-wrap: break-word;
|
||||
white-space: pre-wrap;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
/* --- Buttons (Reload) --- */
|
||||
.reload-btn {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
color: #e2e2e7;
|
||||
font-size: 1.2rem;
|
||||
padding: 8px 12px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.reload-btn:hover {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
transform: rotate(15deg) scale(1.1);
|
||||
}
|
||||
|
||||
.footer-action {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 40px 0;
|
||||
}
|
||||
|
||||
.reload-btn-large {
|
||||
background: rgba(74, 144, 226, 0.1);
|
||||
color: #4a90e2;
|
||||
border: 1px solid rgba(74, 144, 226, 0.3);
|
||||
padding: 14px 28px;
|
||||
border-radius: 16px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.reload-btn-large:hover {
|
||||
background: rgba(74, 144, 226, 0.2);
|
||||
box-shadow: 0 5px 15px rgba(74, 144, 226, 0.2);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/* --- Navbar Dock (Fixed) --- */
|
||||
.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;
|
||||
align-items: center;
|
||||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
color: #a0a0b0;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
font-size: 1.2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||
}
|
||||
|
||||
.nav-link:hover {
|
||||
color: #ffffff;
|
||||
transform: translateY(-5px) scale(1.1);
|
||||
}
|
||||
|
||||
.nav-link.active {
|
||||
color: #4a90e2;
|
||||
}
|
||||
|
||||
.status-msg {
|
||||
text-align: center;
|
||||
color: #63636e;
|
||||
margin-top: 60px;
|
||||
}
|
||||
Reference in New Issue
Block a user