diff options
Diffstat (limited to 'public/assets/ok.css')
| -rw-r--r-- | public/assets/ok.css | 128 |
1 files changed, 116 insertions, 12 deletions
diff --git a/public/assets/ok.css b/public/assets/ok.css index ee7282b..03b0a3b 100644 --- a/public/assets/ok.css +++ b/public/assets/ok.css @@ -26,6 +26,7 @@ a:visited { color: blue; font-weight: bold; font-size: 11px; + cursor:pointer; } body { @@ -35,6 +36,78 @@ body { overflow: hidden; } +.hidden { + display: none!important; +} + +h1 { + font-size: 27px; + line-height: 32px; +} + +h1 span { + font-size: 16px; + line-height: 20px; + width: 50%; + 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%); +} + .menu { position: fixed; height: 100vh; @@ -95,6 +168,7 @@ menu ul { opacity: 0.1; transition: 150ms opacity cubic-bezier(0, 0, 0, 1); background: #eee; + cursor: url(img/x-w.png) 32 32, pointer; } div, @@ -105,6 +179,7 @@ span { .item { height: 100vh; + width: 100%; display: -webkit-flex; display: flex; -webkit-flex-flow: column wrap; @@ -114,7 +189,14 @@ span { body, nav { - background: #fff; + background: white; + transition: 300ms background 150ms; + transition-timing-function: cubic-bezier(0, 0, 0, 1); +} + +.navopen nav, +body.navopen { + background: #f9f9f9; } nav { @@ -141,7 +223,7 @@ nav span { } .index { - width: 60px; + width: 65px; transition: 150ms width; transition-timing-function: cubic-bezier(0, 0, 0, 1); } @@ -223,6 +305,28 @@ nav b { outline: none; } +.flickity-viewport:before { + content: ""; + height: 20vw; + width: 60vw; + position: absolute; + z-index: 3; + margin-left: 20vw; + cursor: url(img/u.png) 32 0, pointer; +} + + +.flickity-viewport:after { + content: ""; + height: 20vw; + width: 60vw; + position: absolute; + z-index: 3; + bottom:0; + margin-left: 20vw; + cursor: url(img/d.png)32 64, pointer; +} + .flickity-viewport { overflow: hidden; position: relative; @@ -235,30 +339,29 @@ nav b { } button { - width: 10vw; + width: 20vw; position: absolute; top: 0; background: transparent; - cursor: pointer; } -.navopen button { +.navopen button, +.navopen iframe.cell { pointer-events: none; } button svg { - opacity: 0; - transition: 150ms all; - transition-timing-function: cubic-bezier(0, 0, 0, 1); - transform: scale(0.3); + 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, @@ -267,8 +370,8 @@ button.previous { transform: scale(0.2); } -button.next:active svg, -button.previous:active svg { +.desktop button.next:active svg, +.desktop button.previous:active svg { transform: scale(0.1); } @@ -286,7 +389,7 @@ button.previous:active svg { } .resizing .top { - background: url(tomato20dancing.gif)center; + background: url(img/tomato20dancing.gif)center; } .bottom { @@ -294,6 +397,7 @@ button.previous:active svg { flex: 0 auto; overflow: hidden; padding: 5px 0; + cursor: url(img/d.png)32 64, pointer; } .five { |
