diff options
Diffstat (limited to 'StoneIsland/www/css/nav.css')
| -rw-r--r-- | StoneIsland/www/css/nav.css | 76 |
1 files changed, 62 insertions, 14 deletions
diff --git a/StoneIsland/www/css/nav.css b/StoneIsland/www/css/nav.css index 8842e6e1..9454fcdc 100644 --- a/StoneIsland/www/css/nav.css +++ b/StoneIsland/www/css/nav.css @@ -4,9 +4,10 @@ #nav { position: absolute; top: 0; left: 0; - width: 300px; - -webkit-transform: translateZ(0) translateX(-300px); + width: 250px; + -webkit-transform: translateZ(0) translateX(-250px); -webkit-transition: -webkit-transform 0.3s; + background: #eeeeee; } #content { position: absolute; @@ -25,9 +26,16 @@ -webkit-transform: translateZ(0) translateX(0); } .nav #content { - -webkit-transform: translateZ(0) translateX(300px); + -webkit-transform: translateZ(0) translateX(250px); +} +.nav .logo { + background-image: url(../img/wide-logo.png); + background-repeat: no-repeat; + background-position: center center; + background-size: contain; + width: 170px; + height: 80px; } - /* INTRO PAGE WITH SPINNING COMPASS */ @@ -51,23 +59,26 @@ } #intro #compass { pointer-events: none; - width: 300px; - height: 300px; - background: black; + 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(170px) rotateZ(0deg); + -webkit-transform: translateX(-50%) translateY(-50%) translateY(145px) rotateZ(0deg); } #intro .hub { - -webkit-transform: translateX(-50%) translateY(-50%) translateX(170px) rotateZ(90deg); + -webkit-transform: translateX(-50%) translateY(-50%) translateX(140px) rotateZ(90deg); } #intro .story { - -webkit-transform: translateX(-50%) translateY(-50%) translateY(-170px) rotateZ(0deg); + -webkit-transform: translateX(-50%) translateY(-50%) translateY(-145px) rotateZ(0deg); } #intro .archive { - -webkit-transform: translateX(-50%) translateY(-50%) translateX(-170px) rotateZ(270deg); + -webkit-transform: translateX(-50%) translateY(-50%) translateX(-140px) rotateZ(270deg); } #intro .latlng { position: absolute; @@ -83,10 +94,28 @@ display: block; position: absolute; top: 0; left: 0; width: 100%; + height: 42px; background: white; } -.burger { +#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; } @@ -105,11 +134,18 @@ /* CURTAIN FOR LOGIN AND SELECTOR VIEWS */ #curtain { - display: none; + pointer-events: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; - background: rgba(238,238,238,0.9); + 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; } @@ -128,5 +164,17 @@ #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%; +}
\ No newline at end of file |
