diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-15 21:55:32 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-15 21:55:32 -0800 |
| commit | 174987660473d4cdc1ad6857e5513a69f265f614 (patch) | |
| tree | 3ec88045fa7e2f6d26d40f0650c2699758532c2e /frontend-vanilla/src/style.css | |
| parent | 657faf3acd7755d6b84a87e0e363729d95930258 (diff) | |
| download | neko-174987660473d4cdc1ad6857e5513a69f265f614.tar.gz neko-174987660473d4cdc1ad6857e5513a69f265f614.tar.bz2 neko-174987660473d4cdc1ad6857e5513a69f265f614.zip | |
Vanilla JS (v3): Removed confusing secondary cat logo, fixed mobile overflow, cleaned up styles
Diffstat (limited to 'frontend-vanilla/src/style.css')
| -rw-r--r-- | frontend-vanilla/src/style.css | 38 |
1 files changed, 24 insertions, 14 deletions
diff --git a/frontend-vanilla/src/style.css b/frontend-vanilla/src/style.css index a97f443..d5c1b2d 100644 --- a/frontend-vanilla/src/style.css +++ b/frontend-vanilla/src/style.css @@ -30,7 +30,14 @@ body { color: var(--text-color); height: 100vh; width: 100%; + max-width: 100vw; overflow: hidden; + /* Restore explicit hidden for app-shell feel */ +} + +html { + overflow-x: hidden; + max-width: 100vw; } #app { @@ -66,17 +73,7 @@ body { border-right-color: rgba(255, 255, 255, 0.05); } -.sidebar-header { - margin-bottom: 2rem; - display: flex; - justify-content: center; -} - -.sidebar-logo { - font-size: 3rem; - cursor: pointer; - user-select: none; -} +/* Sidebar Header Removed */ .sidebar-search { margin-bottom: 2rem; @@ -392,13 +389,24 @@ body { word-break: break-word; } -.item-description img { +.item-description img, +.item-description video, +.item-description pre { max-width: 100%; height: auto; display: block; margin: 1rem 0; } +.item-description pre { + white-space: pre-wrap; + word-wrap: break-word; + overflow-x: auto; + background: rgba(0, 0, 0, 0.05); + padding: 1em; + border-radius: 4px; +} + .scrape-btn { background: var(--bg-color); border: 1px solid var(--border-color, #ccc); @@ -483,6 +491,7 @@ button.active { background-color: #224; border-color: var(--accent-color); } + .add-feed-form { display: flex; gap: 0.5rem; @@ -514,7 +523,8 @@ button.active { color: var(--text-color); } -.data-actions button, .data-actions .button { +.data-actions button, +.data-actions .button { display: inline-block; text-align: center; width: 100%; @@ -522,4 +532,4 @@ button.active { label.button { cursor: pointer; -} +}
\ No newline at end of file |
