seq-theme-starter-basic
Version:
Use this blank theme to start building your own themes. Steps are stacked on top of each other so only the content will animate.
238 lines (209 loc) • 5.25 kB
CSS
@charset "UTF-8";
/**
* Theme Name: Starter Basic
* Version: 1.0.0
* Theme URL: http://sequencejs.com/themes/starter-basic/
*
* Use this blank theme to start building your own themes. Steps are stacked on
* top of each other so only the content will animate.
*
* This theme is powered by Sequence.js - The
* responsive CSS animation framework for creating unique sliders,
* presentations, banners, and other step-based applications.
*
* Author: Ian Lunn
* Author URL: http://ianlunn.co.uk/
*
* Theme License: http://sequencejs.com/licenses/#free-theme
* Sequence.js Licenses: http://sequencejs.com/licenses/
*
* Copyright © 2015 Ian Lunn Design Limited unless otherwise stated.
*/
body,
html,
.seq {
/* Uncomment to make the theme full-screen */
/* width: 100% !important; */
/* max-width: 100% !important; */
/* height: 100% !important; */
/* max-height: 100% !important; */
}
.seq {
position: relative;
/* Dimensions */
width: 100%;
height: 420px;
max-width: 100%;
/* Hide anything that goes beyond the boundaries of the Sequence container */
overflow: hidden;
/* Center the Sequence container on the page */
margin: 0 auto;
padding: 0;
/* Some basic styles */
font-family: sans-serif;
background: #F8F8F8;
}
.seq .seq-pagination,
.seq .seq-screen,
.seq .seq-canvas,
.seq .seq-canvas > * {
/* Reset the canvas and steps for better browser consistency */
margin: 0;
padding: 0;
list-style: none;
}
.seq .seq-screen,
.seq .seq-canvas,
.seq .seq-canvas > * {
/* Make the width/height of the screen, canvas, and steps the same size
* as the Sequence element */
height: 100%;
width: 100%;
}
.seq .seq-canvas {
/* Reset the font-size to remove 4px from :before and .title */
font-size: 0;
}
.seq .seq-canvas > * {
text-align: center;
/* Stack the steps in the same place (no canvas animation) */
position: absolute;
}
.seq .seq-canvas > *:before {
/* Vertically align .seq-content */
content: "";
display: inline-block;
vertical-align: middle;
height: 100%;
}
.seq .seq-preloader {
background: #F8F8F8;
}
.seq .seq-pagination {
/* Hide pagination when JS is disabled*/
display: none;
position: absolute;
z-index: 10;
bottom: 20px;
width: 100%;
border: none;
text-align: center;
}
.seq .seq-pagination a {
display: block;
width: 100%;
height: 100%;
}
.seq .seq-pagination .seq-current {
background: #F96D38;
}
.seq .seq-pagination > * {
margin: 0 4px;
padding: 0;
display: inline-block;
zoom: 1;
width: 28px;
height: 28px;
cursor: pointer;
background: none;
border: #F96D38 solid 2px;
-webkit-transition-duration: .1s;
transition-duration: .1s;
-webkit-transition-property: background-color;
transition-property: background-color;
/* Image replacement */
font: 0/0 a;
text-shadow: none;
color: transparent;
}
.seq.seq-active {
/* when JS is enabled */
/* Hide anything that goes beyond the boundaries of the Sequence container */
overflow: hidden;
}
.seq.seq-active .seq-pagination {
/* Show pagination */
display: block;
}
.seq.seq-active .seq-preloader,
.seq.seq-active .seq-pagination {
visibility: visible;
}
.seq.seq-active .seq-preloader.seq-preloaded {
visibility: hidden;
}
.seq .seq-content {
/* Default styles for content */
display: inline-block;
vertical-align: middle;
margin: 0 4%;
/* Reset the font-size from 0 back to 16 */
font-size: 16px;
}
.seq .seq-title {
/* Starting positions */
margin: 0 0 .5em 0;
display: block;
line-height: 1.4;
font-size: 1.8em;
opacity: 0;
-webkit-transition-duration: .4s;
transition-duration: .4s;
-webkit-transition-property: opacity, -webkit-transform;
transition-property: opacity, transform;
-webkit-transform: translateX(100px) translateY(0) translateZ(0);
-ms-transform: translateX(100px) translateY(0) translateZ(0);
transform: translateX(100px) translateY(0) translateZ(0);
}
.seq .seq-in {
/* Animate in positions for content */
}
.seq .seq-in .seq-title {
opacity: 1;
-webkit-transform: translateX(0) translateY(0) translateZ(0);
-ms-transform: translateX(0) translateY(0) translateZ(0);
transform: translateX(0) translateY(0) translateZ(0);
}
.seq .seq-out {
/* Animate out positions for content */
}
.seq .seq-out .seq-title {
opacity: 0;
-webkit-transform: translateX(-100px) translateY(0) translateZ(0);
-ms-transform: translateX(-100px) translateY(0) translateZ(0);
transform: translateX(-100px) translateY(0) translateZ(0);
}
@media only screen and (min-width: 600px) {
.seq {
/* Make the container 16:9 but no bigger than 90% of the screen height */
position: relative;
height: auto;
height: 100%;
max-height: 90vh;
min-height: 420px;
}
.seq:before {
/* Make an element a certain aspect ratio */
display: block;
content: "";
width: 100%;
padding-top: 56.25%;
}
.seq .seq-screen {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.seq .seq-pagination > * {
width: 20px;
height: 20px;
}
}
@media only screen and (min-width: 768px) {
.seq .seq-title {
font-size: 2.6em;
}
}
/*# sourceMappingURL=sequence-theme.starter-basic.css.map */