index.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) Jupyter Development Team.
  3. | Distributed under the terms of the Modified BSD License.
  4. |----------------------------------------------------------------------------*/
  5. #about {
  6. position: absolute;
  7. top: 0;
  8. left: 0;
  9. width: 100%;
  10. height: 100%;
  11. outline: none;
  12. overflow-y: auto;
  13. scroll-snap-points-y: repeat(100%);
  14. scroll-snap-type: mandatory;
  15. scroll-snap-destination: 100% 0%;
  16. font-family: var(--jp-ui-font-family);
  17. text-align: center;
  18. }
  19. #about .jp-About-section {
  20. position: relative;
  21. top: 0;
  22. left: 0;
  23. width: 100%;
  24. height: 100%;
  25. display: table;
  26. }
  27. #about .jp-About-sectioncenter {
  28. display: table-cell;
  29. vertical-align: middle;
  30. }
  31. #about .jp-About-container {
  32. position: relative;
  33. width: 100%;
  34. max-width: 880px;
  35. margin: 0 auto;
  36. padding: 0 20px;
  37. box-sizing: border-box;
  38. }
  39. #about .jp-About-column,
  40. #about .jp-About-columns {
  41. width: 100%;
  42. margin: 0 auto;
  43. float: none;
  44. box-sizing: border-box;
  45. }
  46. /* For devices larger than 400px */
  47. @media (min-width: 400px) {
  48. #about .jp-About-container {
  49. width: 85%;
  50. padding: 0;
  51. }
  52. }
  53. /* For devices larger than 550px */
  54. @media (min-width: 550px) {
  55. #about .jp-About-container {
  56. width: 80%;
  57. }
  58. #about .jp-About-column,
  59. #about .jp-About-columns {
  60. margin-left: 4%;
  61. }
  62. #about .jp-About-column:first-child,
  63. #about .jp-About-columns:first-child {
  64. margin-left: 0;
  65. }
  66. #about .jp-About-one-half.jp-About-column {
  67. width: 48%;
  68. }
  69. }
  70. #about * {
  71. -webkit-box-sizing: border-box;
  72. -moz-box-sizing: border-box;
  73. -ms-box-sizing: border-box;
  74. box-sizing: border-box;
  75. }
  76. #about .jp-About-row {
  77. width: 100%;
  78. display: flex;
  79. flex-wrap: wrap;
  80. }
  81. #about .jp-About-header {
  82. font-size: 26px;
  83. font-weight: 300;
  84. color: #333333;
  85. padding-left: 10px;
  86. padding-right: 10px;
  87. margin: 10px 0;
  88. }
  89. #about .jp-About-desc-one {
  90. font-size: 13px;
  91. color: #555555;
  92. line-height: 20px;
  93. padding-left: 15px;
  94. padding-right: 15px;
  95. }
  96. #about .jp-About-desc-two {
  97. font-size: 13px;
  98. color: #555555;
  99. padding-left: 50px;
  100. padding-right: 50px;
  101. margin-top: 0px;
  102. }
  103. #about .jp-About-desc-two-header {
  104. color: #333333;
  105. font-size: 20px;
  106. margin-bottom: 9px;
  107. margin-top: 9px;
  108. }
  109. #about .jp-About-row img {
  110. margin-top: 20px
  111. }
  112. #about .jp-About-header.jp-About-content img {
  113. vertical-align: middle;
  114. padding-right: 30px;
  115. }
  116. #about .jp-About-header.jp-About-content {
  117. vertical-align: middle;
  118. line-height: 20px;
  119. }
  120. #about .jp-About-content-desc {
  121. font-family: var(--jp-code-font-family);
  122. font-size: 13px;
  123. max-width: 550px;
  124. margin: 0 auto;
  125. float: none;
  126. color: #555555;
  127. line-height: 20px;
  128. padding-bottom: 8px;
  129. }
  130. #about .jp-About-content-desc ul {
  131. text-align: left;
  132. margin-left: 92px;
  133. float: none;
  134. }
  135. #about .jp-About-desc-two-header {
  136. padding: 15px 0 10px 0;
  137. }
  138. #about .jp-About-desc-one p {
  139. max-width: 740px;
  140. margin: 0 auto;
  141. float: none;
  142. }
  143. #about .jp-About-column .jp-About-desc-two-header a {
  144. color: #555555;
  145. text-decoration: none;
  146. }
  147. #about .jp-About-desc-two-header:hover a{
  148. color: #e46e2e;
  149. }
  150. #about .jp-About-nav-button {
  151. display: block;
  152. position: relative;
  153. margin: auto;
  154. width: 28px;
  155. height: 17px;
  156. overflow: hidden;
  157. margin-top: 35px;
  158. margin-bottom: 10px;
  159. background-image: url(images/next-arrow-sprite.svg);
  160. background-size: 100%;
  161. background-position: top;
  162. -webkit-animation: navbtn-anim ease 4s infinite;
  163. animation: navbtn-anim ease 4s infinite;
  164. -webkit-transition: all 300ms ease;
  165. transition: all 300ms ease;
  166. }
  167. #about .jp-About-nav-button:hover {
  168. background-position: bottom;
  169. }
  170. @keyframes navbtn-anim {
  171. 0% { transform: translate(0px,0px); }
  172. 50% { transform: translate(0px,20px); }
  173. 100% { transform: translate(0px,0px); }
  174. }
  175. @-webkit-keyframes navbtn-anim {
  176. 0% { transform: translate(0px,0px); }
  177. 50% { transform: translate(0px,20px); }
  178. 100% { transform: translate(0px,0px); }
  179. }
  180. #about a, #about a:visited {
  181. font-weight: 500;
  182. color: #e46e2e;
  183. text-decoration: none;
  184. -webkit-transition: all 200ms ease-out;
  185. transition: all 200ms ease-out;
  186. }
  187. #about a:hover, #about a:active {
  188. color: #ad4b16;
  189. text-decoration: underline;
  190. }
  191. /* * * IMAGES * * */
  192. #about .jp-img {
  193. display: block;
  194. background-position: center;
  195. background-repeat: no-repeat;
  196. background-size: contain;
  197. }
  198. #about .jp-About-logo {
  199. background-image: url(images/logo.svg);
  200. width: 234px;
  201. height: 51px;
  202. margin: 20px auto 0 auto;
  203. }
  204. #about .jp-About-hero-mainarea {
  205. display: inline-block;
  206. background-image: url(images/main-area.svg);
  207. width: 40px;
  208. height: 40px;
  209. margin: 0 30px;
  210. vertical-align: middle;
  211. }
  212. #about .jp-About-hero-command {
  213. display: inline-block;
  214. background-image: url(images/command.svg);
  215. width: 40px;
  216. height: 40px;
  217. margin: 0 30px;
  218. vertical-align: middle;
  219. }
  220. #about .jp-About-hero-filebrowser {
  221. display: inline-block;
  222. background-image: url(images/file-browser.svg);
  223. width: 60px;
  224. height: 40px;
  225. margin: 0 30px;
  226. vertical-align: middle;
  227. }
  228. #about .jp-About-hero-notebook {
  229. display: inline-block;
  230. background-image: url(images/jl-About-hero-nb.svg);
  231. width: 31px;
  232. height: 40px;
  233. margin: 0 30px;
  234. vertical-align: middle;
  235. }
  236. #about .jp-About-nb {
  237. background-image: url(images/jl-About-nb.svg);
  238. display: block;
  239. background-size: contain;
  240. margin: 0 0 35px 0;
  241. height: 38vh;
  242. }
  243. #about .jp-About-mainarea {
  244. background-image: url(images/jl-About-ma.gif);
  245. display: inline-block;
  246. margin: 0 0 35px 0;
  247. max-height: 390px;
  248. height: 325px;
  249. width: 650px;
  250. }
  251. #about .jp-About-fb {
  252. background-image: url(images/jl-About-fb.gif);
  253. display: inline-block;
  254. margin: 0 0 35px 0;
  255. max-height: 390px;
  256. height: 325px;
  257. width: 650px;
  258. }
  259. #about .jp-About-command {
  260. background-image: url(images/jl-About-cp.gif);
  261. display: inline-block;
  262. margin: 0 0 35px 0;
  263. max-height: 390px;
  264. height: 325px;
  265. width: 650px;
  266. }