mirror of https://gitea.com/gitea/theme.git
Add ToC shortcode and CSS class (#90)
add toc shortcode and css class Co-authored-by: pat-s <patrick.schratz@gmail.com> Reviewed-on: https://gitea.com/gitea/theme/pulls/90 Reviewed-by: 6543 <6543@obermui.de> Reviewed-by: techknowlogick <techknowlogick@gitea.io> Co-Authored-By: pat-s <pat-s@noreply.gitea.io> Co-Committed-By: pat-s <pat-s@noreply.gitea.io>
This commit is contained in:
parent
d660fcefc2
commit
1c46f91bdf
|
@ -0,0 +1,3 @@
|
|||
<div class="toc">
|
||||
{{ .Page.TableOfContents }}
|
||||
</div>
|
|
@ -119,3 +119,7 @@
|
|||
z-index: 1;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.toc {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue