mirror of
https://github.com/caressofsteel/hugo-story.git
synced 2025-11-23 09:05:18 +01:00
Merge pull request #64 from Virtlink/fontawesome-6
Switch to Font Awesome 6 (Free)
This commit is contained in:
@@ -13,12 +13,15 @@
|
||||
position: relative;
|
||||
text-align: center;
|
||||
|
||||
font: var(--fa-font-regular);
|
||||
|
||||
> .label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&:before {
|
||||
line-height: inherit;
|
||||
content:var(--fa);
|
||||
}
|
||||
|
||||
&.solid {
|
||||
@@ -29,7 +32,7 @@
|
||||
|
||||
&.brands {
|
||||
&:before {
|
||||
font-family: 'Font Awesome 5 Brands';
|
||||
font: var(--fa-font-brands);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -22,15 +22,13 @@
|
||||
text-transform: none !important;
|
||||
|
||||
@if ($category == brands) {
|
||||
font-family: 'Font Awesome 5 Brands';
|
||||
font: var(--fa-font-brands);
|
||||
}
|
||||
@elseif ($category == solid) {
|
||||
font-family: 'Font Awesome 5 Pro';
|
||||
font-weight: 900;
|
||||
font: var(--fa-font-solid);
|
||||
}
|
||||
@else {
|
||||
font-family: 'Font Awesome 5 Pro';
|
||||
font-weight: 400;
|
||||
font: var(--fa-font-regular);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
{{ with .Site.Params.social.linkedin }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-linkedin"><span class="label">LinkedIn</span></a></li>{{end}}
|
||||
{{ with .Site.Params.social.email }}<li><a target="_blank" href="mailto:{{.}}" class="fav icon style2 fa-envelope"><span class="label">Email</span></a></li>{{end}}
|
||||
</ul>
|
||||
<p>Hugo Story © 2020 <a target="_blank" href="https://github.com/caressofsteel/">CaressOfSteel</a><span class="footerspacer icon fa-diamond"></span>
|
||||
Ported from <a target="_blank" href="https://html5up.net/uploads/demos/story/">Story</a> by HTML5UP<span class="footerspacer icon fa-diamond"></span>
|
||||
<p>Hugo Story © 2020 <a target="_blank" href="https://github.com/caressofsteel/">CaressOfSteel</a><span class="footerspacer icon solid fa-diamond"></span>
|
||||
Ported from <a target="_blank" href="https://html5up.net/uploads/demos/story/">Story</a> by HTML5UP<span class="footerspacer icon solid fa-diamond"></span>
|
||||
Images courtesy of <a target="_blank" href="https://unsplash.com">Unsplash</a></p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
11
exampleSite/static/css/fontawesome-all.min.css
vendored
11
exampleSite/static/css/fontawesome-all.min.css
vendored
File diff suppressed because one or more lines are too long
8
exampleSite/static/js/fontawesome-all.min.js
vendored
8
exampleSite/static/js/fontawesome-all.min.js
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -8,8 +8,8 @@
|
||||
{{ with .Site.Params.social.linkedin }}<li><a target="_blank" href="{{.}}" class="icon brands style2 fa-linkedin"><span class="label">LinkedIn</span></a></li>{{end}}
|
||||
{{ with .Site.Params.social.email }}<li><a target="_blank" href="mailto:{{.}}" class="fav icon style2 fa-envelope"><span class="label">Email</span></a></li>{{end}}
|
||||
</ul>
|
||||
<p>Hugo Story © 2020 <a target="_blank" href="https://github.com/caressofsteel/">CaressOfSteel</a><span class="footerspacer icon fa-diamond"></span>
|
||||
Ported from <a target="_blank" href="https://html5up.net/uploads/demos/story/">Story</a> by HTML5UP<span class="footerspacer icon fa-diamond"></span>
|
||||
<p>Hugo Story © 2020 <a target="_blank" href="https://github.com/caressofsteel/">CaressOfSteel</a><span class="footerspacer icon solid fa-diamond"></span>
|
||||
Ported from <a target="_blank" href="https://html5up.net/uploads/demos/story/">Story</a> by HTML5UP<span class="footerspacer icon solid fa-diamond"></span>
|
||||
Images courtesy of <a target="_blank" href="https://unsplash.com">Unsplash</a></p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
11
static/css/fontawesome-all.min.css
vendored
11
static/css/fontawesome-all.min.css
vendored
File diff suppressed because one or more lines are too long
8
static/js/fontawesome-all.min.js
vendored
8
static/js/fontawesome-all.min.js
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user