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

View File

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

View File

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

View File

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