portfolio/src/components/Networks/index.module.css

59 lines
1.0 KiB
CSS
Raw Normal View History

2020-03-07 03:11:52 +01:00
.networks {
padding-top: var(--spacer);
2020-03-07 03:11:52 +01:00
}
.title {
2020-03-22 00:27:33 +01:00
display: block;
font-size: var(--font-size-mini);
color: var(--brand-grey-light);
opacity: 0;
transform: translate3d(0, 0.5rem, 0);
transition: 0.2s var(--easing);
2020-03-07 03:11:52 +01:00
}
.link {
2023-02-02 23:18:21 +01:00
margin-left: var(--spacer);
margin-right: var(--spacer);
2020-03-22 00:27:33 +01:00
margin-bottom: calc(var(--spacer) / 2);
text-align: center;
display: inline-block;
2023-02-02 23:18:21 +01:00
width: 24px;
2020-03-07 03:11:52 +01:00
}
.link svg {
2020-03-22 00:27:33 +01:00
stroke: var(--brand-grey-light);
width: 24px;
height: 24px;
2022-11-17 00:06:26 +01:00
transition: stroke 0.2s var(--easing);
will-change: stroke;
2020-03-07 03:11:52 +01:00
}
.link:hover svg,
.link:focus svg {
2021-03-13 16:19:24 +01:00
stroke: var(--link-color);
2020-03-07 03:11:52 +01:00
}
.link:hover .title,
.link:focus .title {
2020-03-22 00:27:33 +01:00
opacity: 1;
transform: translate3d(0, 0, 0);
2020-03-07 03:11:52 +01:00
}
.small {
2020-03-22 00:27:33 +01:00
composes: networks;
padding-top: calc(var(--spacer) / 2);
2020-03-07 03:11:52 +01:00
}
.small .link {
2023-02-02 23:18:21 +01:00
margin-left: calc(var(--spacer) / 2);
margin-right: calc(var(--spacer) / 2);
2020-03-22 00:27:33 +01:00
margin-bottom: calc(var(--spacer) / 4);
2023-02-02 23:18:21 +01:00
width: var(--font-size-base);
2020-03-07 03:11:52 +01:00
}
.small svg {
2020-03-22 00:27:33 +01:00
width: var(--font-size-base);
height: var(--font-size-base);
opacity: 0.8;
2020-03-07 03:11:52 +01:00
}