fix: fix iconfont usage (#281)

uci-hugo-doc
Robert Kaussow 2022-01-12 21:40:57 +01:00 committed by GitHub
parent 5bbbb9b5ff
commit 735b9c37ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 14 deletions

View File

@ -53,6 +53,7 @@
href="{{ .this.RelPermalink }}"
title="{{ .name }}"
>
<i class="gdoc-icon">gdoc_arrow_left_alt</i>
{{ .name }}
</a>
{{ end }}
@ -65,6 +66,7 @@
title="{{ .name }}"
>
{{ .name }}
<i class="gdoc-icon">gdoc_arrow_right_alt</i>
</a>
{{ end }}
</span>

View File

@ -15,6 +15,7 @@
href="{{ .RelPermalink }}"
>
Read full post
<i class="gdoc-icon">gdoc_arrow_right_alt</i>
</a>
{{ end }}
</div>

View File

@ -15,6 +15,7 @@
href="{{ .RelPermalink }}"
>
Read full post
<i class="gdoc-icon">gdoc_arrow_right_alt</i>
</a>
{{ end }}
</div>

View File

@ -122,6 +122,11 @@ a {
}
}
i.gdoc-icon {
font-family: "GeekdocIcons";
font-style: normal;
}
img {
vertical-align: middle;
}
@ -365,14 +370,6 @@ img {
background-size: 100% 1px;
background-repeat: no-repeat;
}
&--prev:before {
font-family: GeekdocIcons;
content: "\ea13";
}
&--next:after {
font-family: GeekdocIcons;
content: "\ea02";
}
}
&__anchorwrap {
@ -414,7 +411,6 @@ img {
word-wrap: break-word;
border-top: 1px dashed $gray-600;
padding: $padding-32 0;
line-height: 1.5em;
&:first-of-type {
padding-top: 0;
@ -449,11 +445,6 @@ img {
&__readmore {
margin: 1.5rem 0 2rem 0;
a:after {
font-family: GeekdocIcons;
content: "\ea02";
}
a,
a:hover,
a:visited {