2018-03-27 10:01:24 +02:00
|
|
|
@import 'variables';
|
|
|
|
|
|
|
|
.social {
|
2018-04-12 00:10:13 +02:00
|
|
|
margin-top: $spacer;
|
2018-04-02 23:22:48 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
width: 100%;
|
2018-03-27 10:01:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.social__link {
|
|
|
|
margin-left: $spacer / 2;
|
|
|
|
margin-right: $spacer / 2;
|
2018-04-12 00:10:13 +02:00
|
|
|
padding: $spacer / 2;
|
2018-03-27 10:01:24 +02:00
|
|
|
text-align: center;
|
2018-04-02 23:22:48 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2018-03-27 10:01:24 +02:00
|
|
|
border-radius: .25rem;
|
2018-04-11 12:46:55 +02:00
|
|
|
transition-property: transform, background, box-shadow;
|
2018-03-27 10:01:24 +02:00
|
|
|
|
2018-04-12 00:10:13 +02:00
|
|
|
.icon {
|
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
|
|
|
}
|
|
|
|
|
2018-03-27 10:01:24 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2018-04-12 00:10:13 +02:00
|
|
|
background: $brand-light;
|
2018-03-27 10:01:24 +02:00
|
|
|
transform: translate3d(0, -.2rem, 0);
|
|
|
|
box-shadow: 0 6px 10px rgba($brand-main, .1), 0 10px 25px rgba($brand-main, .1);
|
|
|
|
}
|
2018-04-11 13:53:35 +02:00
|
|
|
|
|
|
|
.social--minimal & {
|
2018-04-12 00:10:13 +02:00
|
|
|
padding: $spacer / 3;
|
|
|
|
margin-left: $spacer / 3;
|
|
|
|
margin-right: $spacer / 3;
|
2018-04-11 13:53:35 +02:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
fill: $brand-grey-light;
|
|
|
|
transition: .2s ease-out;
|
2018-04-12 00:10:13 +02:00
|
|
|
width: .85rem;
|
|
|
|
height: .85rem;
|
2018-04-11 13:53:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
.icon {
|
|
|
|
fill: $brand-grey;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-03-27 10:01:24 +02:00
|
|
|
}
|