From 84a94933b35d7c0969d332fe5c18f3f5f3c6de16 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Tue, 23 Jan 2024 11:30:55 +0100 Subject: gallery: make it possible to collapse tag spaces --- public/style.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'public/style.css') diff --git a/public/style.css b/public/style.css index 7fd0079..9acf10b 100644 --- a/public/style.css +++ b/public/style.css @@ -24,13 +24,15 @@ a { color: inherit; } .header .activity { padding: .25rem .5rem; align-self: center; color: #fff; } .header .activity.error { color: #f00; } +summary h2, summary h3 { display: inline-block; } + .sidebar { padding: .25rem .5rem; background: var(--shade-color); border-right: 1px solid #ccc; overflow: auto; min-width: 10rem; max-width: 20rem; flex-shrink: 0; } .sidebar input { width: 100%; box-sizing: border-box; margin: .5rem 0; font-size: inherit; } .sidebar h2 { margin: 0.5em 0 0.25em 0; padding: 0; font-size: 1.2rem; } -.sidebar ul { margin: .5rem 0; padding: 0; } +.sidebar ul { margin: 0; padding: 0; } .sidebar .path { margin: .5rem -.5rem; } .sidebar .path li { margin: 0; padding: 0; } @@ -81,7 +83,7 @@ img.thumbnail, .thumbnail.missing { box-shadow: 0 0 3px rgba(0, 0, 0, 0.75); .viewbar { padding: .25rem .5rem; background: #eee; border-left: 1px solid #ccc; min-width: 20rem; overflow: auto; } .viewbar h2 { margin: 0.5em 0 0.25em 0; padding: 0; font-size: 1.2rem; } -.viewbar h3 { margin: 0.25em 0; padding: 0; font-size: 1.1rem; } +.viewbar h3 { margin: 0.5em 0 0.25em 0; padding: 0; font-size: 1.1rem; } .viewbar ul { margin: 0; padding: 0 0 0 1.25em; list-style-type: "- "; } .viewbar ul.tags { padding: 0; list-style-type: none; } .viewbar li { margin: 0; padding: 0; } -- cgit v1.2.3-70-g09d2