From 715602d56b2918765789f08e10a975b3d2dcae5f Mon Sep 17 00:00:00 2001 From: Timur Ismagilov Date: Sat, 26 Mar 2022 18:49:30 +0300 Subject: [PATCH] Categories: Make the lists look more like Mycorrhiza --- static/default.css | 12 +++++++----- views/categories.html | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/static/default.css b/static/default.css index 0d15f2c..5f0d69d 100644 --- a/static/default.css +++ b/static/default.css @@ -14,10 +14,10 @@ .modal__title_small { font-size: 1.5rem; } .modal__confirmation-msg { margin: 0 0 .5rem 0; } -.hypha-list, .title-search__results, .backlinks__list { padding-left: 0; } -.hypha-list__entry, .title-search__entry, .backlinks__entry { list-style-type: none; } -.hypha-list__link, .title-search__link, .backlinks__link { text-decoration: none; display: inline-block; padding: .25rem; } -.hypha-list__link:hover, .title-search__link:hover, .backlinks__link:hover { text-decoration: underline; } +.hypha-list, .title-search__results, .backlinks__list, .category-list__entries, .category__entries { padding-left: 0; } +.hypha-list__entry, .title-search__entry, .backlinks__entry, .category-list__entry, .category__entry { list-style-type: none; } +.hypha-list__link, .title-search__link, .backlinks__link, .category-list__link, .category__link { text-decoration: none; display: inline-block; padding: .25rem; } +.hypha-list__link:hover, .title-search__link:hover, .backlinks__link:hover, .category-list__link:hover, .category__link:hover { text-decoration: underline; } .hypha-list__amnt-type { font-size: smaller; color: #999; } /* General element positions, from small to big */ @@ -254,7 +254,9 @@ a:visited, .wikilink_external:visited { color: #ffb86c; } .categories-card__link:hover, .subhyphae__link:hover, -.sibling-hyphae__link:hover { background-color: #444; } +.sibling-hyphae__link:hover, +.category-list__link:hover, +.category__link:hover { background-color: #444; } .prevnext__el, .prevnext__el:visited { color: #ddd; } diff --git a/views/categories.html b/views/categories.html index 895e073..41b2594 100644 --- a/views/categories.html +++ b/views/categories.html @@ -46,7 +46,7 @@