html,
|
|
body,
|
|
article {
|
|
font-family: 'Geostar Fill', sans-serif;
|
|
background-color: #000082;
|
|
}
|
|
|
|
.glitch {
|
|
position: relative;
|
|
line-height: 1;
|
|
font-weight: 700;
|
|
-webkit-transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
text-decoration: none;
|
|
color: #fff;
|
|
width: 115%;
|
|
}
|
|
|
|
.glitch::before,
|
|
.glitch::after {
|
|
display: block;
|
|
content: '/n(j)uː/ tokyo';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
opacity: .8;
|
|
}
|
|
|
|
.glitch::after {
|
|
color: #f0f;
|
|
z-index: -2;
|
|
}
|
|
|
|
.glitch::before {
|
|
color: #0ff;
|
|
z-index: -1;
|
|
}
|
|
|
|
.glitch:not(:hover)::before {
|
|
-webkit-animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
|
|
animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
|
|
}
|
|
|
|
.glitch:not(:hover)::after {
|
|
-webkit-animation: glitch 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
|
|
animation: glitch 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
|
|
}
|
|
|
|
@-webkit-keyframes glitch {
|
|
0% {
|
|
-webkit-transform: translate(0);
|
|
transform: translate(0);
|
|
}
|
|
20% {
|
|
-webkit-transform: translate(-5px, 5px);
|
|
transform: translate(-5px, 5px);
|
|
}
|
|
40% {
|
|
-webkit-transform: translate(-5px, -5px);
|
|
transform: translate(-5px, -5px);
|
|
}
|
|
60% {
|
|
-webkit-transform: translate(5px, 5px);
|
|
transform: translate(5px, 5px);
|
|
}
|
|
80% {
|
|
-webkit-transform: translate(5px, -5px);
|
|
transform: translate(5px, -5px);
|
|
}
|
|
to {
|
|
-webkit-transform: translate(0);
|
|
transform: translate(0);
|
|
}
|
|
}
|
|
|
|
@keyframes glitch {
|
|
0% {
|
|
-webkit-transform: translate(0);
|
|
transform: translate(0);
|
|
}
|
|
20% {
|
|
-webkit-transform: translate(-5px, 5px);
|
|
transform: translate(-5px, 5px);
|
|
}
|
|
40% {
|
|
-webkit-transform: translate(-5px, -5px);
|
|
transform: translate(-5px, -5px);
|
|
}
|
|
60% {
|
|
-webkit-transform: translate(5px, 5px);
|
|
transform: translate(5px, 5px);
|
|
}
|
|
80% {
|
|
-webkit-transform: translate(5px, -5px);
|
|
transform: translate(5px, -5px);
|
|
}
|
|
to {
|
|
-webkit-transform: translate(0);
|
|
transform: translate(0);
|
|
}
|
|
}
|
|
|
|
article {
|
|
font-size: 28px;
|
|
color: #fff;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background-image: url(skyline.png);
|
|
background-position: 50% 0;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
dt {
|
|
cursor: default;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
dd::before {
|
|
content: "*";
|
|
opacity: 0;
|
|
color: #349EFF;
|
|
}
|
|
|
|
dd:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
article a {
|
|
color: inherit;
|
|
}
|