diff options
-rw-r--r-- | src/css/dumbymap.css | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index d5b25cc..4a7bf4f 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css | |||
@@ -237,23 +237,6 @@ a[href^='http']:not(:has(img))::after, | |||
237 | } | 237 | } |
238 | } | 238 | } |
239 | 239 | ||
240 | details { | ||
241 | display: block; | ||
242 | width: fit-content; | ||
243 | padding: .3rem 1rem; | ||
244 | |||
245 | border-radius: 4px; | ||
246 | |||
247 | background: #F0F0F0; | ||
248 | |||
249 | summary { | ||
250 | cursor: pointer; | ||
251 | } | ||
252 | |||
253 | &:hover { | ||
254 | background: #E4E4E7; | ||
255 | } | ||
256 | } | ||
257 | } | 240 | } |
258 | 241 | ||
259 | .menu { | 242 | .menu { |
@@ -377,14 +360,15 @@ a[href^='http']:not(:has(img))::after, | |||
377 | 360 | ||
378 | details { | 361 | details { |
379 | margin-bottom: 0.5em; | 362 | margin-bottom: 0.5em; |
380 | } | ||
381 | 363 | ||
382 | summary { | 364 | summary { |
383 | max-width: 60%; | 365 | max-width: 60%; |
384 | 366 | ||
385 | cursor: pointer; | 367 | cursor: pointer; |
368 | } | ||
386 | } | 369 | } |
387 | 370 | ||
371 | |||
388 | details > :not(summary) { | 372 | details > :not(summary) { |
389 | padding-left: 2em; | 373 | padding-left: 2em; |
390 | } | 374 | } |
@@ -815,3 +799,21 @@ a[href^='http']:not(:has(img))::after, | |||
815 | background: red; | 799 | background: red; |
816 | } | 800 | } |
817 | } | 801 | } |
802 | |||
803 | .dumby-block details { | ||
804 | display: block; | ||
805 | width: fit-content; | ||
806 | padding: .3rem 1rem; | ||
807 | |||
808 | border-radius: 4px; | ||
809 | |||
810 | background: #F0F0F0; | ||
811 | |||
812 | summary { | ||
813 | cursor: pointer; | ||
814 | } | ||
815 | |||
816 | &:hover { | ||
817 | background: #E4E4E7; | ||
818 | } | ||
819 | } | ||