mirror of
https://github.com/tomfran/typo.git
synced 2025-04-25 21:19:55 +03:00
Update breadcrumbs style
This commit is contained in:
parent
04a24795d0
commit
2082a9856f
2 changed files with 8 additions and 2 deletions
|
@ -512,8 +512,14 @@ figcaption {
|
|||
/* breadcrumbs */
|
||||
|
||||
.breadcrumbs {
|
||||
font-size: .8em;
|
||||
font-size: small;
|
||||
margin-bottom: calc(-0.5 * var(--h1-margin-top));
|
||||
font-family: var(--font-mono);
|
||||
}
|
||||
|
||||
.breadcrumbs span {
|
||||
margin-right: -5px;
|
||||
margin-left: -5px;
|
||||
}
|
||||
|
||||
/* Comments */
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="breadcrumbs">
|
||||
{{ range .Ancestors.Reverse }}
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
<span class="breadcrumbs-separator"> > </span>
|
||||
<span class="breadcrumbs-separator"> / </span>
|
||||
{{ end }}
|
||||
<a class="breadcrumbs-current" href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue