mirror of
https://github.com/caressofsteel/hugo-story.git
synced 2025-11-04 07:45:29 +01:00
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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user