Added config options for header slideshow, cleanups

This commit is contained in:
Karol Orzeł 2015-01-29 18:40:22 +01:00
parent 4baa39186d
commit bb412622b0
4 changed files with 15 additions and 7 deletions

View File

@ -86,8 +86,8 @@ b, strong, label, th {
padding-right: 7rem; } }
@media only all and (max-width: 47.938em) {
.padding-horiz, .fullwidth #header, .fullwidth #breadcrumbs, .fullwidth .blog-header, .fullwidth .blog-content-item, .fullwidth .content-wrapper, .fullwidth ul.pagination, .fullwidth #body > .modular-row, #body, #header, .footer {
padding-left: 5rem;
padding-right: 5rem; } }
padding-left: 1rem;
padding-right: 1rem; } }
.padding-vert {
padding-top: 3rem;

File diff suppressed because one or more lines are too long

View File

@ -14,8 +14,8 @@
padding-right: $padding-horiz - 7rem;
}
@include breakpoint(mobile-only) {
padding-left: $padding-horiz - 9rem;
padding-right: $padding-horiz - 9rem;
padding-left: $padding-horiz - 13rem;
padding-right: $padding-horiz - 13rem;
}
}

View File

@ -14,8 +14,16 @@
<script type="text/javascript">
$('#content-slide').slideme({
arrows: true,
arrows: {{ site.header_options.arrows }},
autoslide: {{ site.header_options.autoslide }},
autoslideHoverStop: {{ site.header_options.autoslideHoverStop }},
interval: {{ site.header_options.interval }},
loop: {{ site.header_options.loop }},
pagination: "numbers",
transition : 'zoom',
transition : '{{ site.header_options.transition }}',
itemsForSlide: {{ site.header_options.itemsForSlide }},
touch: {{ site.header_options.touch }},
swipe: {{ site.header_options.swipe }},
});
</script>