mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-19 11:14:39 -04:00
Fix external link icon in contents list
This commit is contained in:
parent
aba53d24dc
commit
8e27de1057
@ -5,7 +5,7 @@
|
||||
<a {{with .Params.sitelink }}href="{{.}} "target="_blank"{{else}}href="{{.Permalink}}"{{end}}>
|
||||
<section class="contents-list {{$kind}}">
|
||||
<header>
|
||||
<h3 class="list-icon {{.Section}}">{{.Title | markdownify}}{{with .Params.sitelink }} <i class="fa fa-external-link" aria-hidden="true"></i>{{end}}</h3>
|
||||
<h3 class="list-icon {{.Section}}">{{.Title | markdownify}}{{with .Params.sitelink }} <i class="icon-link-external" aria-hidden="true"></i>{{end}}</h3>
|
||||
</header>
|
||||
<p>{{.Description | markdownify }}</p>
|
||||
</section>
|
||||
|
File diff suppressed because one or more lines are too long
@ -85,7 +85,7 @@
|
||||
.icon-html:before { content: '\f13b'; } /* '' */
|
||||
.icon-hugo:before { content: '\e802'; } /* '' */
|
||||
.icon-ie:before { content: '\e843'; } /* '' */
|
||||
.icon-link-ext:before { content: '\f08e'; } /* '' */
|
||||
.icon-link-external:before { content: '\f08e'; } /* '' */
|
||||
.icon-link:before { content: '\e812'; } /* '' */
|
||||
.icon-linux:before { content: '\f17c'; } /* '' */
|
||||
.icon-mail-alt:before { content: '\f0e0'; } /* '' */
|
||||
|
@ -3,7 +3,6 @@
|
||||
position: relative;
|
||||
display:block;
|
||||
margin:0px;
|
||||
// border-left:2px solid $base-font-color;
|
||||
font-style: italic;
|
||||
background-color: $hugo-gray-ultra-light;
|
||||
padding: 16px;
|
||||
|
@ -1,7 +1,7 @@
|
||||
.all-contents {
|
||||
// border-top: 1px solid $hugo-blue;
|
||||
padding-top:1em;
|
||||
font-size:.95em;
|
||||
padding-top: 1em;
|
||||
font-size: .95em;
|
||||
}
|
||||
|
||||
.contents-list {
|
||||
@ -45,6 +45,11 @@
|
||||
.list-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
i.icon-link-external {
|
||||
position:relative;
|
||||
display:inline-block;
|
||||
margin-top:.1em;
|
||||
}
|
||||
}
|
||||
|
||||
.list-icon-wrapper {
|
||||
|
2
static/css/style.min.css
vendored
2
static/css/style.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user