mirror of
https://github.com/modernweb-dev/rocket.git
synced 2026-03-10 15:53:30 +00:00
315 lines
5.3 KiB
CSS
315 lines
5.3 KiB
CSS
@-moz-keyframes rocket-movement {
|
|
100% {
|
|
-moz-transform: translate(1200px, -600px);
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes rocket-movement {
|
|
100% {
|
|
-webkit-transform: translate(1200px, -600px);
|
|
}
|
|
}
|
|
|
|
@keyframes rocket-movement {
|
|
100% {
|
|
transform: translate(1200px, -600px);
|
|
}
|
|
}
|
|
|
|
@-moz-keyframes spin-earth {
|
|
100% {
|
|
-moz-transform: rotate(-360deg);
|
|
transition: transform 20s;
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes spin-earth {
|
|
100% {
|
|
-webkit-transform: rotate(-360deg);
|
|
transition: transform 20s;
|
|
}
|
|
}
|
|
|
|
@keyframes spin-earth {
|
|
100% {
|
|
-webkit-transform: rotate(-360deg);
|
|
transform: rotate(-360deg);
|
|
transition: transform 20s;
|
|
}
|
|
}
|
|
|
|
@-moz-keyframes move-astronaut {
|
|
100% {
|
|
-moz-transform: translate(-160px, -160px);
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes move-astronaut {
|
|
100% {
|
|
-webkit-transform: translate(-160px, -160px);
|
|
}
|
|
}
|
|
|
|
@keyframes move-astronaut {
|
|
100% {
|
|
-webkit-transform: translate(-160px, -160px);
|
|
transform: translate(-160px, -160px);
|
|
}
|
|
}
|
|
|
|
@-moz-keyframes rotate-astronaut {
|
|
100% {
|
|
-moz-transform: rotate(-720deg);
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes rotate-astronaut {
|
|
100% {
|
|
-webkit-transform: rotate(-720deg);
|
|
}
|
|
}
|
|
|
|
@keyframes rotate-astronaut {
|
|
100% {
|
|
-webkit-transform: rotate(-720deg);
|
|
transform: rotate(-720deg);
|
|
}
|
|
}
|
|
|
|
@-moz-keyframes glow-star {
|
|
40% {
|
|
-moz-opacity: 0.3;
|
|
}
|
|
100%,
|
|
90% {
|
|
-moz-opacity: 1;
|
|
-moz-transform: scale(1.2);
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes glow-star {
|
|
40% {
|
|
-webkit-opacity: 0.3;
|
|
}
|
|
100%,
|
|
90% {
|
|
-webkit-opacity: 1;
|
|
-webkit-transform: scale(1.2);
|
|
}
|
|
}
|
|
|
|
@keyframes glow-star {
|
|
40% {
|
|
-webkit-opacity: 0.3;
|
|
opacity: 0.3;
|
|
}
|
|
100%,
|
|
90% {
|
|
-webkit-opacity: 1;
|
|
opacity: 1;
|
|
-webkit-transform: scale(1.2);
|
|
transform: scale(1.2);
|
|
border-radius: 999999px;
|
|
}
|
|
}
|
|
|
|
.spin-earth-on-hover {
|
|
transition: ease 200s !important;
|
|
transform: rotate(-3600deg) !important;
|
|
}
|
|
|
|
body,
|
|
html {
|
|
margin: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
font-family: 'Dosis', sans-serif;
|
|
font-weight: 300;
|
|
-webkit-user-select: none;
|
|
/* Safari 3.1+ */
|
|
-moz-user-select: none;
|
|
/* Firefox 2+ */
|
|
-ms-user-select: none;
|
|
/* IE 10+ */
|
|
user-select: none;
|
|
/* Standard syntax */
|
|
}
|
|
|
|
.bg-purple {
|
|
background: url('./404/bg_purple.png');
|
|
background-repeat: repeat-x;
|
|
background-size: cover;
|
|
background-position: left top;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.btn-go-home {
|
|
position: relative;
|
|
z-index: 200;
|
|
margin: 15px auto;
|
|
width: 100px;
|
|
padding: 10px 15px;
|
|
border: 1px solid #ffcb39;
|
|
border-radius: 100px;
|
|
font-weight: 400;
|
|
display: block;
|
|
color: white;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
letter-spacing: 2px;
|
|
font-size: 11px;
|
|
|
|
-webkit-transition: all 0.3s ease-in;
|
|
-moz-transition: all 0.3s ease-in;
|
|
-ms-transition: all 0.3s ease-in;
|
|
-o-transition: all 0.3s ease-in;
|
|
transition: all 0.3s ease-in;
|
|
}
|
|
|
|
.btn-go-home:hover {
|
|
background-color: #ffcb39;
|
|
color: #fff;
|
|
transform: scale(1.05);
|
|
box-shadow: 0 20px 20px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.central-body {
|
|
/* width: 100%;*/
|
|
padding: 17% 5% 10%;
|
|
text-align: center;
|
|
}
|
|
|
|
.objects img {
|
|
z-index: 90;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.object_rocket {
|
|
z-index: 95;
|
|
position: absolute;
|
|
transform: translateX(-50px);
|
|
top: 75%;
|
|
pointer-events: none;
|
|
animation: rocket-movement 200s linear infinite both running;
|
|
width: 40px;
|
|
}
|
|
|
|
.object_earth {
|
|
position: absolute;
|
|
top: 20%;
|
|
left: 15%;
|
|
z-index: 90;
|
|
width: 100px;
|
|
/* animation: spin-earth 200s infinite linear both; */
|
|
}
|
|
|
|
.object_moon {
|
|
position: absolute;
|
|
top: 12%;
|
|
left: 25%;
|
|
width: 80px;
|
|
/*
|
|
transform: rotate(0deg);
|
|
transition: transform ease-in 99999999999s;
|
|
*/
|
|
}
|
|
|
|
.object_astronaut {
|
|
animation: rotate-astronaut 200s infinite linear both alternate;
|
|
width: 140px;
|
|
}
|
|
|
|
.box_astronaut {
|
|
z-index: 110 !important;
|
|
position: absolute;
|
|
top: 60%;
|
|
right: 20%;
|
|
will-change: transform;
|
|
animation: move-astronaut 50s infinite linear both alternate;
|
|
}
|
|
|
|
.central-body > img {
|
|
position: relative;
|
|
z-index: 100;
|
|
pointer-events: none;
|
|
width: 300px;
|
|
}
|
|
|
|
.stars {
|
|
background: url('./404/overlay_stars.svg');
|
|
background-repeat: repeat;
|
|
background-size: contain;
|
|
background-position: left top;
|
|
}
|
|
|
|
.glowing_stars .star {
|
|
position: absolute;
|
|
border-radius: 100%;
|
|
background-color: #fff;
|
|
width: 3px;
|
|
height: 3px;
|
|
opacity: 0.3;
|
|
will-change: opacity;
|
|
}
|
|
|
|
.glowing_stars .star:nth-child(1) {
|
|
top: 80%;
|
|
left: 25%;
|
|
animation: glow-star 2s infinite ease-in-out alternate 1s;
|
|
}
|
|
.glowing_stars .star:nth-child(2) {
|
|
top: 20%;
|
|
left: 40%;
|
|
animation: glow-star 2s infinite ease-in-out alternate 3s;
|
|
}
|
|
.glowing_stars .star:nth-child(3) {
|
|
top: 25%;
|
|
left: 25%;
|
|
animation: glow-star 2s infinite ease-in-out alternate 5s;
|
|
}
|
|
.glowing_stars .star:nth-child(4) {
|
|
top: 75%;
|
|
left: 80%;
|
|
animation: glow-star 2s infinite ease-in-out alternate 7s;
|
|
}
|
|
.glowing_stars .star:nth-child(5) {
|
|
top: 90%;
|
|
left: 50%;
|
|
animation: glow-star 2s infinite ease-in-out alternate 9s;
|
|
}
|
|
|
|
#copyright {
|
|
position: absolute;
|
|
bottom: 10px;
|
|
text-align: center;
|
|
width: 100%;
|
|
color: #ddd;
|
|
}
|
|
|
|
#copyright > a {
|
|
color: #ddd;
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
.navbar-links {
|
|
display: none;
|
|
}
|
|
|
|
.custom-navbar {
|
|
text-align: center;
|
|
}
|
|
|
|
.brand-logo img {
|
|
width: 120px;
|
|
}
|
|
|
|
.box_astronaut {
|
|
top: 70%;
|
|
}
|
|
|
|
.central-body {
|
|
padding-top: 25%;
|
|
}
|
|
}
|