html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; padding: 0; margin: 0; outline: 0; border: 0; -webkit-appearance: none; } ::selection { color: blue; } ::-moz-selection { color: blue; } a, a:visited { color: blue; font-weight: bold; font-size: 11px; cursor: pointer; } body { font-family: 'Roboto', sans-serif; font-size: 11px; counter-reset: section; overflow: hidden; } .loading #items { opacity: 0; } /* .hidden { display: none!important; } */ .item.hidden { display: block; opacity: 0; pointer-events: none; } .item { position: absolute; top: 0; left: 0; } h1 { font-size: 27px; line-height: 32px; } h1 span { font-size: 16px; line-height: 20px; width: 80%; margin: 10px 0; } h2 { font-size: 16px; margin: 20px 0; } h3 { font-size: 12px; } .intro a { width: 100%; display: inline-block; } .intro a:before { content: "– "; } .intro { font-size: 12px; line-height: 20px; } .intro .left { display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: space-between; align-content: stretch; align-items: flex-start; } .intro div { width: 25%; float: left; clear: both; height: 100%; padding: 27px 5px 5px 5px; } .intro div.text { width: 50%; -webkit-column-count: 2; -webkit-column-gap: 5px; -moz-column-gap: 5px; column-gap: 5px; font-size: 12px; } .intro .right { background: url(http://ryder-ripps.com/press/ryder-ripps.jpg)no-repeat center; background-size: cover; -webkit-filter: grayscale(100%); filter: grayscale(100%); } .intro.cover .left span#cred { width: 100%; border-top: 1px solid; padding: 15px 0 10px 0; } .intro.cover .left small { display: none; } .intro.cover .right { background: url(https://upload.wikimedia.org/wikipedia/commons/d/de/Victoria_crater_from_HiRise.jpg)no-repeat center; background-size: cover; width: 75%; } .menu { position: fixed; height: 100vh; width: 50vw; top: 0; left: 0; z-index: 2; transform: translateX(-50vw); padding: 24px 0 5px 0; transition: 150ms transform cubic-bezier(0, 0, 0, 1); z-index: 0; opacity: 0; -webkit-column-count: 2; -webkit-column-gap: 3px; -moz-column-gap: 3px; column-gap: 3px; -webkit-column-break-inside: avoid; -moz-column-break-inside: avoid; -moz-page-break-inside: avoid; page-break-inside: avoid; break-inside: avoid-column; } .menu ul { height: 100%; } .menu ul li { list-style-type: decimal-leading-zero; list-style-position: inside; border-bottom: 1px solid; padding: 6px 5px 4px 7px; font-size: 14px; } ul li { text-transform: capitalize; } .desktop .menu ul li:hover, .menu ul li.active { background: black; color: white; cursor: pointer; } nav { background: white; } .navopen .menu { transform: translateX(0vw); z-index: 2; opacity: 1; overflow: auto; } .navopen .item { transform: translateX(50vw); /*opacity:0.5;*/ background: black; } nav svg g g rect { transition: 150ms transform 50ms cubic-bezier(0, 0, 0, 1); width: 100px; } nav svg g g:first-child rect { transform: rotate(0deg); transform-origin: center; } nav svg g g:nth-child(2) rect { opacity: 1; } nav svg g g:last-child rect { transform: rotate(0deg); transform-origin: center; } .navopen nav svg g g:first-child rect { transform: rotate(45deg); transform-origin: center; width: 80px; } .navopen nav svg g g:nth-child(2) rect { opacity: 0; } .navopen nav svg g g:last-child rect { transform: rotate(-45deg); transform-origin: center; width: 70px; } .navopen .item { cursor: url(img/x-w.png) 32 32, pointer; } .navopen .item > * { opacity: 0.1; transition: 150ms opacity cubic-bezier(0, 0, 0, 1); background: #eee; } div, span { display: inline-block; float: left; } #items { display: block; float: none; } .item { height: 100vh; width: 100%; display: block; transition: 150ms transform cubic-bezier(0, 0, 0, 1), 200ms background cubic-bezier(0, 0, 0, 1), 150ms opacity cubic-bezier(0, 1, 0, 0); } .item.intro { display: flex; display: -webkit-flex; -webkit-flex-flow: column wrap; flex-flow: column wrap; background: white; } .navopen .item.intro { background: black; } .navopen .item.intro > * { background: transparent; } .navopen nav, body.navopen { background: #f9f9f9; } nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 3; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } nav span { border-bottom: 1px solid black; width: 100%; } #burger { width: 10px; vertical-align: top; padding: 2px; } .index { width: 65px; background: white; transition: 150ms width; transition-timing-function: cubic-bezier(0, 0, 0, 1); } .navopen .index { width: 50vw; } nav span div:last-child { transition: 150ms all; } .navopen nav span div:last-child { transform: translateX(110px); transition: 150ms all; position: absolute; right: 5px; } .index:after { content: "INDEX"; padding-right: 5px; } .navopen .index:after { content: "CLOSE"; } .desktop .index:hover, .navopen .index { color: white; cursor: pointer; background: black; } .desktop .index:hover svg, .navopen .index svg { fill: white; } nav div { vertical-align: middle; padding: 5px; } nav span div:first-child { float: left; } nav span div:nth-child(2) { border-left: 1px solid black; padding-left: 20px; } .navopen nav span div:nth-child(2) { border-left: 1px solid white; } nav span div:last-child { float: right; } .top { position: relative; background: #f9f9f9; width: 100%; /*height: 80vh;*/ margin-top: 20px; float: none; display: block; } nav b { font-weight: normal; } /*animations*/ body { background: white; transition: 300ms background 150ms; transition-timing-function: cubic-bezier(0, 0, 0, 1); } .bottom { float: none; position: absolute; top: 0; width: 100%; left: 0; background: white; display: block; } .up .showing.item { transform: translateY(-10px); opacity: 0; } .down .showing.item { transform: translateY(10px); opacity: 0; } /* .up nav, .down nav { background: black; transition: 0ms background 0ms!important; } .up nav span div:nth-child(2), .down nav span div:nth-child(2) { border-left:1px solid white; } .up nav .index, .down nav .index, .up nav svg, .down nav svg { color: white; background: black; fill: white; } .up nav span div:last-child .page-no, .down nav span div:last-child .page-no { color: white; } .up .cell, .down .cell { opacity:0; } .up .top, .down .top { background: black } */ /* Flickity */ .flickity-enabled { position: relative; } .flickity-enabled:focus { outline: none; } .page-up { height: 30%; width: 60vw; position: absolute; top: 25px; left: 0; z-index: 3; margin-left: 20vw; cursor: url(img/u.png) 32 0, pointer; } .page-down { height: 70%; width: 60vw; position: absolute; z-index: 3; bottom: 0; left: 0; margin-left: 20vw; cursor: url(img/d.png)32 64, pointer; } .single .page-up, .single .page-down { width: 100%; margin-left: 0; } .intro .page-up, .intro .page-down { width: 75%; margin-left: 25%; } .item:first-child .page-down { height: 100%; bottom: -25px; } .flickity-viewport { overflow: hidden; position: relative; width: 100%; } .flickity-slider { position: absolute; width: 100%; } button { width: 20vw; position: absolute; top: 0; background: transparent; } .navopen .item * { pointer-events: none; } button svg { display: none; } button.next { right: 0; cursor: url(img/r.png)64 32, pointer; } button.previous { left: 0; cursor: url(img/l.png) 0 32, pointer; } .desktop button.previous:hover svg, .desktop button.next:hover svg { opacity: 1; transform: scale(0.2); } .desktop button.next:active svg, .desktop button.previous:active svg { transform: scale(0.1); } .cell { width: 100vw; height: 100%; /*THIS SHOULD BE DYNAMIC*/ background-position: center; background-size: cover; background-repeat: no-repeat; } .cell.contain { background-size: 20%; background-color: #eee; } .resizing .item { background: url(img/tomato20dancing.gif) center !important; } .resizing .item * { opacity: 0; } .bottom { /*height: 20vh; padding: 5px 0; */ overflow: hidden; cursor: url(img/d.png)32 64, pointer; } .five { width: 100%; } .five li:before { content: "*"; font-family: 'Roboto Mono'; font-weight: 700; padding-right: 5px; } .headings, nav { font-family: 'Roboto Mono', monospace; font-size: 8px; text-transform: uppercase; font-weight: 700; } .texts { font-weight: 400; font-weight: 400; } .five span { width: calc(12% - 8px); margin: 5px 4px 0 4px; } .press .headings span:nth-child(5) { width: calc(40% - 8px); } .headings span { border-bottom: 1px solid; padding: 0 0 2px 0; } .press .headings span:last-child:before { content: "PRESS"; } .five .description { width: 50%; -webkit-column-count: 3; /*text-align: justify;*/ column-gap: 5px; } .press .five .description { width: calc(40% - 8px); -webkit-column-count: 2; } ul li { list-style-type: none; } .nopress span:nth-child(5) { width: calc(52% - 8px); } .press ul { cursor: default; height: 100% } .nopress span:last-child { display: none; } @media (min-width: 1200px) { .texts { font-size: 13px; line-height: 16px; } .headings, nav { font-size: 10px; } #burger { width: 11px; padding: 1px 0 0 0; } } /* @media (min-width: 1400px) { .texts { font-size: 14px; line-height: 16px; } } @media (min-width: 1600px) { .texts { font-size: 15px; line-height: 17px; } .headings, nav { font-size: 10px; } } */ @media (max-width:680px) { .intro div { width: 100%!important; height: auto; } .intro.cover .left { height: 25%; } .intro.cover .right { height: 75%; } .intro.cover .left span#cred { display: none; } .intro .left { justify-content: center; } nav { font-size: 11px; font-family: 'Roboto'; font-weight: 400; } nav span div:first-child { font-weight: bold } nav span { border: 0; } nav img { width: 12px; } nav span div:nth-child(2), .five span:nth-child(4) { display: none; } .texts { padding: 3px 5px; } .five span:nth-child(2), .five span:nth-child(3) { width: calc(50% - 2.5px); } .five span:nth-child(3) { margin-left: 5px; } .five span { width: 100%; border-bottom: 1px solid; margin: 0; padding: 3px 0 2px 0; font-weight: 600; } iframe.cell { pointer-events: none; } .five span.description { width: 100%!important; font-weight: 400; -webkit-column-count: 2!important; -webkit-column-gap: 3px; -moz-column-gap: 3px; column-gap: 3px; } .headings { display: none; } #burger { width: 22px; } .index { width: 10vw; } .index:after, .navopen .index:after { content: ""; padding-right: 0; } .navopen .index { width: 90vw; } .menu { width: 90vw; transform: translateX(-90vw); } .navopen .item { transform: translateX(90vw); } .top { margin-top: 30px; } }