diff options
Diffstat (limited to 'frontend-vanilla/src/style.css')
| -rw-r--r-- | frontend-vanilla/src/style.css | 80 |
1 files changed, 61 insertions, 19 deletions
diff --git a/frontend-vanilla/src/style.css b/frontend-vanilla/src/style.css index a9c1c61..f3523f3 100644 --- a/frontend-vanilla/src/style.css +++ b/frontend-vanilla/src/style.css @@ -18,10 +18,10 @@ :root { --bg-color: #1a1a1a; --text-color: #e9ecef; - --sidebar-bg: #2d2d2d; - --border-color: #444; + --sidebar-bg: #212529; + --border-color: #343a40; --accent-color: #375a7f; - --hover-color: #3e3e3e; + --hover-color: #2c3034; } } @@ -61,17 +61,34 @@ body { font-size: 1.1rem; } -.feed-list { +.sidebar-scroll { + flex: 1; + overflow-y: auto; + padding: 0.5rem 0; +} + +.sidebar-section { + margin-bottom: 1.5rem; +} + +.sidebar-section h3 { + padding: 0 1rem; + font-size: 0.75rem; + text-transform: uppercase; + color: #888; + margin: 0 0 0.5rem 0; + letter-spacing: 0.05rem; +} + +.sidebar-section ul { list-style: none; padding: 0; margin: 0; - overflow-y: auto; - flex: 1; } -.feed-link { +.sidebar-section li a { display: block; - padding: 0.5rem 1rem; + padding: 0.4rem 1rem; text-decoration: none; color: var(--text-color); font-size: 0.9rem; @@ -80,15 +97,19 @@ body { text-overflow: ellipsis; } -.feed-item:hover { +.sidebar-section li:hover { background-color: var(--hover-color); } -.feed-item.active { +.sidebar-section li.active { background-color: var(--hover-color); font-weight: bold; } +.sidebar-section li.active a { + color: var(--accent-color); +} + /* Item List Pane */ .item-list-pane { width: var(--item-list-width); @@ -101,6 +122,8 @@ body { .top-bar { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border-color); + background-color: var(--bg-color); + z-index: 10; } .top-bar h1 { @@ -144,16 +167,23 @@ body { .item-title { font-weight: 600; - font-size: 0.95rem; + font-size: 0.9rem; margin-bottom: 0.2rem; line-height: 1.3; } .item-meta { - font-size: 0.8rem; + font-size: 0.75rem; color: #888; } +.load-more { + padding: 1.5rem; + text-align: center; + color: #888; + font-size: 0.85rem; +} + /* Item Detail Pane */ .item-detail-pane { flex: 1; @@ -162,7 +192,7 @@ body { } .item-detail-content { - max-width: 800px; + max-width: 700px; margin: 0 auto; padding: 2rem; } @@ -170,12 +200,13 @@ body { .item-detail header { margin-bottom: 2rem; border-bottom: 1px solid var(--border-color); - padding-bottom: 1rem; + padding-bottom: 1.5rem; } .item-detail h1 { - font-size: 1.8rem; - margin: 0 0 0.5rem 0; + font-size: 1.75rem; + margin: 0 0 0.75rem 0; + line-height: 1.2; } .item-detail h1 a { @@ -183,14 +214,25 @@ body { text-decoration: none; } +.item-detail h1 a:hover { + text-decoration: underline; +} + .full-content { font-size: 1.1rem; - line-height: 1.6; + line-height: 1.7; } .full-content img { max-width: 100%; height: auto; + display: block; + margin: 1.5rem 0; + border-radius: 4px; +} + +.full-content a { + color: var(--accent-color); } .empty-state { @@ -199,12 +241,12 @@ body { justify-content: center; height: 100%; color: #888; - font-size: 1.2rem; + font-size: 1.1rem; } .loading, .empty { - padding: 1rem; + padding: 2rem; text-align: center; color: #888; }
\ No newline at end of file |
