splash.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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. }
  17. #galaxy {
  18. position: relative;
  19. width: 100%;
  20. height: 100%;
  21. }
  22. #main-logo {
  23. background-image: var(--jp-image-jupyter-favicon);
  24. background-repeat: no-repeat;
  25. background-size: 100px;
  26. position: absolute;
  27. background-position: center;
  28. width: 100%;
  29. height: 100%;
  30. z-index: 1;
  31. }
  32. .planet {
  33. background-repeat: no-repeat;
  34. background-size: cover;
  35. animation-iteration-count: infinite;
  36. animation-name: orbit;
  37. }
  38. #moon1.orbit {
  39. opacity: 1;
  40. animation: orbit 2s ease;
  41. width: 200px;
  42. height: 140px;
  43. margin-top: -53px;
  44. margin-left: -54px;
  45. }
  46. #moon2.orbit {
  47. opacity: 1;
  48. animation: orbit 2s ease;
  49. width: 132px;
  50. height: 180px;
  51. margin-top: -66px;
  52. margin-left: -85px;
  53. }
  54. #moon3.orbit {
  55. opacity: 1;
  56. display: flex;
  57. align-items: flex-end;
  58. animation: orbit 2s ease;
  59. width: 220px;
  60. height: 166px;
  61. margin-top: -96px;
  62. margin-left: -50px;
  63. }
  64. #moon1 .planet {
  65. background-color: #6F7070;
  66. height: 12px;
  67. width: 12px;
  68. border-radius: 50%;
  69. }
  70. #moon2 .planet {
  71. background-color: #767677;
  72. height: 16px;
  73. width: 16px;
  74. border-radius: 50%;
  75. float: right;
  76. }
  77. #moon3 .planet {
  78. background-color: #989798;
  79. height: 20px;
  80. width: 20px;
  81. border-radius: 50%;
  82. }
  83. .orbit {
  84. animation-iteration-count: 1;
  85. position: absolute;
  86. top: 50%;
  87. left: 50%;
  88. border-radius: 50%;
  89. }
  90. .dot1, .dot2 {
  91. width: 60%;
  92. height: 60%;
  93. display: inline-block;
  94. position: absolute;
  95. top: 0;
  96. background-color: #333;
  97. border-radius: 100%;
  98. -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  99. animation: sk-bounce 2.0s infinite ease-in-out;
  100. }
  101. .dot2 {
  102. top: auto;
  103. bottom: 0;
  104. }
  105. @-webkit-keyframes sk-rotate { 100% { -webkit-transform: rotate(360deg) }}
  106. @keyframes sk-rotate { 100% { transform: rotate(360deg); -webkit-transform: rotate(360deg) }}
  107. @-webkit-keyframes sk-bounce {
  108. 0%, 100% { -webkit-transform: scale(0.0) }
  109. 50% { -webkit-transform: scale(1.0) }
  110. }
  111. @keyframes sk-bounce {
  112. 0%, 100% {
  113. transform: scale(0.0);
  114. -webkit-transform: scale(0.0);
  115. } 50% {
  116. transform: scale(1.0);
  117. -webkit-transform: scale(1.0);
  118. }
  119. }
  120. @keyframes orbit {
  121. 0% {
  122. transform: rotateZ(0deg);
  123. }
  124. 100% {
  125. transform: rotateZ(-720deg);
  126. }
  127. }
  128. @keyframes orbit2 {
  129. 0% {
  130. transform: rotateZ(0deg);
  131. }
  132. 100% {
  133. transform: rotateZ(720deg);
  134. }
  135. }