@import "https://fonts.googleapis.com/css?family=Open+Sans:300,700";
@import "https://fonts.googleapis.com/css?family=Bitter:400,700";
@import "https://fonts.googleapis.com/css?family=Anonymous+Pro:400";
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font: inherit;
font-size: 100%;
vertical-align: baseline;
}
html {
line-height: 1;
}
ol, ul {
list-style: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
q, blockquote {
quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
content: "";
content: none;
}
a img {
border: none;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
display: block;
}
html,
body,
main {
height: 100%;
width: 100%;
box-sizing: border-box;
}
h1 {
font-size: 2.5em;
margin: 2em 0 .5em;
font-family: 'Bitter', serif;
font-weight: 400;
}
em,
strong {
font-weight: 700;
}
.main {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
body {
font-family: 'Open Sans', sans-serif;
font-weight: 400;
font-size: 1em;
line-height: 2em;
color: #444;
background-color: #d0d0d0;
text-align: center;
}
*,
*:hover {
cursor: none;
}
a:hover {
color: red;
}
a svg {
pointer-events: none;
}
.space {
margin-bottom: 1em;
}
.actions {
margin-top: 2em;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.actions__item {
text-align: center;
}
.actions__item a {
display: inline-block;
width: 9em;
padding: 1em 0;
color: #444;
text-decoration: none;
}
.actions__item:last-child {
margin: 0 1em;
background-color: #fafafa;
}
.svg-cursor {
position: absolute;
pointer-events: none;
z-index: 1000;
font-size: 1.5em;
}
.svg-cursor__lines {
-webkit-transform: scale(0.8) rotate(0);
transform: scale(0.8) rotate(0);
-webkit-transform-origin: .5em .5em;
transform-origin: .5em .5em;
-webkit-transition: all 0.6s cubic-bezier(0.76, -0.53, 0.32, 1.4);
transition: all 0.6s cubic-bezier(0.76, -0.53, 0.32, 1.4);
}
.svg-cursor__lines line {
-webkit-transition: all 0.6s cubic-bezier(0.76, -0.53, 0.32, 1.4);
transition: all 0.6s cubic-bezier(0.76, -0.53, 0.32, 1.4);
-webkit-transform-origin: .5em .5em;
transform-origin: .5em .5em;
}
.svg-cursor__lines line:nth-of-type(1) {
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.svg-cursor__lines line:nth-of-type(2) {
-webkit-transform: scaleX(0.65) translateY(-0.35em);
transform: scaleX(0.65) translateY(-0.35em);
}
.svg-cursor__lines line:nth-of-type(3) {
-webkit-transform: scaleY(0.65) rotate(90deg) translateY(0.35em);
transform: scaleY(0.65) rotate(90deg) translateY(0.35em);
}
.svg-cursor__action {
-webkit-animation: bounce 1s linear infinite;
animation: bounce 1s linear infinite;
}
.svg-cursor__close .svg-cursor__lines {
-webkit-transform: scale(0.8) rotate(360deg);
transform: scale(0.8) rotate(360deg);
}
.svg-cursor__close .svg-cursor__lines line {
-webkit-transform-origin: .5em .5em;
transform-origin: .5em .5em;
}
.svg-cursor__close .svg-cursor__lines line:nth-child(1) {
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.svg-cursor__close .svg-cursor__lines line:nth-child(2) {
-webkit-transform: scaleX(0) translateY(0);
transform: scaleX(0) translateY(0);
}
.svg-cursor__close .svg-cursor__lines line:nth-child(3) {
-webkit-transform: scaleY(1) rotate(-45deg) translateY(0);
transform: scaleY(1) rotate(-45deg) translateY(0);
}
@-webkit-keyframes bounce {
30% {
-webkit-transform: translate(0.5em, 0.5em);
transform: translate(0.5em, 0.5em);
}
40% {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
50% {
-webkit-transform: translate(0.25em, 0.25em);
transform: translate(0.25em, 0.25em);
}
60%,
100% {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
}
@keyframes bounce {
30% {
-webkit-transform: translate(0.5em, 0.5em);
transform: translate(0.5em, 0.5em);
}
40% {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
50% {
-webkit-transform: translate(0.25em, 0.25em);
transform: translate(0.25em, 0.25em);
}
60%,
100% {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
}
.modal {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
position: fixed;
width: 100vw;
height: 100vh;
z-index: 10;
-webkit-transform: scale(0);
transform: scale(0);
-webkit-transition: -webkit-transform 0.3s ease-in-out;
transition: -webkit-transform 0.3s ease-in-out;
transition: transform 0.3s ease-in-out;
transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}
.modal__header {
font-weight: 700;
font-size: 2em;
margin-bottom: .5em;
font-family: 'Bitter', serif;
}
.modal__content {
position: relative;
z-index: 2;
box-sizing: border-box;
padding: 2em 2.4em 2.4em;
background-color: #fafafa;
max-height: 80vh;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
}
.modal__background {
width: 100vw;
height: 100vh;
z-index: 1;
position: absolute;
left: 0;
top: 0;
background-color: rgba(0, 0, 0, 0.15);
opacity: 0;
-webkit-transition: opacity 0.6s linear;
transition: opacity 0.6s linear;
-webkit-transition-delay: 0s;
transition-delay: 0s;
}
.modal__close {
position: absolute;
top: 0;
right: 0;
-webkit-transform: translate(50%, -50%);
transform: translate(50%, -50%);
height: 2em;
}
.modal__close a {
display: inline-block;
}
.modal:target {
-webkit-transform: scale(1);
transform: scale(1);
}
.modal:target .modal__background {
opacity: 1;
-webkit-transition-delay: 0.6s;
transition-delay: 0.6s;
}
.code {
width: 100%;
max-height: 15em;
padding: .8em 1em 1em;
box-sizing: border-box;
font-family: 'Anonymous Pro';
background-color: #f0f0f0;
overflow: auto;
box-shadow: inset 0 -1em 2em -1em rgba(0, 0, 0, 0.2);
}
.code__line {
font-size: .8em;
line-height: 1.75em;
text-align: left;
}
.code__push1 {
padding-left: 1em;
}
.code__push2 {
padding-left: 2em;
}
.code__push3 {
padding-left: 3em;
}
.code__push4 {
padding-left: 4em;
}
.code__push5 {
padding-left: 5em;
}
.code__push6 {
padding-left: 6em;
}
.code__push7 {
padding-left: 7em;
}
.code__push8 {
padding-left: 8em;
}
.code__comment {
color: gray;
}