1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-05 02:29:54 +00:00

Categories: Make the lists look more like Mycorrhiza

This commit is contained in:
Timur Ismagilov 2022-03-26 18:49:30 +03:00
parent be7b2cc295
commit 715602d56b
2 changed files with 9 additions and 7 deletions

View File

@ -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; }

View File

@ -46,7 +46,7 @@
<ul class="category__entries">
{{range .Hyphae}}
<li class="category__entry">
<a class="wikilink" href="/hypha/{{.}}">{{beautifulName .}}</a>
<a class="category__link" href="/hypha/{{.}}">{{beautifulName .}}</a>
</li>
{{end}}
{{if .GivenPermissionToModify}}
@ -71,7 +71,7 @@
<ul class="category-list__entries">
{{range .Categories}}
<li class="category-list__entry">
<a class="wikilink" href="/category/{{.}}">{{beautifulName .}}</a>
<a class="category-list__link" href="/category/{{.}}">{{beautifulName .}}</a>
</li>
{{end}}
</ul>