1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2025-02-14 21:10:41 +01:00

55 lines
1.1 KiB
SCSS

@import 'variables';
.social {
margin-top: $spacer;
display: flex;
justify-content: center;
width: 100%;
}
.social__link {
margin-left: $spacer / 2;
margin-right: $spacer / 2;
padding: $spacer / 2;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
border-radius: .25rem;
transition-property: transform, background, box-shadow;
&,
.icon {
transition: .2s ease-out;
}
.icon {
width: 1rem;
height: 1rem;
fill: $brand-grey-light;
transition: .2s ease-out;
}
&:hover,
&:focus {
background: $brand-light;
transform: translate3d(0, -.2rem, 0);
box-shadow: 0 6px 10px rgba($brand-main, .1), 0 10px 25px rgba($brand-main, .1);
.icon {
fill: $brand-cyan;
}
}
.social--minimal & {
padding: $spacer / 3;
margin-left: $spacer / 3;
margin-right: $spacer / 3;
.icon {
width: .85rem;
height: .85rem;
}
}
}