2018-03-27 10:01:24 +02:00
|
|
|
@import 'variables';
|
|
|
|
|
|
|
|
.social {
|
2018-05-06 00:59:46 +02:00
|
|
|
margin-top: $spacer * $line-height;
|
2018-05-05 17:52:23 +02:00
|
|
|
width: 100%;
|
2018-04-02 23:22:48 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2018-03-27 10:01:24 +02:00
|
|
|
}
|
|
|
|
|
2018-05-06 00:59:46 +02:00
|
|
|
.social__title {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
font-size: $font-size-mini;
|
|
|
|
color: $brand-grey-light;
|
|
|
|
opacity: 0;
|
|
|
|
transform: translate3d(0, .5rem, 0);
|
|
|
|
transition: .2s ease-out;
|
|
|
|
}
|
|
|
|
|
2018-03-27 10:01:24 +02:00
|
|
|
.social__link {
|
2018-04-24 21:10:47 +02:00
|
|
|
margin-left: $spacer / 4;
|
|
|
|
margin-right: $spacer / 4;
|
2018-03-27 10:01:24 +02:00
|
|
|
text-align: center;
|
2018-05-06 00:59:46 +02:00
|
|
|
display: block;
|
2018-03-27 10:01:24 +02:00
|
|
|
|
2018-04-24 21:10:47 +02:00
|
|
|
@media (min-width: 30rem) {
|
|
|
|
margin-left: $spacer / 2;
|
|
|
|
margin-right: $spacer / 2;
|
|
|
|
}
|
|
|
|
|
2018-04-16 22:32:30 +02:00
|
|
|
&,
|
|
|
|
.icon {
|
|
|
|
transition: .2s ease-out;
|
|
|
|
}
|
|
|
|
|
2018-04-12 00:10:13 +02:00
|
|
|
.icon {
|
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
2018-04-16 22:32:30 +02:00
|
|
|
fill: $brand-grey-light;
|
2018-04-12 00:10:13 +02:00
|
|
|
}
|
|
|
|
|
2018-03-27 10:01:24 +02:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2018-04-12 00:10:13 +02:00
|
|
|
background: $brand-light;
|
2018-04-16 22:32:30 +02:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
fill: $brand-cyan;
|
|
|
|
}
|
2018-05-06 00:59:46 +02:00
|
|
|
|
|
|
|
.social__title {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translate3d(0, 0, 0);
|
|
|
|
}
|
2018-03-27 10:01:24 +02:00
|
|
|
}
|
2018-04-11 13:53:35 +02:00
|
|
|
|
|
|
|
.social--minimal & {
|
2018-05-06 00:59:46 +02:00
|
|
|
padding: $spacer / 4;
|
|
|
|
margin-left: $spacer / 4;
|
|
|
|
margin-right: $spacer / 4;
|
2018-04-11 13:53:35 +02:00
|
|
|
|
|
|
|
.icon {
|
2018-04-12 00:10:13 +02:00
|
|
|
width: .85rem;
|
|
|
|
height: .85rem;
|
2018-04-11 13:53:35 +02:00
|
|
|
}
|
|
|
|
}
|
2018-03-27 10:01:24 +02:00
|
|
|
}
|