Author: deron Date: Wed Nov 16 23:16:29 2016 New Revision: 1770073 URL: http://svn.apache.org/viewvc?rev=1770073&view=rev Log: restore background video on home page for desktop, download version moved to config file
Modified: incubator/systemml/site/assets/css/main.css incubator/systemml/site/download.html incubator/systemml/site/index.html Modified: incubator/systemml/site/assets/css/main.css URL: http://svn.apache.org/viewvc/incubator/systemml/site/assets/css/main.css?rev=1770073&r1=1770072&r2=1770073&view=diff ============================================================================== --- incubator/systemml/site/assets/css/main.css (original) +++ incubator/systemml/site/assets/css/main.css Wed Nov 16 23:16:29 2016 @@ -4696,7 +4696,8 @@ ol { display: flex; -webkit-flex-flow: row wrap; flex-flow: row wrap; - padding: 3em 1em; } + padding: 3em 1em; + z-index: 50; } .ml-container--reverse-order { direction: rtl; } @media (min-width: 64em) { @@ -5176,12 +5177,26 @@ ol { background-color: #f9f9fb; } .full-stripe--video { height: 100vh; - background-image: url("../img/hero-mobile.png"); + background: #1d3649 url(../img/hero-mobile.png) 0 0 no-repeat; background-size: cover; - color: #fff; } + overflow: hidden; + color: #fff; + position: relative; } @media (min-width: 64em) { .full-stripe--video { - height: 70vh; } } + height: 70vh; + background: #1d3649 url(../img/hero-home.png) 0 0 no-repeat; } } + .full-stripe--video #video-background { + position: absolute; + left: 50%; + top: 50%; + -webkit-transform: translateY(-50%) translateX(-50%); + transform: translateY(-50%) translateX(-50%); + display: none; } + @media (min-width: 64em) { + .full-stripe--video #video-background { + width: 100%; + display: block; } } .full-stripe--subpage-header { background: #1D3649 url(../img/hero-about.svg) center bottom no-repeat; background-size: cover; Modified: incubator/systemml/site/download.html URL: http://svn.apache.org/viewvc/incubator/systemml/site/download.html?rev=1770073&r1=1770072&r2=1770073&view=diff ============================================================================== --- incubator/systemml/site/download.html (original) +++ incubator/systemml/site/download.html Wed Nov 16 23:16:29 2016 @@ -164,7 +164,7 @@ <th><b>Signature</b></th> </tr> <tr> - <td><a href="http://www.apache.org/dyn/closer.lua/incubator/systemml/0.11.0-incubating/systemml-0.11.0-incubating-bin.tar.gz" target="_blank">systemml-0.11.0-incubating (Binary tar.gz)</a></td> + <td><a href="http://www.apache.org/dyn/closer.lua/incubator/systemml/0.11.0-incubating/systemml-0.11.0-incubating-bin.tar.gz" target="_blank"> systemml-0.11.0-incubating (Binary tar.gz)</a></td> <td><a href="http://www.apache.org/dist/incubator/systemml/0.11.0-incubating/systemml-0.11.0-incubating-bin.tar.gz.md5">MD5</a> </td> <td><a href="http://www.apache.org/dist/incubator/systemml/0.11.0-incubating/systemml-0.11.0-incubating-bin.tar.gz.asc">ASC</a></td> </tr> Modified: incubator/systemml/site/index.html URL: http://svn.apache.org/viewvc/incubator/systemml/site/index.html?rev=1770073&r1=1770072&r2=1770073&view=diff ============================================================================== --- incubator/systemml/site/index.html (original) +++ incubator/systemml/site/index.html Wed Nov 16 23:16:29 2016 @@ -134,6 +134,7 @@ <!-- Hero --> <section class="full-stripe full-stripe--video"> + <!-- content --> <div class="ml-container ml-container--horizontally-center ml-container--halfway"> <div class="col col-12 content-group"> <h1>Apache SystemML<sup id="trademark">™</sup></h1> @@ -143,8 +144,11 @@ <a class="button button-primary" href="download.html">Download SystemML 0.11.0-incubating</a> </div> </div> + <!-- video background --> + <video autoplay loop src="assets/media/hero.mp4" id="video-background"></video> </section> + <!-- Awards --> <section class="full-stripe full-stripe--alternate"> <div class="ml-container ml-container--narrow">