You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
174 lines
4.9 KiB
CSS
174 lines
4.9 KiB
CSS
body{
|
|
font-family: "Lucida Console", Monaco, monospace;
|
|
background-color: black !important;
|
|
background: radial-gradient(15px 5px at 25% 0, transparent 0%, transparent 80%, rgba(255, 255, 255, 0.06) 80%, rgba(255, 255, 255, 0.06) 99%, transparent 99%, transparent 100%),
|
|
radial-gradient(15px 5px at 75% 100%, transparent 0%, transparent 80%, rgba(255, 255, 255, 0.06) 80%, rgba(255, 255, 255, 0.06) 99%, transparent 99%, transparent 100%),
|
|
radial-gradient(10px 3px at 25% 0, transparent 0%, transparent 70%, rgba(255, 255, 255, 0.05) 70%, rgba(255, 255, 255, 0.05) 99%, transparent 99%, transparent 100%),
|
|
radial-gradient(10px 3px at 75% 100%, transparent 0%, transparent 70%, rgba(255, 255, 255, 0.05) 70%, rgba(255, 255, 255, 0.05) 99%, transparent 99%, transparent 100%),
|
|
radial-gradient(30px 8px at 25% 0, transparent 0%, transparent 55%, rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0.02) 99%, transparent 99%, transparent 100%),
|
|
radial-gradient(30px 8px at 75% 100%, transparent 0%, transparent 55%, rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0.02) 99%, transparent 99%, transparent 100%), #c4cbc3;
|
|
background-size: 60px 40px, 60px 40px, 40px 24px, 40px 24px, 120px 64px, 120px 64px;
|
|
/*background-position: 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%;*/
|
|
-webkit-animation: wave 5s linear infinite;
|
|
animation: wave 5s linear infinite;
|
|
}
|
|
|
|
@-webkit-keyframes wave {
|
|
0% {
|
|
background-position: 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%;
|
|
}
|
|
20% {
|
|
background-position: 51% 48%, 51% 48%, 53% 52%, 53% 52%, 48% 47%, 48% 47%;
|
|
}
|
|
40% {
|
|
background-position: 49% 51%, 49% 51%, 48% 51%, 48% 51%, 54% 50%, 54% 50%;
|
|
}
|
|
60% {
|
|
background-position: 53% 54%, 53% 54%, 46% 54%, 46% 54%, 53% 46%, 53% 46%;
|
|
}
|
|
80% {
|
|
background-position: 51% 52%, 51% 52%, 49% 49%, 49% 49%, 49% 48%, 49% 48%;
|
|
}
|
|
0% {
|
|
background-position: 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%;
|
|
}
|
|
}
|
|
|
|
@keyframes wave {
|
|
0% {
|
|
background-position: 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%;
|
|
}
|
|
20% {
|
|
background-position: 51% 48%, 51% 48%, 53% 52%, 53% 52%, 48% 47%, 48% 47%;
|
|
}
|
|
40% {
|
|
background-position: 49% 51%, 49% 51%, 48% 51%, 48% 51%, 54% 50%, 54% 50%;
|
|
}
|
|
60% {
|
|
background-position: 53% 54%, 53% 54%, 46% 54%, 46% 54%, 53% 46%, 53% 46%;
|
|
}
|
|
80% {
|
|
background-position: 51% 52%, 51% 52%, 49% 49%, 49% 49%, 49% 48%, 49% 48%;
|
|
}
|
|
0% {
|
|
background-position: 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%;
|
|
}
|
|
}
|
|
|
|
.sprite {
|
|
transform: scale(0.5);
|
|
position: absolute;
|
|
left: 1045px;
|
|
top: 417px;
|
|
width: 102px;
|
|
height: 148px;
|
|
margin-top: 40px;
|
|
z-index: 101;
|
|
}
|
|
|
|
.sprite-d {
|
|
transform: scale(1.5);
|
|
position: absolute;
|
|
left: 1045px;
|
|
top: 417px;
|
|
width: 53px;
|
|
height: 33px;
|
|
margin-top: 40px;
|
|
z-index: 101;
|
|
|
|
}
|
|
|
|
.right {
|
|
background-image: url(../media/imgs/standing-right.png);
|
|
}
|
|
|
|
.walk-right {
|
|
background-image: url(../media/imgs/walk-right.png);
|
|
-webkit-animation: walk .7s steps(6) infinite;
|
|
-moz-animation: walk .7s steps(6) infinite;
|
|
-ms-animation: walk .7s steps(6) infinite;
|
|
-o-animation: walk .7s steps(6) infinite;
|
|
animation: walk .7s steps(6) infinite;
|
|
}
|
|
|
|
|
|
@-webkit-keyframes walk {
|
|
from { background-position: 0px; }
|
|
to { background-position: -612px; }
|
|
}
|
|
@-moz-keyframes walk {
|
|
from { background-position: 0px; }
|
|
to { background-position: -612px; }
|
|
}
|
|
@-ms-keyframes walk {
|
|
from { background-position: 0px; }
|
|
to { background-position: -612px; }
|
|
}
|
|
@-o-keyframes walk {
|
|
from { background-position: 0px; }
|
|
to { background-position: -612px; }
|
|
}
|
|
|
|
@-keyframes walk {
|
|
from { background-position: 0px; }
|
|
to { background-position: -612px; }
|
|
}
|
|
|
|
.right-d {
|
|
background-image: url(../img/dw.png) !important;
|
|
}
|
|
|
|
.walk-right-d {
|
|
background-image: url(../img/dw.png) !important;
|
|
-webkit-animation: walkd .9s steps(10) infinite !important;
|
|
-moz-animation: walkd .9s steps(10) infinite !important;
|
|
-ms-animation: walkd .9s steps(10) infinite !important;
|
|
-o-animation: walkd .9s steps(10) infinite !important;
|
|
animation: walkd .9s steps(10) infinite !important;
|
|
}
|
|
|
|
|
|
@-webkit-keyframes walkd {
|
|
from { background-position-y: 0px; }
|
|
to { background-position-y: -340px; }
|
|
}
|
|
@-moz-keyframes walkd {
|
|
from { background-position-y: 0px; }
|
|
to { background-position-y: -340px; }
|
|
}
|
|
@-ms-keyframes walkd {
|
|
from { background-position-y: 0px; }
|
|
to { background-position-y: -340px; }
|
|
}
|
|
@-o-keyframes walkd {
|
|
from { background-position-y: 0px; }
|
|
to { background-position-y: -340px; }
|
|
}
|
|
|
|
@-keyframes walkd {
|
|
from { background-position-y: 0px; }
|
|
to { background-position-y: -340px; }
|
|
}
|
|
|
|
#sea {position: relative; width: 100%, height:100vh;}
|
|
|
|
.txt {color: white;
|
|
position: absolute;}
|
|
|
|
#t1{ top: 287px;
|
|
left: 70px;
|
|
width: 690px;
|
|
color: #00db00;
|
|
z-index: 101;
|
|
}
|
|
|
|
#t2{ left: 1009px;
|
|
top: 453px;
|
|
z-index: 101;
|
|
width: 80px;
|
|
font-size: 17px;
|
|
background: yellow;
|
|
text-align: center;
|
|
padding: 3px;
|
|
}
|