fix: fix iconfont usage (#281)

This commit is contained in:
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 {