splash.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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: 10;
  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. }
  17. .splash-fade {
  18. animation: .5s fade-out forwards;
  19. }
  20. #galaxy {
  21. position: relative;
  22. width: 100%;
  23. height: 100%;
  24. }
  25. #main-logo {
  26. background-image: url('./images/jupyter-favicon.svg');
  27. background-repeat: no-repeat;
  28. background-size: 100px;
  29. position: absolute;
  30. background-position: center;
  31. width: 100%;
  32. height: 100%;
  33. z-index: 1;
  34. animation: .3s fade-in linear forwards;
  35. }
  36. .planet {
  37. background-repeat: no-repeat;
  38. background-size: cover;
  39. animation-iteration-count: infinite;
  40. animation-name: orbit;
  41. }
  42. #moon1.orbit {
  43. opacity: 1;
  44. animation: orbit 2s ease;
  45. width: 200px;
  46. height: 140px;
  47. margin-top: -53px;
  48. margin-left: -54px;
  49. }
  50. #moon2.orbit {
  51. opacity: 1;
  52. animation: orbit 2s ease;
  53. width: 132px;
  54. height: 180px;
  55. margin-top: -66px;
  56. margin-left: -85px;
  57. }
  58. #moon3.orbit {
  59. opacity: 1;
  60. display: flex;
  61. align-items: flex-end;
  62. animation: orbit 2s ease;
  63. width: 220px;
  64. height: 166px;
  65. margin-top: -96px;
  66. margin-left: -50px;
  67. }
  68. #moon1 .planet {
  69. background-color: #6F7070;
  70. height: 12px;
  71. width: 12px;
  72. border-radius: 50%;
  73. }
  74. #moon2 .planet {
  75. background-color: #767677;
  76. height: 16px;
  77. width: 16px;
  78. border-radius: 50%;
  79. float: right;
  80. }
  81. #moon3 .planet {
  82. background-color: #989798;
  83. height: 20px;
  84. width: 20px;
  85. border-radius: 50%;
  86. }
  87. .orbit {
  88. animation-iteration-count: 1;
  89. position: absolute;
  90. top: 50%;
  91. left: 50%;
  92. border-radius: 50%;
  93. }
  94. .dot1, .dot2 {
  95. width: 60%;
  96. height: 60%;
  97. display: inline-block;
  98. position: absolute;
  99. top: 0;
  100. background-color: #333;
  101. border-radius: 100%;
  102. -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  103. animation: sk-bounce 2.0s infinite ease-in-out;
  104. }
  105. .dot2 {
  106. top: auto;
  107. bottom: 0;
  108. }
  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. }