<span class="icon far fa-calendar-alt"></span><span class="sr-only">Time of event: </span><span>December 31, 2020 - January 5, 2021</span>
{% if quick_url %}<a href="{{ quick_url }}" class="quick-button-link">{% endif %}<span class="icon {{ fa_class }}"></span><span class="sr-only">{{ sr_text }}</span><span>{{ link_text }}</span>{% if quick_url %}</a>{% endif %}
{
"sr_text": "Time of event: ",
"link_text": "December 31, 2020 - January 5, 2021",
"fa_class": "far fa-calendar-alt"
}
.icon {
font-size: 2.5rem;
color: $accent_color;
color: var(--accent_color, $accent_color);
margin: 0 0 $space_one_half 0;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
-ms-transition: all 0.2s;
-o-transition: all 0.2s;
transition: all 0.2s;
@include media-breakpoint-up(lg) {
font-size: 4rem;
margin: 0 0 $spacer 0;
}
.fractal-preview & {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
max-width: 150px;
min-width: 150px;
}
}
.quick-button-link {
color: $grey_darkest;
color: var(--grey_darkest, $grey_darkest);
font-size: .875rem;
border-bottom: 0;
.color-scheme-dark & {
color: $white;
color: var(--white, $white);
&:hover,
&:focus {
color: $lehigh_brown_darkmode;
color: var(--lehigh_brown_darkmode, $lehigh_brown_darkmode);
}
}
.icon {
font-size: 2.5rem;
color: $accent_color;
color: var(--accent_color, $accent_color);
margin: 0 0 $space_one_half 0;
}
}
Display of quick button without a link.