splash.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) 2014-2016, Jupyter Development Team.
  3. |
  4. | Distributed under the terms of the Modified BSD License.
  5. |----------------------------------------------------------------------------*/
  6. #jupyterlab-splash {
  7. z-index: 1000;
  8. position: absolute;
  9. overflow: hidden;
  10. width: 100%;
  11. height: 100%;
  12. background-position: center 40%;
  13. background-repeat: no-repeat;
  14. background-size: cover;
  15. background-color: white;
  16. animation: .5s fade-out 2s forwards;
  17. }
  18. #galaxy {
  19. position: relative;
  20. width: 100%;
  21. height: 100%;
  22. }
  23. #main-logo {
  24. background-image: url('./images/jupyter-favicon.svg');
  25. background-repeat: no-repeat;
  26. background-size: 100px;
  27. position: absolute;
  28. background-position: center;
  29. width: 100%;
  30. height: 100%;
  31. z-index: 1;
  32. animation: 1.5s fade-in linear forwards;
  33. }
  34. .planet {
  35. background-repeat: no-repeat;
  36. background-size: cover;
  37. animation-iteration-count: infinite;
  38. animation-name: orbit;
  39. }
  40. #moon1.orbit {
  41. opacity: 1;
  42. animation: orbit 2s ease;
  43. width: 200px;
  44. height: 140px;
  45. margin-top: -53px;
  46. margin-left: -54px;
  47. }
  48. #moon2.orbit {
  49. opacity: 1;
  50. animation: orbit 2s ease;
  51. width: 132px;
  52. height: 180px;
  53. margin-top: -66px;
  54. margin-left: -85px;
  55. }
  56. #moon3.orbit {
  57. opacity: 1;
  58. display: flex;
  59. align-items: flex-end;
  60. animation: orbit 2s ease;
  61. width: 220px;
  62. height: 166px;
  63. margin-top: -96px;
  64. margin-left: -50px;
  65. }
  66. #moon1 .planet {
  67. background-color: #6F7070;
  68. height: 12px;
  69. width: 12px;
  70. border-radius: 50%;
  71. }
  72. #moon2 .planet {
  73. background-color: #767677;
  74. height: 16px;
  75. width: 16px;
  76. border-radius: 50%;
  77. float: right;
  78. }
  79. #moon3 .planet {
  80. background-color: #989798;
  81. height: 20px;
  82. width: 20px;
  83. border-radius: 50%;
  84. }
  85. .orbit {
  86. animation-iteration-count: 1;
  87. position: absolute;
  88. top: 50%;
  89. left: 50%;
  90. border-radius: 50%;
  91. }
  92. .dot1, .dot2 {
  93. width: 60%;
  94. height: 60%;
  95. display: inline-block;
  96. position: absolute;
  97. top: 0;
  98. background-color: #333;
  99. border-radius: 100%;
  100. -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  101. animation: sk-bounce 2.0s infinite ease-in-out;
  102. }
  103. .dot2 {
  104. top: auto;
  105. bottom: 0;
  106. }
  107. @-webkit-keyframes sk-rotate { 100% { -webkit-transform: rotate(360deg) }}
  108. @keyframes sk-rotate { 100% { transform: rotate(360deg); -webkit-transform: rotate(360deg) }}
  109. @-webkit-keyframes sk-bounce {
  110. 0%, 100% { -webkit-transform: scale(0.0) }
  111. 50% { -webkit-transform: scale(1.0) }
  112. }
  113. @keyframes sk-bounce {
  114. 0%, 100% {
  115. transform: scale(0.0);
  116. -webkit-transform: scale(0.0);
  117. } 50% {
  118. transform: scale(1.0);
  119. -webkit-transform: scale(1.0);
  120. }
  121. }
  122. @keyframes orbit {
  123. 0% {
  124. transform: rotateZ(0deg);
  125. }
  126. 100% {
  127. transform: rotateZ(-720deg);
  128. }
  129. }
  130. @keyframes orbit2 {
  131. 0% {
  132. transform: rotateZ(0deg);
  133. }
  134. 100% {
  135. transform: rotateZ(720deg);
  136. }
  137. }
  138. @keyframes fade-in {
  139. 0% {
  140. opacity: 0;
  141. }
  142. 100% {
  143. opacity: 1;
  144. }
  145. }
  146. @keyframes fade-out {
  147. 0% {
  148. opacity: 1;
  149. }
  150. 100% {
  151. opacity: 0;
  152. }
  153. }