You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.2 KiB
SCSS

///
/// Atmosphere by Pixelarity
/// pixelarity.com | hello@pixelarity.com
/// License: pixelarity.com/license
///
/* Icon */
.icon {
@include icon;
border-bottom: none;
position: relative;
&.solid {
&:before {
font-weight: 900;
}
}
&.regular {
&:before {
font-weight: 400;
}
}
&.light {
&:before {
font-weight: 300;
}
}
&.brands {
&:before {
font-family: 'Font Awesome 5 Brands';
}
}
&.duotone {
position: relative;
padding-left: 1.25em; /* make space for the width of the absolutely positioned icon */
&:before,
&:after {
font-family: 'Font Awesome 5 Duotone';
font-weight: 900;
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 1.25em;
text-align: center;
}
&:before {
opacity: 1;
opacity: var(--fa-primary-opacity, 1.0);
}
&:after {
opacity: var(--fa-primary-opacity, 0.4);
}
}
> .label {
display: none;
}
}