2
0

Some clean-up.

This commit is contained in:
Maarten Billemont 2018-04-19 23:34:42 -04:00
parent fcbed9ef01
commit 49edaef79d
2 changed files with 13 additions and 90 deletions

View File

@ -1,6 +1,6 @@
<header class="{{ page.header }}"> <header class="{{ page.header }}">
<nav> <nav>
<a href="/">Master Password</a> <a href="/" data-hero="main">Master Password</a>
<div class="flex-auto"> <div class="flex-auto">
<a href="https://itunes.apple.com/app/id510296984" data-hero="ios">iOS.</a> <a href="https://itunes.apple.com/app/id510296984" data-hero="ios">iOS.</a>
<a href="https://ssl.masterpasswordapp.com/masterpassword-android.apk" data-hero="android">Android.</a> <a href="https://ssl.masterpasswordapp.com/masterpassword-android.apk" data-hero="android">Android.</a>
@ -13,18 +13,6 @@
</nav> </nav>
<div class="hero" data-paroller-factor="-0.2" data-paroller-type="foreground"></div> <div class="hero" data-paroller-factor="-0.2" data-paroller-type="foreground"></div>
<!--
<div class="hero" data-paroller-factor="0.2" data-paroller-type="foreground">
<img class="main" src="/img/hero_main.jpg" />
<img class="ios" src="/img/hero_ios.jpg" />
<img class="android" src="/img/hero_android.jpg" />
<img class="mac" src="/img/hero_mac.jpg" />
<img class="desktop" src="/img/hero_desktop.jpg" />
<img class="cli" src="/img/hero_cli.jpg" />
<img class="web" src="/img/hero_web.jpg" />
<div class="img"></div>
</div>
-->
<div class="flex-auto"></div> <div class="flex-auto"></div>

View File

@ -90,71 +90,6 @@ header {
justify-content: stretch; justify-content: stretch;
align-items: stretch; align-items: stretch;
// .hero {
// position: absolute;
// z-index: -2;
// left: 0;
// right: 0;
// top: 0;
// bottom: 0;
//
// .img {
// position: absolute;
// top: 0;
// left: 0;
// bottom: 0;
// right: 0;
// margin: 0;
//
// background-color: black;
// background-size: cover !important;
// background: url('../img/hero_main.jpg') center top;
// }
// }
// &[data-hero=ios] .img {
// background: url('../img/hero_ios.jpg') center center;
// }
// &[data-hero=android] .img {
// background: url('../img/hero_android.jpg') center center;
// }
// &[data-hero=mac] .img {
// background: url('../img/hero_mac.jpg') center top;
// }
// &[data-hero=desktop] .img {
// background: url('../img/hero_desktop.jpg') center bottom;
// }
// &[data-hero=cli] .img {
// background: url('../img/hero_cli.jpg') center bottom;
// }
// &[data-hero=web] .img {
// background: url('../img/hero_web.jpg') center center;
// }
// .hero img.main {
// display: block;
// z-index: -1;
// }
// &[data-hero=ios] .hero img.ios {
// display: block;
// }
// &[data-hero=android] .hero img.android {
// display: block;
// }
// &[data-hero=mac] .hero img.mac {
// display: block;
// }
// &[data-hero=desktop] .hero img.desktop {
// top: auto;
// bottom: -90px;
// display: block;
// }
// &[data-hero=cli] .hero img.cli {
// display: block;
// }
// &[data-hero=web] .hero img.web {
// display: block;
// }
.hero { .hero {
position: absolute; position: absolute;
z-index: -2; z-index: -2;