mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-02-01 11:59:08 +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">
|
<main class="main-width backlinks">
|
||||||
<h1>{{block "backlinks to link" .HyphaName}}Backlinks to <a href="/hypha/{{.}}">{{beautifulName .}}</a>{{end}}</h1>
|
<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>
|
<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}}
|
{{range .Backlinks}}
|
||||||
<li class="backlinks__entry">
|
<li class="backlinks__entry">
|
||||||
<a class="backlinks__link wikilink" href="/hypha/{{.}}">{{beautifulName .}}</a>
|
<a class="backlinks__link wikilink" href="/hypha/{{.}}">{{beautifulName .}}</a>
|
||||||
</li>
|
</li>
|
||||||
{{end}}
|
{{end}}
|
||||||
</ul>
|
</ol>
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
@ -4,13 +4,13 @@
|
|||||||
<main class="main-width category-list">
|
<main class="main-width category-list">
|
||||||
<h1>{{template "title"}}</h1>
|
<h1>{{template "title"}}</h1>
|
||||||
{{if len .Categories}}
|
{{if len .Categories}}
|
||||||
<ul class="category-list__entries">
|
<ol class="category-list__entries">
|
||||||
{{range .Categories}}
|
{{range .Categories}}
|
||||||
<li class="category-list__entry">
|
<li class="category-list__entry">
|
||||||
<a class="category-list__link" href="/category/{{.}}">{{beautifulName .}}</a>
|
<a class="category-list__link" href="/category/{{.}}">{{beautifulName .}}</a>
|
||||||
</li>
|
</li>
|
||||||
{{end}}
|
{{end}}
|
||||||
</ul>
|
</ol>
|
||||||
{{else}}
|
{{else}}
|
||||||
<p>{{block `no categories` .}}This wiki has no categories.{{end}}</p>
|
<p>{{block `no categories` .}}This wiki has no categories.{{end}}</p>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
{{if len .Hyphae | not}}
|
{{if len .Hyphae | not}}
|
||||||
<p>{{block "empty cat" .}}This category is empty{{end}}</p>
|
<p>{{block "empty cat" .}}This category is empty{{end}}</p>
|
||||||
{{end}}
|
{{end}}
|
||||||
<ul class="category__entries">
|
<ol class="category__entries">
|
||||||
{{range .Hyphae}}
|
{{range .Hyphae}}
|
||||||
<li class="category__entry">
|
<li class="category__entry">
|
||||||
<a class="category__link" href="/hypha/{{.}}">{{beautifulName .}}</a>
|
<a class="category__link" href="/hypha/{{.}}">{{beautifulName .}}</a>
|
||||||
@ -24,6 +24,6 @@
|
|||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
{{end}}
|
{{end}}
|
||||||
</ul>
|
</ol>
|
||||||
</main>
|
</main>
|
||||||
{{end}}
|
{{end}}
|
@ -14,8 +14,6 @@
|
|||||||
.modal__title_small { font-size: 1.5rem; }
|
.modal__title_small { font-size: 1.5rem; }
|
||||||
.modal__confirmation-msg { margin: 0 0 .5rem 0; }
|
.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, .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__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; }
|
.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
|
* Buttons beside the hypha title
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user