grav-theme-libretic/scss/template/modular/_team.scss

79 lines
1.9 KiB
SCSS
Raw Normal View History

2015-01-27 09:27:42 +01:00
// variables
$module-bg: #EEEEEE;
// styling
.team {
background: $module-bg;
padding: 4rem 0;
text-align: center;
@include clearfix;
h2 {
color: $light-gray;
margin: 0;
line-height: 100%;
}
p {
margin: 1rem 0;
}
.members {
width: 100%;
text-align: left;
padding-top: 2rem;
.member {
display: inline-block;
float: left;
width: 22%;
margin: 0 1rem;
2015-01-27 10:09:18 +01:00
@include breakpoint(mobile-only) {
display: block;
width: 100%;
text-align: center;
margin: 0;
margin-bottom: 2rem;
}
2015-01-27 09:27:42 +01:00
h4 {
text-align: left;
margin-bottom: 0;
2015-01-27 10:09:18 +01:00
@include breakpoint(mobile-only) {
text-align: center;
}
2015-01-27 09:27:42 +01:00
}
hr {
margin: 1rem 0;
}
}
.social-icons {
line-height: 2rem;
margin: 0;
list-style: none;
2015-01-27 10:09:18 +01:00
@include breakpoint(mobile-only) {
text-align: center;
display: inline-flex;
}
2015-01-27 09:27:42 +01:00
li {
@extend .default-animation;
float: left;
width: 2.1rem;
height: 2.1rem;
background: $white;
border-radius: 100%;
text-align: center;
margin-right: 0.8rem;
a {
@extend .default-animation;
color: $black;
display: block;
margin-top: 0.1rem;
}
&:hover {
background: transparentize($white, 0.5);
i {
color: $core-accent;
}
}
}
}
}
}