1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-02 08:21:58 +01:00
site/_src/_assets/styles/bigchain/_team.scss

80 lines
1.4 KiB
SCSS
Raw Normal View History

2016-01-09 18:36:18 +01:00
//
// Team Unit
// ---
2017-05-29 21:15:48 +02:00
// bigchaindb.com
2016-01-09 18:36:18 +01:00
//
.team__image {
@extend .img--responsive;
background: $brand-main-gray;
2016-01-09 18:36:18 +01:00
width: 230px;
2016-01-10 02:11:27 +01:00
clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
2016-01-09 18:36:18 +01:00
}
.team__name {
@extend .h5;
color: $text-color;
margin-bottom: 0;
2016-01-10 02:11:27 +01:00
// the bottom line
&:after {
2017-05-31 00:22:14 +02:00
content: '';
2016-01-22 16:03:56 +01:00
height: 1px;
2016-01-10 02:11:27 +01:00
width: 3rem;
display: block;
margin: ($spacer / 1.3) auto ($spacer / 2) auto;
2016-01-22 16:03:56 +01:00
background: $brand-main-blue-light;
2016-01-10 02:11:27 +01:00
}
2016-01-09 18:36:18 +01:00
}
.team__position {
@extend .text-dimmed;
2016-01-10 03:05:55 +01:00
margin-bottom: ($spacer / 2);
}
.team__social {
margin-bottom: 0;
}
.team__social__link {
display: inline-block;
margin: 0 ($spacer / 2);
2016-01-30 13:34:11 +01:00
box-shadow: none;
&,
&:hover,
&:focus {
background: transparent;
}
2016-01-10 03:05:55 +01:00
&:hover,
&:focus {
transform: translateY(-1px);
filter: drop-shadow(0 1px 4px rgba($brand-main-blue-dark, .4));
}
&:active {
filter: drop-shadow(0 1px 2px rgba($brand-main-blue-dark, .3));
outline: 0;
transform: none;
}
2016-01-10 03:05:55 +01:00
.icon {
2016-01-30 13:34:11 +01:00
fill: $brand-primary;
2016-01-10 03:05:55 +01:00
}
2016-01-09 18:36:18 +01:00
}
2016-03-25 02:05:24 +01:00
//
// Grid redefinition: more spacious
//
$spacer-team: 4rem;
2016-03-25 02:05:24 +01:00
.grid--team {
margin: -($spacer-team) 0 $spacer-team (-($spacer-team));
> .grid__col {
padding: $spacer-team 0 0 $spacer-team;
2016-03-25 02:05:24 +01:00
}
}