diff options
Diffstat (limited to 'css/reveal.css')
-rw-r--r-- | css/reveal.css | 193 |
1 files changed, 86 insertions, 107 deletions
diff --git a/css/reveal.css b/css/reveal.css index bdcd820..7423e18 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -5,7 +5,7 @@ * http://lab.hakim.se/reveal-js * MIT licensed * - * Copyright (C) 2013 Hakim El Hattab, http://hakim.se + * Copyright (C) 2014 Hakim El Hattab, http://hakim.se */ @@ -54,6 +54,9 @@ body { body { position: relative; line-height: 1; + + background-color: #fff; + color: #000; } ::selection { @@ -93,19 +96,20 @@ body { .reveal .slides section .fragment { opacity: 0; + visibility: hidden; -webkit-transition: all .2s ease; -moz-transition: all .2s ease; - -ms-transition: all .2s ease; - -o-transition: all .2s ease; transition: all .2s ease; } .reveal .slides section .fragment.visible { opacity: 1; + visibility: visible; } .reveal .slides section .fragment.grow { opacity: 1; + visibility: visible; } .reveal .slides section .fragment.grow.visible { -webkit-transform: scale( 1.3 ); @@ -117,6 +121,7 @@ body { .reveal .slides section .fragment.shrink { opacity: 1; + visibility: visible; } .reveal .slides section .fragment.shrink.visible { -webkit-transform: scale( 0.7 ); @@ -127,8 +132,6 @@ body { } .reveal .slides section .fragment.zoom-in { - opacity: 0; - -webkit-transform: scale( 0.1 ); -moz-transform: scale( 0.1 ); -ms-transform: scale( 0.1 ); @@ -137,8 +140,6 @@ body { } .reveal .slides section .fragment.zoom-in.visible { - opacity: 1; - -webkit-transform: scale( 1 ); -moz-transform: scale( 1 ); -ms-transform: scale( 1 ); @@ -147,8 +148,6 @@ body { } .reveal .slides section .fragment.roll-in { - opacity: 0; - -webkit-transform: rotateX( 90deg ); -moz-transform: rotateX( 90deg ); -ms-transform: rotateX( 90deg ); @@ -156,8 +155,6 @@ body { transform: rotateX( 90deg ); } .reveal .slides section .fragment.roll-in.visible { - opacity: 1; - -webkit-transform: rotateX( 0 ); -moz-transform: rotateX( 0 ); -ms-transform: rotateX( 0 ); @@ -167,25 +164,30 @@ body { .reveal .slides section .fragment.fade-out { opacity: 1; + visibility: visible; } .reveal .slides section .fragment.fade-out.visible { opacity: 0; + visibility: hidden; } .reveal .slides section .fragment.semi-fade-out { opacity: 1; + visibility: visible; } .reveal .slides section .fragment.semi-fade-out.visible { opacity: 0.5; + visibility: visible; } .reveal .slides section .fragment.current-visible { - opacity:0; -} - -.reveal .slides section .fragment.current-visible.current-fragment { - opacity:1; + opacity: 0; + visibility: hidden; } + .reveal .slides section .fragment.current-visible.current-fragment { + opacity: 1; + visibility: visible; + } .reveal .slides section .fragment.highlight-red, .reveal .slides section .fragment.highlight-current-red, @@ -194,6 +196,7 @@ body { .reveal .slides section .fragment.highlight-blue, .reveal .slides section .fragment.highlight-current-blue { opacity: 1; + visibility: visible; } .reveal .slides section .fragment.highlight-red.visible { color: #ff2c2d @@ -215,6 +218,13 @@ body { color: #1b91ff; } +.reveal .slides section .fragment.strike { + opacity: 1; +} + .reveal .slides section .fragment.strike.visible { + text-decoration: line-through; + } + /********************************************* * DEFAULT ELEMENT STYLES @@ -254,6 +264,7 @@ body { } .reveal ol, +.reveal dl, .reveal ul { display: inline-block; @@ -285,6 +296,14 @@ body { margin-left: 40px; } +.reveal dt { + font-weight: bold; +} + +.reveal dd { + margin-left: 40px; +} + .reveal p { margin-bottom: 10px; line-height: 1.2em; @@ -348,14 +367,25 @@ body { box-sizing: border-box; } +.reveal table { + margin: auto; + border-collapse: collapse; + border-spacing: 0; +} + +.reveal table th { + font-weight: bold; +} + .reveal table th, .reveal table td { - text-align: left; - padding-right: .3em; + text-align: left; + padding: 0.2em 1em 0.2em 0; + border-bottom: 1px solid; } -.reveal table th { - font-weight: bold; +.reveal table tr:last-child td { + border-bottom: none; } .reveal sup { @@ -407,8 +437,6 @@ body { -webkit-transition: all 0.2s ease; -moz-transition: all 0.2s ease; - -ms-transition: all 0.2s ease; - -o-transition: all 0.2s ease; transition: all 0.2s ease; } @@ -425,7 +453,7 @@ body { top: 42px; border-right-width: 22px; - border-right-color: #eee; + border-right-color: #000; } .reveal .controls div.navigate-left.fragmented { opacity: 0.3; @@ -436,7 +464,7 @@ body { top: 42px; border-left-width: 22px; - border-left-color: #eee; + border-left-color: #000; } .reveal .controls div.navigate-right.fragmented { opacity: 0.3; @@ -446,7 +474,7 @@ body { left: 42px; border-bottom-width: 22px; - border-bottom-color: #eee; + border-bottom-color: #000; } .reveal .controls div.navigate-up.fragmented { opacity: 0.3; @@ -457,7 +485,7 @@ body { top: 74px; border-top-width: 22px; - border-top-color: #eee; + border-top-color: #000; } .reveal .controls div.navigate-down.fragmented { opacity: 0.3; @@ -476,10 +504,12 @@ body { bottom: 0; left: 0; z-index: 10; + + background-color: rgba( 0, 0, 0, 0.2 ); } .reveal .progress:after { content: ''; - display: 'block'; + display: block; position: absolute; height: 20px; width: 100%; @@ -490,10 +520,10 @@ body { height: 100%; width: 0px; + background-color: #000; + -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); - -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); - -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); } @@ -521,6 +551,7 @@ body { height: 100%; -ms-touch-action: none; + touch-action: none; } .reveal .slides { @@ -536,8 +567,6 @@ body { -webkit-transition: -webkit-perspective .4s ease; -moz-transition: -moz-perspective .4s ease; - -ms-transition: -ms-perspective .4s ease; - -o-transition: -o-perspective .4s ease; transition: perspective .4s ease; -webkit-perspective: 600px; @@ -579,14 +608,6 @@ body { -moz-transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); - -ms-transition: -ms-transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - -ms-transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); - -o-transition: -o-transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - -o-transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); transition: transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), @@ -597,13 +618,11 @@ body { .reveal[data-transition-speed="fast"] .slides section { -webkit-transition-duration: 400ms; -moz-transition-duration: 400ms; - -ms-transition-duration: 400ms; transition-duration: 400ms; } .reveal[data-transition-speed="slow"] .slides section { -webkit-transition-duration: 1200ms; -moz-transition-duration: 1200ms; - -ms-transition-duration: 1200ms; transition-duration: 1200ms; } @@ -611,13 +630,11 @@ body { .reveal .slides section[data-transition-speed="fast"] { -webkit-transition-duration: 400ms; -moz-transition-duration: 400ms; - -ms-transition-duration: 400ms; transition-duration: 400ms; } .reveal .slides section[data-transition-speed="slow"] { -webkit-transition-duration: 1200ms; -moz-transition-duration: 1200ms; - -ms-transition-duration: 1200ms; transition-duration: 1200ms; } @@ -657,6 +674,12 @@ body { pointer-events: auto; } +.reveal .slides>section.past, +.reveal .slides>section.future, +.reveal .slides>section>section.past, +.reveal .slides>section>section.future { + opacity: 0; +} /********************************************* @@ -664,20 +687,14 @@ body { *********************************************/ .reveal .slides>section[data-transition=default].past, -.reveal .slides>section.past { - display: block; - opacity: 0; - +.reveal.default .slides>section:not([data-transition]).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); -ms-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0); } .reveal .slides>section[data-transition=default].future, -.reveal .slides>section.future { - display: block; - opacity: 0; - +.reveal.default .slides>section:not([data-transition]).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); -ms-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0); @@ -685,20 +702,14 @@ body { } .reveal .slides>section>section[data-transition=default].past, -.reveal .slides>section>section.past { - display: block; - opacity: 0; - +.reveal.default .slides>section>section:not([data-transition]).past { -webkit-transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0); -moz-transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0); -ms-transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0); transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0); } .reveal .slides>section>section[data-transition=default].future, -.reveal .slides>section>section.future { - display: block; - opacity: 0; - +.reveal.default .slides>section>section:not([data-transition]).future { -webkit-transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0); -moz-transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0); -ms-transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0); @@ -711,14 +722,14 @@ body { *********************************************/ .reveal .slides>section[data-transition=concave].past, -.reveal.concave .slides>section.past { +.reveal.concave .slides>section:not([data-transition]).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); -ms-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0); } .reveal .slides>section[data-transition=concave].future, -.reveal.concave .slides>section.future { +.reveal.concave .slides>section:not([data-transition]).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); -ms-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0); @@ -726,14 +737,14 @@ body { } .reveal .slides>section>section[data-transition=concave].past, -.reveal.concave .slides>section>section.past { +.reveal.concave .slides>section>section:not([data-transition]).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); -ms-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0); transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0); } .reveal .slides>section>section[data-transition=concave].future, -.reveal.concave .slides>section>section.future { +.reveal.concave .slides>section>section:not([data-transition]).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); -ms-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0); @@ -746,17 +757,14 @@ body { *********************************************/ .reveal .slides>section[data-transition=zoom], -.reveal.zoom .slides>section { +.reveal.zoom .slides>section:not([data-transition]) { -webkit-transition-timing-function: ease; -moz-transition-timing-function: ease; - -ms-transition-timing-function: ease; - -o-transition-timing-function: ease; transition-timing-function: ease; } .reveal .slides>section[data-transition=zoom].past, -.reveal.zoom .slides>section.past { - opacity: 0; +.reveal.zoom .slides>section:not([data-transition]).past { visibility: hidden; -webkit-transform: scale(16); @@ -766,8 +774,7 @@ body { transform: scale(16); } .reveal .slides>section[data-transition=zoom].future, -.reveal.zoom .slides>section.future { - opacity: 0; +.reveal.zoom .slides>section:not([data-transition]).future { visibility: hidden; -webkit-transform: scale(0.2); @@ -778,7 +785,7 @@ body { } .reveal .slides>section>section[data-transition=zoom].past, -.reveal.zoom .slides>section>section.past { +.reveal.zoom .slides>section>section:not([data-transition]).past { -webkit-transform: translate(0, -150%); -moz-transform: translate(0, -150%); -ms-transform: translate(0, -150%); @@ -786,7 +793,7 @@ body { transform: translate(0, -150%); } .reveal .slides>section>section[data-transition=zoom].future, -.reveal.zoom .slides>section>section.future { +.reveal.zoom .slides>section>section:not([data-transition]).future { -webkit-transform: translate(0, 150%); -moz-transform: translate(0, 150%); -ms-transform: translate(0, 150%); @@ -807,7 +814,7 @@ body { } .reveal .slides>section[data-transition=linear].past, -.reveal.linear .slides>section.past { +.reveal.linear .slides>section:not([data-transition]).past { -webkit-transform: translate(-150%, 0); -moz-transform: translate(-150%, 0); -ms-transform: translate(-150%, 0); @@ -815,7 +822,7 @@ body { transform: translate(-150%, 0); } .reveal .slides>section[data-transition=linear].future, -.reveal.linear .slides>section.future { +.reveal.linear .slides>section:not([data-transition]).future { -webkit-transform: translate(150%, 0); -moz-transform: translate(150%, 0); -ms-transform: translate(150%, 0); @@ -824,7 +831,7 @@ body { } .reveal .slides>section>section[data-transition=linear].past, -.reveal.linear .slides>section>section.past { +.reveal.linear .slides>section>section:not([data-transition]).past { -webkit-transform: translate(0, -150%); -moz-transform: translate(0, -150%); -ms-transform: translate(0, -150%); @@ -832,7 +839,7 @@ body { transform: translate(0, -150%); } .reveal .slides>section>section[data-transition=linear].future, -.reveal.linear .slides>section>section.future { +.reveal.linear .slides>section>section:not([data-transition]).future { -webkit-transform: translate(0, 150%); -moz-transform: translate(0, 150%); -ms-transform: translate(0, 150%); @@ -1079,8 +1086,8 @@ body { *********************************************/ .reveal .slides section[data-transition=fade], -.reveal.fade .slides section, -.reveal.fade .slides>section>section { +.reveal.fade .slides section:not([data-transition]), +.reveal.fade .slides>section>section:not([data-transition]) { -webkit-transform: none; -moz-transform: none; -ms-transform: none; @@ -1089,8 +1096,6 @@ body { -webkit-transition: opacity 0.5s; -moz-transition: opacity 0.5s; - -ms-transition: opacity 0.5s; - -o-transition: opacity 0.5s; transition: opacity 0.5s; } @@ -1101,8 +1106,6 @@ body { .reveal.fade.overview-deactivating .slides>section>section { -webkit-transition: none; -moz-transition: none; - -ms-transition: none; - -o-transition: none; transition: none; } @@ -1112,7 +1115,7 @@ body { *********************************************/ .reveal .slides section[data-transition=none], -.reveal.none .slides section { +.reveal.none .slides section:not([data-transition]) { -webkit-transform: none; -moz-transform: none; -ms-transform: none; @@ -1121,8 +1124,6 @@ body { -webkit-transition: none; -moz-transition: none; - -ms-transition: none; - -o-transition: none; transition: none; } @@ -1194,8 +1195,6 @@ body { -webkit-transition: all 1s ease; -moz-transition: all 1s ease; - -ms-transition: all 1s ease; - -o-transition: all 1s ease; transition: all 1s ease; } .reveal.paused .pause-overlay { @@ -1252,8 +1251,6 @@ body { .reveal .no-transition * { -webkit-transition: none !important; -moz-transition: none !important; - -ms-transition: none !important; - -o-transition: none !important; transition: none !important; } @@ -1270,8 +1267,6 @@ body { -webkit-transition: background 800ms ease; -moz-transition: background 800ms ease; - -ms-transition: background 800ms ease; - -o-transition: background 800ms ease; transition: background 800ms ease; } .alert .reveal .state-background { @@ -1331,8 +1326,6 @@ body { -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); - -ms-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); - -o-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); } .reveal .slide-background.present { @@ -1350,8 +1343,6 @@ body { .reveal>.backgrounds .slide-background[data-background-transition=none] { -webkit-transition: none; -moz-transition: none; - -ms-transition: none; - -o-transition: none; transition: none; } @@ -1484,8 +1475,6 @@ body { .reveal>.backgrounds .slide-background[data-background-transition=zoom] { -webkit-transition-timing-function: ease; -moz-transition-timing-function: ease; - -ms-transition-timing-function: ease; - -o-transition-timing-function: ease; transition-timing-function: ease; } @@ -1540,13 +1529,11 @@ body { .reveal[data-transition-speed="fast"]>.backgrounds .slide-background { -webkit-transition-duration: 400ms; -moz-transition-duration: 400ms; - -ms-transition-duration: 400ms; transition-duration: 400ms; } .reveal[data-transition-speed="slow"]>.backgrounds .slide-background { -webkit-transition-duration: 1200ms; -moz-transition-duration: 1200ms; - -ms-transition-duration: 1200ms; transition-duration: 1200ms; } @@ -1587,7 +1574,6 @@ body { .reveal.has-parallax-background .backgrounds { -webkit-transition: all 0.8s ease; -moz-transition: all 0.8s ease; - -ms-transition: all 0.8s ease; transition: all 0.8s ease; } @@ -1595,13 +1581,11 @@ body { .reveal.has-parallax-background[data-transition-speed="fast"] .backgrounds { -webkit-transition-duration: 400ms; -moz-transition-duration: 400ms; - -ms-transition-duration: 400ms; transition-duration: 400ms; } .reveal.has-parallax-background[data-transition-speed="slow"] .backgrounds { -webkit-transition-duration: 1200ms; -moz-transition-duration: 1200ms; - -ms-transition-duration: 1200ms; transition-duration: 1200ms; } @@ -1623,7 +1607,6 @@ body { -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; - -ms-transition: all 0.3s ease; transition: all 0.3s ease; } .reveal .preview-link-overlay.visible { @@ -1647,7 +1630,6 @@ body { -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; - -ms-transition: all 0.3s ease; transition: all 0.3s ease; } @@ -1709,7 +1691,6 @@ body { -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; - -ms-transition: all 0.3s ease; transition: all 0.3s ease; } @@ -1743,7 +1724,6 @@ body { -webkit-transition: all 400ms ease; -moz-transition: all 400ms ease; - -ms-transition: all 400ms ease; transition: all 400ms ease; } @@ -1787,7 +1767,6 @@ body { -webkit-transition: all 400ms ease; -moz-transition: all 400ms ease; - -ms-transition: all 400ms ease; transition: all 400ms ease; -webkit-transform-origin: 50% 0%; |