/* NAV BAR */ #nav { position: absolute; top: 0; left: 0; width: 249px; -webkit-transform: translateZ(0) translateX(-249px); -webkit-transition: -webkit-transform 0.3s; background: #eeeeee; } #content { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; -webkit-transform: translateZ(0) translateX(0px); -webkit-transition: -webkit-transform 0.3s; } .ios #nav, .ios #content { top: 20px; height: -webkit-calc(100% - 20px); } .nav #nav { -webkit-transform: translateZ(0) translateX(0); } .nav #content { -webkit-transform: translateZ(0) translateX(249px); } .nav .logo { background-image: url(../img/wide-logo.png); background-repeat: no-repeat; background-position: center center; background-size: contain; width: 120px; height: 80px; margin-left: 20px; } #nav .menu span { display: block; font-size: 14px; color: #000; padding: 15px 0 15px 20px; } #nav .submenu { position: absolute; width: 100%; padding: 20px 0; bottom: 33px; border-top: 1px solid #ddd; } #nav .submenu span { display: block; font-size: 14px; color: #bbb; padding: 4px 0 5px 20px } #nav .social { position: absolute; bottom: 0; left: 0; border-top: 1px solid #ddd; } #nav .social span { display: block; float: left; width: 82px; border-left: 1px solid #ddd; color: #bbb; font-size: 18px; padding: 5px 0; text-align: center; } /* INTRO PAGE WITH SPINNING COMPASS */ #intro { display: none; } .intro #intro { display: block; } .intro #header, .intro #footer { display: none; } #intro div { position: absolute; top: 50%; left: 50%; width: 200px; padding: 50px; text-align: center; font-size: 20px; } #intro #compass { pointer-events: none; background-image: url(../img/compass-logo.png); background-repeat: no-repeat; background-position: center center; background-size: 250px 250px; width: 250px; height: 250px; padding: 0px; border-radius: 50%; } #intro .store { -webkit-transform: translateX(-50%) translateY(-50%) translateY(145px) rotateZ(0deg); } #intro .hub { -webkit-transform: translateX(-50%) translateY(-50%) translateX(140px) rotateZ(90deg); } #intro .story { -webkit-transform: translateX(-50%) translateY(-50%) translateY(-145px) rotateZ(0deg); } #intro .archive { -webkit-transform: translateX(-50%) translateY(-50%) translateX(-140px) rotateZ(270deg); } #intro .latlng { position: absolute; bottom: 5%; left: 0; width: 100%; text-align: center; z-index: 2 } /* HEADER AND FOOTER ON MOST PAGES */ #header { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 42px; background: white; } #header .logo { background-image: url(../img/wide-logo.png); background-repeat: no-repeat; background-position: center center; position: absolute; background-size: contain; width: 80px; height: 38px; left: 50%; top: 2px; margin-left: -40px; } #header .burger { display: inline-block; font-size: 24px; padding: 6px 10px; } #header .cart { display: inline-block; padding: 6px 10px; float: right; } #footer { display: block; position: absolute; bottom: 0; left: 0; width: 100%; background: #eee; border-top: 1px solid #ddd; } #footer span { display: none; padding: 10px 0; color: #bbb; } #footer .filter { float: right; padding: 10px; } #footer .buynow, #footer .addtocart, #footer .cancel, #footer .checkout, #footer .checkout_proceed { width: 50%; text-align: center; float: left; } /* CURTAIN FOR LOGIN AND SELECTOR VIEWS */ #curtain { pointer-events: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(72,72,72,0.8); opacity: 0; -webkit-transition: opacity 0.4s; transition: opacity 0.4s; } #curtain.visible { pointer-events: auto; opacity: 1; } /* LOGIN / SIGNUP SCREEN */ #login { display: none; position: absolute; top: 50%; left: 50%; -webkit-transform: translateX(-50%) translateY(-50%); background: #fff; } /* SELECTOR */ #selector { display: none; height: 100%; width: 100%; position: absolute; top: 0; left: 0; background: #eeeeee; } /* CONTENT */ #story, #hub, #archive, #collection, #product, #cart { position: absolute; top: 40px; height: -webkit-calc(100% - 40px); height: calc(100% - 40px); width: 100%; } h1 { text-align: center; margin: 0; padding: 15px 10px 10px 10px; border-bottom: 1px solid #ccc; font-size: 18px; color: #ccc; letter-spacing: 2px; font-weight: 100; }