44 lines
742 B
CSS
44 lines
742 B
CSS
|
@import '../colors.css';
|
||
|
@import '../variables.css';
|
||
|
|
||
|
.icon {
|
||
|
font-size: calc(1.8 * var(--unit));
|
||
|
margin-right: var(--unit);
|
||
|
}
|
||
|
|
||
|
.link {
|
||
|
align-content: center;
|
||
|
align-items: center;
|
||
|
composes: reset from '../helpers.css';
|
||
|
cursor: pointer;
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
justify-content: center;
|
||
|
line-height: 1.5;
|
||
|
position: relative;
|
||
|
transition: opacity var(--animation-duration) var(--animation-curve-default);
|
||
|
|
||
|
&:not(.active) {
|
||
|
opacity: 0.5;
|
||
|
}
|
||
|
|
||
|
&:hover,
|
||
|
&:active {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
& > * {
|
||
|
vertical-align: middle;
|
||
|
}
|
||
|
|
||
|
& > abbr {
|
||
|
text-transform: capitalize;
|
||
|
}
|
||
|
|
||
|
& > small {
|
||
|
font-size: var(--font-size-tiny);
|
||
|
margin-left: calc(0.8 * var(--unit));
|
||
|
text-align: center;
|
||
|
}
|
||
|
}
|