Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.39 KB | None | 0 0
  1.  
  2. @import url('https://fonts.googleapis.com/css?family=Dosis:300,400,500');
  3.  
  4. @-moz-keyframes rocket-movement { 100% {-moz-transform: translate(1200px,-600px);} }
  5. @-webkit-keyframes rocket-movement {100% {-webkit-transform: translate(1200px,-600px); } }
  6. @keyframes rocket-movement { 100% {transform: translate(1200px,-600px);} }
  7. @-moz-keyframes spin-earth { 100% { -moz-transform: rotate(-360deg); transition: transform 20s;  } }
  8. @-webkit-keyframes spin-earth { 100% { -webkit-transform: rotate(-360deg); transition: transform 20s;  } }
  9. @keyframes spin-earth{ 100% { -webkit-transform: rotate(-360deg); transform:rotate(-360deg); transition: transform 20s; } }
  10.  
  11. @-moz-keyframes move-astronaut {
  12.     100% { -moz-transform: translate(-160px, -160px);}
  13. }
  14. @-webkit-keyframes move-astronaut {
  15.     100% { -webkit-transform: translate(-160px, -160px);}
  16. }
  17. @keyframes move-astronaut{
  18.     100% { -webkit-transform: translate(-160px, -160px); transform:translate(-160px, -160px); }
  19. }
  20. @-moz-keyframes rotate-astronaut {
  21.     100% { -moz-transform: rotate(-720deg);}
  22. }
  23. @-webkit-keyframes rotate-astronaut {
  24.     100% { -webkit-transform: rotate(-720deg);}
  25. }
  26. @keyframes rotate-astronaut{
  27.     100% { -webkit-transform: rotate(-720deg); transform:rotate(-720deg); }
  28. }
  29.  
  30. @-moz-keyframes glow-star {
  31.     40% { -moz-opacity: 0.3;}
  32.     90%,100% { -moz-opacity: 1; -moz-transform: scale(1.2);}
  33. }
  34. @-webkit-keyframes glow-star {
  35.     40% { -webkit-opacity: 0.3;}
  36.     90%,100% { -webkit-opacity: 1; -webkit-transform: scale(1.2);}
  37. }
  38. @keyframes glow-star{
  39.     40% { -webkit-opacity: 0.3; opacity: 0.3;  }
  40.     90%,100% { -webkit-opacity: 1; opacity: 1; -webkit-transform: scale(1.2); transform: scale(1.2); border-radius: 999999px;}
  41. }
  42.  
  43. .spin-earth-on-hover{
  44.    
  45.     transition: ease 200s !important;
  46.     transform: rotate(-3600deg) !important;
  47. }
  48.  
  49. html, body{
  50.     margin: 0;
  51.     width: 100%;
  52.     height: 100%;
  53.     font-family: 'Dosis', sans-serif;
  54.     font-weight: 300;
  55.     -webkit-user-select: none;
  56.     -moz-user-select: none;
  57.     -ms-user-select: none;
  58.     user-select: none;
  59. }
  60.  
  61. .bg-purple{
  62.     background: url(http://salehriaz.com/404Page/img/bg_purple.png);
  63.     background-repeat: repeat-x;
  64.     background-size: cover;
  65.     background-position: left top;
  66.     height: 100%;
  67.     overflow: hidden;
  68.    
  69. }
  70.  
  71. .custom-navbar{
  72.     padding-top: 15px;
  73. }
  74.  
  75. .brand-logo{
  76.     margin-left: 25px;
  77.     margin-top: 5px;
  78.     display: inline-block;
  79. }
  80.  
  81. .navbar-links{
  82.     display: inline-block;
  83.     float: right;
  84.     margin-right: 15px;
  85.     text-transform: uppercase;
  86.    
  87.    
  88. }
  89.  
  90. ul {
  91.     list-style-type: none;
  92.     margin: 0;
  93.     padding: 0;
  94. /*    overflow: hidden;*/
  95.     display: flex;
  96.     align-items: center;
  97. }
  98.  
  99. li {
  100.     float: left;
  101.     padding: 0px 15px;
  102. }
  103.  
  104. li a {
  105.     display: block;
  106.     color: white;
  107.     text-align: center;
  108.     text-decoration: none;
  109.     letter-spacing : 2px;
  110.     font-size: 12px;
  111.    
  112.     -webkit-transition: all 0.3s ease-in;
  113.     -moz-transition: all 0.3s ease-in;
  114.     -ms-transition: all 0.3s ease-in;
  115.     -o-transition: all 0.3s ease-in;
  116.     transition: all 0.3s ease-in;
  117. }
  118.  
  119. li a:hover {
  120.     color: #ffcb39;
  121. }
  122.  
  123. .btn-request{
  124.     padding: 10px 25px;
  125.     border: 1px solid #FFCB39;
  126.     border-radius: 100px;
  127.     font-weight: 400;
  128. }
  129.  
  130. .btn-request:hover{
  131.     background-color: #FFCB39;
  132.     color: #fff;
  133.     transform: scale(1.05);
  134.     box-shadow: 0px 20px 20px rgba(0,0,0,0.1);
  135. }
  136.  
  137. .btn-go-home{
  138.     position: relative;
  139.     z-index: 200;
  140.     margin: 15px auto;
  141.     width: 100px;
  142.     padding: 10px 15px;
  143.     border: 1px solid #FFCB39;
  144.     border-radius: 100px;
  145.     font-weight: 400;
  146.     display: block;
  147.     color: white;
  148.     text-align: center;
  149.     text-decoration: none;
  150.     letter-spacing : 2px;
  151.     font-size: 11px;
  152.    
  153.     -webkit-transition: all 0.3s ease-in;
  154.     -moz-transition: all 0.3s ease-in;
  155.     -ms-transition: all 0.3s ease-in;
  156.     -o-transition: all 0.3s ease-in;
  157.     transition: all 0.3s ease-in;
  158. }
  159.  
  160. .btn-go-home:hover{
  161.     background-color: #FFCB39;
  162.     color: #fff;
  163.     transform: scale(1.05);
  164.     box-shadow: 0px 20px 20px rgba(0,0,0,0.1);
  165. }
  166.  
  167. .central-body{
  168. /*    width: 100%;*/
  169.     padding: 17% 5% 10% 5%;
  170.     text-align: center;
  171. }
  172.  
  173. .objects img{
  174.     z-index: 90;
  175.     pointer-events: none;
  176. }
  177.  
  178. .object_rocket{
  179.     z-index: 95;
  180.     position: absolute;
  181.     transform: translateX(-50px);
  182.     top: 75%;
  183.     pointer-events: none;
  184.     animation: rocket-movement 200s linear infinite both running;
  185. }
  186.  
  187. .object_earth{
  188.     position: absolute;
  189.     top: 20%;
  190.     left: 15%;
  191.     z-index: 90;
  192. }
  193.  
  194. .object_moon{
  195.     position: absolute;
  196.     top: 12%;
  197.     left: 25%;
  198.  
  199. }
  200.  
  201. .earth-moon{
  202.    
  203. }
  204.  
  205. .object_astronaut{
  206.     animation: rotate-astronaut 200s infinite linear both alternate;
  207. }
  208.  
  209. .box_astronaut{
  210.     z-index: 110 !important;
  211.     position: absolute;
  212.     top: 60%;
  213.     right: 20%;
  214.     will-change: transform;
  215.     animation: move-astronaut 50s infinite linear both alternate;
  216. }
  217.  
  218. .image-404{
  219.     position: relative;
  220.     z-index: 100;
  221.     pointer-events: none;
  222. }
  223.  
  224. .stars{
  225.     background: url(http://salehriaz.com/404Page/img/overlay_stars.svg);
  226.     background-repeat: repeat;
  227.     background-size: contain;
  228.     background-position: left top;
  229. }
  230.  
  231. .glowing_stars .star{
  232.     position: absolute;
  233.     border-radius: 100%;
  234.     background-color: #fff;
  235.     width: 3px;
  236.     height: 3px;
  237.     opacity: 0.3;
  238.     will-change: opacity;
  239. }
  240.  
  241. .glowing_stars .star:nth-child(1){
  242.     top: 80%;
  243.     left: 25%;
  244.     animation: glow-star 2s infinite ease-in-out alternate 1s;
  245. }
  246. .glowing_stars .star:nth-child(2){
  247.     top: 20%;
  248.     left: 40%;
  249.     animation: glow-star 2s infinite ease-in-out alternate 3s;
  250. }
  251. .glowing_stars .star:nth-child(3){
  252.     top: 25%;
  253.     left: 25%;
  254.     animation: glow-star 2s infinite ease-in-out alternate 5s;
  255. }
  256. .glowing_stars .star:nth-child(4){
  257.     top: 75%;
  258.     left: 80%;
  259.     animation: glow-star 2s infinite ease-in-out alternate 7s;
  260. }
  261. .glowing_stars .star:nth-child(5){
  262.     top: 90%;
  263.     left: 50%;
  264.     animation: glow-star 2s infinite ease-in-out alternate 9s;
  265. }
  266.  
  267. @media only screen and (max-width: 600px){
  268.     .navbar-links{
  269.         display: none;
  270.     }
  271.    
  272.     .custom-navbar{
  273.         text-align: center;
  274.     }
  275.    
  276.     .brand-logo img{
  277.         width: 120px;
  278.     }
  279.    
  280.     .box_astronaut{
  281.         top: 70%;
  282.     }
  283.    
  284.     .central-body{
  285.         padding-top: 25%;
  286.     }
  287. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement