1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-06-17 18:03:22 +02:00
portfolio/src/components/molecules/Social.scss

67 lines
1.2 KiB
SCSS
Raw Normal View History

2018-03-27 10:01:24 +02:00
@import 'variables';
.networks {
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
}
.networks__title {
2018-05-06 00:59:46 +02:00
display: block;
width: 100%;
font-size: $font-size-mini;
color: $brand-grey-light;
opacity: 0;
transform: translate3d(0, .5rem, 0);
transition: .2s ease-out;
}
.networks__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
.networks__title {
2018-05-06 00:59:46 +02:00
opacity: 1;
transform: translate3d(0, 0, 0);
}
2018-03-27 10:01:24 +02:00
}
2018-04-11 13:53:35 +02:00
.networks--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
}