diff options
Diffstat (limited to 'public')
| -rw-r--r-- | public/assets/img/d.png | bin | 0 -> 290 bytes | |||
| -rw-r--r-- | public/assets/img/l.png | bin | 0 -> 187 bytes | |||
| -rw-r--r-- | public/assets/img/r.png | bin | 0 -> 186 bytes | |||
| -rw-r--r-- | public/assets/img/u.png | bin | 0 -> 288 bytes | |||
| -rw-r--r-- | public/assets/img/x.png | bin | 0 -> 422 bytes | |||
| -rw-r--r-- | public/assets/ok.css | 125 |
6 files changed, 114 insertions, 11 deletions
diff --git a/public/assets/img/d.png b/public/assets/img/d.png Binary files differnew file mode 100644 index 0000000..9530c09 --- /dev/null +++ b/public/assets/img/d.png diff --git a/public/assets/img/l.png b/public/assets/img/l.png Binary files differnew file mode 100644 index 0000000..383e388 --- /dev/null +++ b/public/assets/img/l.png diff --git a/public/assets/img/r.png b/public/assets/img/r.png Binary files differnew file mode 100644 index 0000000..8fb6dfb --- /dev/null +++ b/public/assets/img/r.png diff --git a/public/assets/img/u.png b/public/assets/img/u.png Binary files differnew file mode 100644 index 0000000..530d460 --- /dev/null +++ b/public/assets/img/u.png diff --git a/public/assets/img/x.png b/public/assets/img/x.png Binary files differnew file mode 100644 index 0000000..71d3017 --- /dev/null +++ b/public/assets/img/x.png diff --git a/public/assets/ok.css b/public/assets/ok.css index ee7282b..ea931b0 100644 --- a/public/assets/ok.css +++ b/public/assets/ok.css @@ -35,6 +35,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 +167,7 @@ menu ul { opacity: 0.1; transition: 150ms opacity cubic-bezier(0, 0, 0, 1); background: #eee; + cursor: url(img/x.png), pointer; } div, @@ -105,6 +178,7 @@ span { .item { height: 100vh; + width: 100%; display: -webkit-flex; display: flex; -webkit-flex-flow: column wrap; @@ -114,7 +188,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 +222,7 @@ nav span { } .index { - width: 60px; + width: 65px; transition: 150ms width; transition-timing-function: cubic-bezier(0, 0, 0, 1); } @@ -223,6 +304,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), pointer; +} + + +.flickity-viewport:after { + content: ""; + height: 20vw; + width: 60vw; + position: absolute; + z-index: 3; + bottom:0; + margin-left: 20vw; + cursor: url(img/d.png), pointer; +} + .flickity-viewport { overflow: hidden; position: relative; @@ -235,30 +338,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), pointer; } button.previous { left: 0; + cursor: url(img/l.png), pointer; } .desktop button.previous:hover svg, @@ -267,8 +369,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); } @@ -294,6 +396,7 @@ button.previous:active svg { flex: 0 auto; overflow: hidden; padding: 5px 0; + cursor: url(img/d.png), pointer; } .five { |
