mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-01-20 15:32:52 +00:00
Replace bullet-less lists with numbered lists
This commit is contained in:
parent
cfe3ae4ff6
commit
fe360f582d
@ -5,13 +5,13 @@
|
||||
<main class="main-width backlinks">
|
||||
<h1>{{block "backlinks to link" .HyphaName}}Backlinks to <a href="/hypha/{{.}}">{{beautifulName .}}</a>{{end}}</h1>
|
||||
<p>{{block "description" .}}Hyphae which have a link to this hypha, embed it as an image or transclude it are listed below.{{end}}</p>
|
||||
<ul class="backlinks__list">
|
||||
<ol class="backlinks__list">
|
||||
{{range .Backlinks}}
|
||||
<li class="backlinks__entry">
|
||||
<a class="backlinks__link wikilink" href="/hypha/{{.}}">{{beautifulName .}}</a>
|
||||
</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
</ol>
|
||||
</main>
|
||||
</div>
|
||||
{{end}}
|
@ -4,13 +4,13 @@
|
||||
<main class="main-width category-list">
|
||||
<h1>{{template "title"}}</h1>
|
||||
{{if len .Categories}}
|
||||
<ul class="category-list__entries">
|
||||
<ol class="category-list__entries">
|
||||
{{range .Categories}}
|
||||
<li class="category-list__entry">
|
||||
<a class="category-list__link" href="/category/{{.}}">{{beautifulName .}}</a>
|
||||
</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
</ol>
|
||||
{{else}}
|
||||
<p>{{block `no categories` .}}This wiki has no categories.{{end}}</p>
|
||||
{{end}}
|
||||
|
@ -7,7 +7,7 @@
|
||||
{{if len .Hyphae | not}}
|
||||
<p>{{block "empty cat" .}}This category is empty{{end}}</p>
|
||||
{{end}}
|
||||
<ul class="category__entries">
|
||||
<ol class="category__entries">
|
||||
{{range .Hyphae}}
|
||||
<li class="category__entry">
|
||||
<a class="category__link" href="/hypha/{{.}}">{{beautifulName .}}</a>
|
||||
@ -24,6 +24,6 @@
|
||||
</form>
|
||||
</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
</ol>
|
||||
</main>
|
||||
{{end}}
|
@ -14,8 +14,6 @@
|
||||
.modal__title_small { font-size: 1.5rem; }
|
||||
.modal__confirmation-msg { margin: 0 0 .5rem 0; }
|
||||
|
||||
.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; }
|
||||
@ -806,22 +804,6 @@ kbd {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Help badge
|
||||
*/
|
||||
.help-topic-badge {
|
||||
display: block;
|
||||
float: right;
|
||||
line-height: 2rem;
|
||||
height: 2rem;
|
||||
width: 2rem;
|
||||
text-align: center;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
border: 1px solid #999;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
/*
|
||||
* Buttons beside the hypha title
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user