portfolio/src/components/molecules/ProjectLinks.scss

47 lines
975 B
SCSS
Raw Normal View History

2018-04-09 21:35:34 +02:00
@import 'variables';
2018-04-11 12:46:55 +02:00
.project__links {
ul {
padding: 0;
2018-04-12 00:10:13 +02:00
margin-left: -($spacer / 2);
2018-04-11 12:46:55 +02:00
}
2018-04-09 21:35:34 +02:00
li {
2018-04-12 00:10:13 +02:00
display: inline-block;
margin-left: $spacer / 2;
margin-bottom: $spacer / 2;
2018-04-09 21:35:34 +02:00
}
2018-04-11 14:06:35 +02:00
.icon {
margin-right: $spacer / 3;
transition: .2s ease-out;
margin-bottom: -.1rem;
}
2018-04-09 21:35:34 +02:00
a {
2018-04-12 00:10:13 +02:00
display: inline-block;
color: $brand-cyan;
2018-04-09 21:35:34 +02:00
text-align: center;
border-radius: .25rem;
2018-04-12 00:10:13 +02:00
padding: $spacer / 4 $spacer;
2018-04-11 14:06:35 +02:00
transition-property: all;
2018-04-12 00:10:13 +02:00
.icon {
fill: $brand-cyan;
opacity: .85;
}
2018-04-09 21:35:34 +02:00
2018-04-11 14:06:35 +02:00
&:hover,
&:focus {
2018-04-12 00:10:13 +02:00
background: $brand-light;
transform: translate3d(0, -.2rem, 0);
box-shadow: 0 6px 10px rgba($brand-main, .1), 0 10px 25px rgba($brand-main, .1);
2018-04-11 14:06:35 +02:00
}
&:active {
transition: none;
background: darken($brand-cyan, 5%);
}
2018-04-09 21:35:34 +02:00
}
}