2011-06-07 21:10:59 +02:00
|
|
|
/**
|
2011-12-23 06:30:10 +01:00
|
|
|
* Main styles for reveal.js
|
2011-12-05 03:07:33 +01:00
|
|
|
*
|
2011-06-07 21:10:59 +02:00
|
|
|
* @author Hakim El Hattab
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/*********************************************
|
|
|
|
* FONT-FACE DEFINITIONS
|
|
|
|
*********************************************/
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'League Gothic';
|
|
|
|
src: url('../assets/fonts/leaguegothic/league_gothic-webfont.ttf') format('truetype');
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*********************************************
|
|
|
|
* GLOBAL STYLES
|
|
|
|
*********************************************/
|
|
|
|
|
|
|
|
html, body {
|
2011-12-05 03:07:33 +01:00
|
|
|
position: relative;
|
2011-06-07 21:10:59 +02:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2011-12-05 10:00:52 +01:00
|
|
|
overflow: hidden;
|
2011-06-07 21:10:59 +02:00
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
font-family: 'Lato', Times, 'Times New Roman', serif;
|
2011-06-07 21:10:59 +02:00
|
|
|
font-size: 36px;
|
2011-12-05 03:07:33 +01:00
|
|
|
font-weight: 200;
|
|
|
|
letter-spacing: -0.02em;
|
2011-06-07 21:10:59 +02:00
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
color: #eee;
|
2011-06-07 21:10:59 +02:00
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
min-height: 600px;
|
2011-12-23 07:01:10 +01:00
|
|
|
}
|
2011-12-05 03:07:33 +01:00
|
|
|
|
2011-12-23 07:01:10 +01:00
|
|
|
html {
|
2011-12-05 03:07:33 +01:00
|
|
|
background: #555a5f;
|
|
|
|
background: -moz-radial-gradient(center, ellipse cover, #555a5f 0%, #1c1e20 100%);
|
|
|
|
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#555a5f), color-stop(100%,#1c1e20));
|
|
|
|
background: -webkit-radial-gradient(center, ellipse cover, #555a5f 0%,#1c1e20 100%);
|
|
|
|
background: -o-radial-gradient(center, ellipse cover, #555a5f 0%,#1c1e20 100%);
|
|
|
|
background: -ms-radial-gradient(center, ellipse cover, #555a5f 0%,#1c1e20 100%);
|
|
|
|
background: radial-gradient(center, ellipse cover, #555a5f 0%,#1c1e20 100%);
|
2011-06-07 21:10:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/*********************************************
|
|
|
|
* HEADERS
|
|
|
|
*********************************************/
|
|
|
|
h1, h2, h3, h4 {
|
|
|
|
margin: 0 0 20px 0;
|
2011-06-23 09:04:48 +02:00
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
color: #eee;
|
2011-06-23 09:04:48 +02:00
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
font-family: 'League Gothic', sans-serif;
|
2011-06-07 21:10:59 +02:00
|
|
|
line-height: 0.9em;
|
|
|
|
letter-spacing: 0.02em;
|
2011-06-23 09:04:48 +02:00
|
|
|
|
2011-06-07 21:10:59 +02:00
|
|
|
text-transform: uppercase;
|
2011-12-05 03:07:33 +01:00
|
|
|
text-shadow: 0px 0px 6px rgba(0,0,0,0.2);
|
2011-06-07 21:10:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 { font-size: 136px; }
|
|
|
|
h2 { font-size: 76px; }
|
|
|
|
h3 { font-size: 56px; }
|
|
|
|
h4 { font-size: 36px; }
|
|
|
|
|
|
|
|
h1.inverted,
|
|
|
|
h2.inverted,
|
|
|
|
h3.inverted,
|
|
|
|
h4.inverted {
|
|
|
|
color: #fff;
|
2011-12-05 03:07:33 +01:00
|
|
|
text-shadow: 0px 0px 2px rgba(0,0,0,0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
text-shadow: 0 1px 0 #ccc,
|
|
|
|
0 2px 0 #c9c9c9,
|
|
|
|
0 3px 0 #bbb,
|
|
|
|
0 4px 0 #b9b9b9,
|
|
|
|
0 5px 0 #aaa,
|
|
|
|
0 6px 1px rgba(0,0,0,.1),
|
|
|
|
0 0 5px rgba(0,0,0,.1),
|
|
|
|
0 1px 3px rgba(0,0,0,.3),
|
|
|
|
0 3px 5px rgba(0,0,0,.2),
|
|
|
|
0 5px 10px rgba(0,0,0,.25),
|
|
|
|
0 20px 20px rgba(0,0,0,.15);
|
2011-06-07 21:10:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*********************************************
|
|
|
|
* SLIDES
|
|
|
|
*********************************************/
|
|
|
|
#main {
|
|
|
|
position: absolute;
|
2011-12-05 03:07:33 +01:00
|
|
|
width: 900px;
|
2011-06-07 21:10:59 +02:00
|
|
|
height: 600px;
|
|
|
|
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
2011-12-05 03:07:33 +01:00
|
|
|
margin-left: -450px;
|
2011-06-07 21:10:59 +02:00
|
|
|
margin-top: -320px;
|
2011-12-05 03:07:33 +01:00
|
|
|
padding: 20px 0px;
|
2011-06-07 21:10:59 +02:00
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
-webkit-perspective: 600px;
|
2011-12-05 03:07:33 +01:00
|
|
|
-moz-perspective: 600px;
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-perspective: 600px;
|
2011-12-05 03:07:33 +01:00
|
|
|
perspective: 600px;
|
|
|
|
|
2011-06-07 21:10:59 +02:00
|
|
|
-webkit-perspective-origin: 50% 25%;
|
2011-12-05 03:07:33 +01:00
|
|
|
-moz-perspective-origin: 50% 25%;
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-perspective-origin: 50% 25%;
|
2011-12-05 03:07:33 +01:00
|
|
|
perspective-origin: 50% 25%;
|
2011-06-07 21:10:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#main>section,
|
|
|
|
#main>section>section {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
min-height: 600px;
|
2011-12-23 09:36:37 +01:00
|
|
|
|
|
|
|
z-index: 10;
|
2011-06-07 21:10:59 +02:00
|
|
|
|
|
|
|
-webkit-transform-style: preserve-3d;
|
2011-12-05 03:07:33 +01:00
|
|
|
-moz-transform-style: preserve-3d;
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transform-style: preserve-3d;
|
2011-12-05 03:07:33 +01:00
|
|
|
transform-style: preserve-3d;
|
2011-06-07 21:10:59 +02:00
|
|
|
|
2011-12-23 06:25:15 +01:00
|
|
|
-webkit-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
|
|
|
-moz-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
2011-12-23 06:25:15 +01:00
|
|
|
-o-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
2011-06-07 21:10:59 +02:00
|
|
|
transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
|
|
|
}
|
|
|
|
|
2011-12-05 04:24:08 +01:00
|
|
|
#main section.present {
|
2011-06-07 21:10:59 +02:00
|
|
|
display: block;
|
2011-12-23 09:36:37 +01:00
|
|
|
z-index: 11;
|
|
|
|
opacity: 1;
|
2011-06-07 21:10:59 +02:00
|
|
|
}
|
|
|
|
|
2011-12-05 04:24:08 +01:00
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
/*********************************************
|
|
|
|
* DEFAULT THEME
|
|
|
|
*********************************************/
|
|
|
|
|
2011-12-05 04:24:08 +01:00
|
|
|
#main section.past {
|
2011-06-07 21:10:59 +02:00
|
|
|
display: block;
|
2011-12-05 04:24:08 +01:00
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
-webkit-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
|
|
|
|
-moz-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
|
2011-12-05 04:24:08 +01:00
|
|
|
transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
|
2011-06-07 21:10:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#main section.future {
|
|
|
|
display: block;
|
|
|
|
opacity: 0;
|
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
-webkit-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
|
|
|
|
-moz-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
|
2011-12-05 03:07:33 +01:00
|
|
|
transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
|
2011-06-07 21:10:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#main section>section.past {
|
|
|
|
display: block;
|
|
|
|
opacity: 0;
|
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
-webkit-transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
|
|
|
|
-moz-transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
|
2011-12-05 03:07:33 +01:00
|
|
|
transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
|
2011-06-07 21:10:59 +02:00
|
|
|
}
|
|
|
|
#main section>section.future {
|
|
|
|
display: block;
|
|
|
|
opacity: 0;
|
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
-webkit-transform: translate3d(0, 50%, 0) rotateX(-70deg) translate3d(0, 50%, 0);
|
|
|
|
-moz-transform: translate3d(0, 50%, 0) rotateX(-70deg) translate3d(0, 50%, 0);
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transform: translate3d(0, 50%, 0) rotateX(-70deg) translate3d(0, 50%, 0);
|
2011-12-05 03:07:33 +01:00
|
|
|
transform: translate3d(0, 50%, 0) rotateX(-70deg) translate3d(0, 50%, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*********************************************
|
|
|
|
* CONCAVE THEME
|
|
|
|
*********************************************/
|
|
|
|
|
|
|
|
.concave #main>section.past {
|
|
|
|
-webkit-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
|
|
|
|
-moz-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
|
2011-12-05 03:07:33 +01:00
|
|
|
transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.concave #main>section.future {
|
|
|
|
-webkit-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
|
|
|
|
-moz-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
|
2011-12-05 03:07:33 +01:00
|
|
|
transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
|
|
|
|
}
|
|
|
|
|
2011-12-05 04:24:08 +01:00
|
|
|
.concave #main section>section.past {
|
|
|
|
-webkit-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
|
|
|
|
-moz-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
|
2011-12-05 04:24:08 +01:00
|
|
|
transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
|
|
|
|
}
|
|
|
|
.concave #main section>section.future {
|
|
|
|
-webkit-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
|
|
|
|
-moz-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
|
2011-12-05 04:24:08 +01:00
|
|
|
transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
|
|
|
|
}
|
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
|
|
|
|
/*********************************************
|
|
|
|
* LINEAR THEME
|
|
|
|
*********************************************/
|
|
|
|
|
|
|
|
.linear #main>section.past {
|
2011-12-23 09:36:37 +01:00
|
|
|
-webkit-transform: translate(-150%, 0);
|
|
|
|
-moz-transform: translate(-150%, 0);
|
|
|
|
-ms-transform: translate(-150%, 0);
|
|
|
|
-o-transform: translate(-150%, 0);
|
|
|
|
transform: translate(-150%, 0);
|
2011-12-05 03:07:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.linear #main>section.future {
|
2011-12-23 09:36:37 +01:00
|
|
|
-webkit-transform: translate(150%, 0);
|
|
|
|
-moz-transform: translate(150%, 0);
|
|
|
|
-ms-transform: translate(150%, 0);
|
|
|
|
-o-transform: translate(150%, 0);
|
|
|
|
transform: translate(150%, 0);
|
2011-12-05 03:07:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.linear #main section>section.past {
|
2011-12-23 09:36:37 +01:00
|
|
|
-webkit-transform: translate(0, -150%);
|
|
|
|
-moz-transform: translate(0, -150%);
|
|
|
|
-ms-transform: translate(0, -150%);
|
|
|
|
-o-transform: translate(0, -150%);
|
|
|
|
transform: translate(0, -150%);
|
2011-12-05 03:07:33 +01:00
|
|
|
}
|
|
|
|
.linear #main section>section.future {
|
2011-12-23 09:36:37 +01:00
|
|
|
-webkit-transform: translate(0, 150%);
|
|
|
|
-moz-transform: translate(0, 150%);
|
|
|
|
-ms-transform: translate(0, 150%);
|
|
|
|
-o-transform: translate(0, 150%);
|
|
|
|
transform: translate(0, 150%);
|
2011-06-07 21:10:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-12-24 06:52:35 +01:00
|
|
|
/*********************************************
|
|
|
|
* OVERVIEW
|
|
|
|
*********************************************/
|
|
|
|
|
2011-12-23 11:47:38 +01:00
|
|
|
.overview #main section {
|
2011-12-24 06:52:35 +01:00
|
|
|
padding: 20px 0;
|
2011-12-23 11:47:38 +01:00
|
|
|
opacity: 1;
|
|
|
|
cursor: pointer;
|
|
|
|
background: rgba(0,0,0,0.1);
|
|
|
|
}
|
2011-12-24 06:52:35 +01:00
|
|
|
.overview #main section.present>section.present {
|
|
|
|
background: none;
|
|
|
|
}
|
2011-12-23 11:47:38 +01:00
|
|
|
.overview #main section>section {
|
|
|
|
opacity: 1;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.overview #main>section:hover {
|
|
|
|
background: rgba(0,0,0,0.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.overview #main>section.present {
|
|
|
|
background: rgba(0,0,0,0.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
/*********************************************
|
|
|
|
* VIEW FRAGMENTS
|
|
|
|
*********************************************/
|
|
|
|
|
|
|
|
#main section .fragment {
|
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
-webkit-transition: all .2s ease;
|
|
|
|
-moz-transition: all .2s ease;
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transition: all .2s ease;
|
2011-12-05 03:07:33 +01:00
|
|
|
-o-transition: all .2s ease;
|
|
|
|
transition: all .2s ease;
|
|
|
|
}
|
|
|
|
#main section .fragment.visible {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-06-07 21:10:59 +02:00
|
|
|
/*********************************************
|
|
|
|
* DEFAULT ELEMENT STYLES
|
|
|
|
*********************************************/
|
|
|
|
|
|
|
|
#main>section {
|
|
|
|
line-height: 1.2em;
|
2011-12-05 03:07:33 +01:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
strong, b {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
em, i {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
ol, ul {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
text-align: left;
|
|
|
|
margin: 0 auto;
|
2011-06-07 21:10:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
ol {
|
|
|
|
list-style: decimal;
|
|
|
|
list-style-position: inside;
|
|
|
|
}
|
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
ul {
|
|
|
|
list-style: disc;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2011-06-07 21:10:59 +02:00
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
blockquote {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
width: 70%;
|
|
|
|
margin: 5px auto;
|
|
|
|
padding: 5px;
|
|
|
|
|
|
|
|
font-style: italic;
|
|
|
|
background: rgba(255, 255, 255, 0.05);
|
|
|
|
box-shadow: 0px 0px 2px rgba(0,0,0,0.2);
|
|
|
|
}
|
|
|
|
blockquote:before {
|
|
|
|
content: '“';
|
|
|
|
}
|
|
|
|
blockquote:after {
|
|
|
|
content: '”';
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
width: 90%;
|
|
|
|
margin: 10px auto;
|
|
|
|
|
|
|
|
text-align: left;
|
|
|
|
font-size: 14px;
|
|
|
|
font-family: monospace;
|
|
|
|
line-height: 1.1em;
|
|
|
|
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
|
|
|
box-shadow: 0px 0px 6px rgba(0,0,0,0.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
|
|
|
|
small {
|
|
|
|
font-size: 60%;
|
2011-12-22 09:00:29 +01:00
|
|
|
line-height: 1em;
|
|
|
|
vertical-align: top;
|
2011-12-05 03:07:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
q {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
q:before {
|
|
|
|
content: '“';
|
|
|
|
}
|
|
|
|
q:after {
|
|
|
|
content: '”';
|
|
|
|
}
|
|
|
|
|
2011-06-07 21:10:59 +02:00
|
|
|
a:not(.image) {
|
2011-12-05 03:07:33 +01:00
|
|
|
color: hsl(185, 85%, 50%);
|
2011-06-07 21:10:59 +02:00
|
|
|
text-decoration: none;
|
2011-12-05 03:07:33 +01:00
|
|
|
|
|
|
|
-webkit-transition: all .2s ease;
|
|
|
|
-moz-transition: all .2s ease;
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transition: all .2s ease;
|
2011-12-05 03:07:33 +01:00
|
|
|
-o-transition: all .2s ease;
|
|
|
|
transition: all .2s ease;
|
2011-06-07 21:10:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
a:not(.image):hover {
|
2011-12-05 03:07:33 +01:00
|
|
|
color: hsl(185, 85%, 70%);
|
|
|
|
background: hsla(185, 25%, 20%, 0.4);
|
2011-06-07 21:10:59 +02:00
|
|
|
text-shadow: none;
|
|
|
|
border: none;
|
2011-06-23 09:04:48 +02:00
|
|
|
border-radius: 2px;
|
2011-06-07 21:10:59 +02:00
|
|
|
}
|
|
|
|
|
2011-12-17 21:55:25 +01:00
|
|
|
section img {
|
2011-06-07 21:10:59 +02:00
|
|
|
margin: 30px 0 0 0;
|
|
|
|
background: rgba(255,255,255,0.12);
|
|
|
|
border: 4px solid #eee;
|
|
|
|
|
|
|
|
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
|
|
|
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
2011-12-05 03:07:33 +01:00
|
|
|
-o-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
2011-06-07 21:10:59 +02:00
|
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
-webkit-transition: all .2s linear;
|
|
|
|
-moz-transition: all .2s linear;
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transition: all .2s linear;
|
2011-12-05 03:07:33 +01:00
|
|
|
-o-transition: all .2s linear;
|
|
|
|
transition: all .2s linear;
|
2011-06-07 21:10:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
a.image:hover img {
|
|
|
|
background: rgba(255,255,255,0.2);
|
2011-12-05 03:07:33 +01:00
|
|
|
border-color: #13DAEC;
|
2011-06-07 21:10:59 +02:00
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
-webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
|
|
|
|
-moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
|
|
|
|
-o-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
|
|
|
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
|
2011-06-07 21:10:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
/*********************************************
|
|
|
|
* CONTROLS
|
|
|
|
*********************************************/
|
2011-06-07 21:10:59 +02:00
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
.controls {
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
|
|
|
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls a {
|
|
|
|
font-size: 30px;
|
|
|
|
position: absolute;
|
|
|
|
opacity: 0.1;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
.controls a.enabled {
|
|
|
|
opacity: 0.6;
|
|
|
|
color: hsl(185, 85%, 70%);
|
|
|
|
|
|
|
|
text-shadow: 0px 0px 2px hsla(185, 45%, 70%, 0.3);
|
|
|
|
}
|
|
|
|
.controls a.enabled:active {
|
|
|
|
margin-top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls .left {
|
|
|
|
top: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls .right {
|
|
|
|
left: 60px;
|
|
|
|
top: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls .up {
|
|
|
|
left: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls .down {
|
|
|
|
left: 30px;
|
|
|
|
top: 60px;
|
2011-06-07 21:10:59 +02:00
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
}
|
|
|
|
|
2011-12-22 09:00:29 +01:00
|
|
|
|
|
|
|
/*********************************************
|
|
|
|
* PROGRESS BAR
|
|
|
|
*********************************************/
|
|
|
|
|
2011-12-23 06:25:15 +01:00
|
|
|
.progress {
|
2011-12-23 07:01:10 +01:00
|
|
|
position: fixed;
|
2011-12-22 09:03:52 +01:00
|
|
|
display: none;
|
2011-12-22 09:00:29 +01:00
|
|
|
height: 4px;
|
|
|
|
width: 100%;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
|
2011-12-23 06:25:15 +01:00
|
|
|
background: rgba(0,0,0,0.2);
|
2011-12-22 09:00:29 +01:00
|
|
|
}
|
2011-12-23 06:25:15 +01:00
|
|
|
|
|
|
|
.progress span {
|
|
|
|
display: block;
|
|
|
|
background: hsl(185, 85%, 50%);
|
|
|
|
height: 100%;
|
|
|
|
width: 0px;
|
|
|
|
|
|
|
|
-webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
|
|
|
-moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
2011-12-23 06:25:15 +01:00
|
|
|
-o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
|
|
|
transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
|
|
|
}
|
2011-12-22 09:00:29 +01:00
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
/*********************************************
|
|
|
|
* ROLLING LINKS
|
|
|
|
*********************************************/
|
|
|
|
|
|
|
|
.roll {
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
2011-06-07 21:10:59 +02:00
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
vertical-align: top;
|
2011-06-07 21:10:59 +02:00
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
-webkit-perspective: 400px;
|
|
|
|
-moz-perspective: 400px;
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-perspective: 400px;
|
2011-12-05 03:07:33 +01:00
|
|
|
perspective: 400px;
|
2011-06-07 21:10:59 +02:00
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
-webkit-perspective-origin: 50% 50%;
|
|
|
|
-moz-perspective-origin: 50% 50%;
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-perspective-origin: 50% 50%;
|
2011-12-05 03:07:33 +01:00
|
|
|
perspective-origin: 50% 50%;
|
|
|
|
}
|
|
|
|
.roll:hover {
|
|
|
|
background: none;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
.roll span {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
padding: 0 2px;
|
|
|
|
|
2011-12-05 04:24:08 +01:00
|
|
|
pointer-events: none;
|
|
|
|
|
2011-12-05 03:07:33 +01:00
|
|
|
-webkit-transition: all 400ms ease;
|
|
|
|
-moz-transition: all 400ms ease;
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transition: all 400ms ease;
|
2011-12-05 03:07:33 +01:00
|
|
|
transition: all 400ms ease;
|
|
|
|
|
|
|
|
-webkit-transform-origin: 50% 0%;
|
|
|
|
-moz-transform-origin: 50% 0%;
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transform-origin: 50% 0%;
|
2011-12-05 03:07:33 +01:00
|
|
|
transform-origin: 50% 0%;
|
|
|
|
|
|
|
|
-webkit-transform-style: preserve-3d;
|
|
|
|
-moz-transform-style: preserve-3d;
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transform-style: preserve-3d;
|
2011-12-05 03:07:33 +01:00
|
|
|
transform-style: preserve-3d;
|
|
|
|
}
|
|
|
|
.roll:hover span {
|
|
|
|
background: rgba(0,0,0,0.5);
|
|
|
|
|
|
|
|
-webkit-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
|
|
|
|
-moz-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
|
2011-12-05 03:07:33 +01:00
|
|
|
transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
|
|
|
|
}
|
|
|
|
.roll span:after {
|
|
|
|
content: attr(data-title);
|
|
|
|
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
padding: 0 2px;
|
|
|
|
|
|
|
|
color: #fff;
|
|
|
|
background: hsl(185, 60%, 35%);
|
|
|
|
|
|
|
|
-webkit-transform-origin: 50% 0%;
|
|
|
|
-moz-transform-origin: 50% 0%;
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transform-origin: 50% 0%;
|
2011-12-05 03:07:33 +01:00
|
|
|
transform-origin: 50% 0%;
|
|
|
|
|
|
|
|
-webkit-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
|
|
|
|
-moz-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
|
2011-12-23 06:30:10 +01:00
|
|
|
-ms-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
|
2011-12-05 03:07:33 +01:00
|
|
|
transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
|
|
|
|
}
|
2011-06-07 21:10:59 +02:00
|
|
|
|
|
|
|
|