Mediaqueries adjustments

This commit is contained in:
Karol Orzeł 2015-01-21 14:19:59 +01:00
parent 96975256b1
commit 02de9f83bd
4 changed files with 18 additions and 12 deletions

View file

@ -732,9 +732,12 @@ ul.pagination {
color: #FFFFFF; } color: #FFFFFF; }
.modular.header-image #header #navbar a { .modular.header-image #header #navbar a {
color: #FFFFFF; } color: #FFFFFF; }
.modular .slideme, .modular .slideme_container { .modular .slideme_container {
height: 17rem !important; } overflow: hidden;
.modular .slideme:after, .modular .slideme_container:after { margin-top: -15rem;
padding-top: 15rem;
height: 34.7rem; }
.modular .slideme_container:after {
content: ""; content: "";
display: table; display: table;
clear: both; } clear: both; }
@ -797,7 +800,7 @@ ul.pagination {
text-align: center; text-align: center;
line-height: 3.8rem; line-height: 3.8rem;
background: #fff; background: #fff;
top: 10%; top: 50%;
border-radius: 100%; border-radius: 100%;
font-size: 2.5rem; font-size: 2.5rem;
opacity: 0.5; opacity: 0.5;
@ -839,7 +842,7 @@ ul.pagination {
left: 0; left: 0;
right: 0; right: 0;
vertical-align: middle; vertical-align: middle;
bottom: 0; } bottom: 5%; }
.modular .slideme_container .pagination .numbers li { .modular .slideme_container .pagination .numbers li {
-webkit-transition-duration: 0.2s; -webkit-transition-duration: 0.2s;
-moz-transition-duration: 0.2s; -moz-transition-duration: 0.2s;
@ -857,7 +860,7 @@ ul.pagination {
height: 1rem; } height: 1rem; }
.modular .features { .modular .features {
padding: 6rem 0; padding: 4rem 0;
padding-bottom: 1rem; padding-bottom: 1rem;
text-align: center; } text-align: center; }
.modular .features:after { .modular .features:after {

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
// Modular Showcase styling // Modular Showcase styling
.modular { .modular {
.features { .features {
padding: 6rem 0; padding: 4rem 0;
padding-bottom: 1rem; padding-bottom: 1rem;
text-align: center; text-align: center;
@include clearfix; @include clearfix;

View file

@ -15,9 +15,12 @@
} }
} }
} }
.slideme, .slideme_container { .slideme_container {
height: $header-height + 5rem !important;
@include clearfix; @include clearfix;
overflow: hidden;
margin-top: - $header-height - 3rem;
padding-top: $header-height + 3rem;
height: 34.7rem;
} }
.showcase { .showcase {
position: relative; position: relative;
@ -90,7 +93,7 @@
text-align: center; text-align: center;
line-height: 3.8rem; line-height: 3.8rem;
background: $white; background: $white;
top: 10%; top: 50%;
border-radius: 100%; border-radius: 100%;
font-size: 2.5rem; font-size: 2.5rem;
opacity: 0.5; opacity: 0.5;
@ -128,7 +131,7 @@
left: 0; left: 0;
right: 0; right: 0;
vertical-align: middle; vertical-align: middle;
bottom: 0; bottom: 5%;
.numbers { .numbers {
li { li {
@extend .default-animation; @extend .default-animation;