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

85 lines
2.1 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: 29%;
2015-01-27 09:27:42 +01:00
margin: 0 1rem;
2015-01-27 10:17:42 +01:00
margin-bottom: 2rem;
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-02-09 11:53:24 +01:00
@include breakpoint(tablet-range) {
display: block;
width: 44%;
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;
}
}
}
}
}
}