Skip to content

Instantly share code, notes, and snippets.

@Heft9nic
Created October 31, 2016 15:33
Show Gist options
  • Save Heft9nic/3f19390e3f67dc09114a5906e307c33d to your computer and use it in GitHub Desktop.
Save Heft9nic/3f19390e3f67dc09114a5906e307c33d to your computer and use it in GitHub Desktop.
.pane-bean-counter-section {
text-align: center;
background-image: image_url('icons/parallax/parallax-counter-section.png');
height: rem(456px);
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
position: relative;
.pane-content {
.bean-counter-section {
position: relative;
top: 50%;
left: 0;
transform: translateY(85%);
}
@include page-container();
.field--name-field-book {
display: none;
@include susy-breakpoint(nth(map_get($bps, 'tab-l'), 1)) {
@include span(4 of 12);
display: block;
}
@include susy-breakpoint(nth(map_get($bps, 'tab-l'), 2)) {
@include span(3 of 12 );
}
text-align: -webkit-center;
transform: translateY(14%);
}
.field--name-field-plays {
@include span(6 of 12);
@include susy-breakpoint(nth(map_get($bps, 'tab-l'), 1)) {
@include span(4 of 12);
display: block;
}
@include susy-breakpoint(nth(map_get($bps, 'tab-l'), 2)) {
@include span(3 of 12 );
}
transform: translateY(6%);
text-align: -webkit-center;
}
.field--name-field-stories {
@include span(6 of 12 last);
@include susy-breakpoint(nth(map_get($bps, 'tab-l'), 1)) {
@include span(4 of 12 last);
display: block;
}
@include susy-breakpoint(nth(map_get($bps, 'tab-l'), 2)) {
@include span(3 of 12 );
}
transform: translateY(-4%);
text-align: -webkit-center;
}
.field--name-field-clients {
display: none;
@include susy-breakpoint(nth(map_get($bps, 'tab-l'), 2)) {
@include span(3 of 12 last);
display: block;
}
transform: translateY(-22%);
text-align: -webkit-center;
}
.field__items {
color: #fff;
font-size: rem(45px);
}
.block-book-wrapper {
width: rem(86px);
height: rem(86px);
background: $color-icon-tw;
border-radius: 50%;
padding: rem(15px) rem(10px) rem(8px) rem(8px);
}
.dynamic-number-plays {
width: rem(98px);
height: rem(97px);
background: $color-green-main;
border-radius: 50%;
padding: rem(20px) rem(8px) rem(8px) rem(8px);
}
.block-stories-wrapper {
width: rem(114px);
height: rem(114px);
background: $color-yellow-main;
border-radius: 50%;
padding: rem(30px) rem(8px) rem(8px) rem(8px);
}
.block-client-wrapper {
width: rem(152px);
height: rem(153px);
background: $color-orange-main;
border-radius: 50%;
padding: rem(54px) rem(8px) rem(8px) rem(8px);
}
span {
font-size: rem(20px);
top: 42%;
text-align: center;
color: $color-white-main;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment