|
1 |
| -/*Main logo animation on the front page of the Jupyter website */ |
| 1 | +@import "settings/breakpoints"; |
2 | 2 |
|
3 |
| -@-webkit-keyframes fadeIn { from { opacity:0;} to { opacity:1;} } |
4 |
| -@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } } |
5 |
| -@keyframes fadeIn { from { opacity:0;} to { opacity:1;} } |
| 3 | +/*Main logo animation on the front page of the Jupyter website */ |
| 4 | +@-webkit-keyframes fadeIn { |
| 5 | + from { |
| 6 | + opacity: 0; |
| 7 | + } |
| 8 | + to { |
| 9 | + opacity: 1; |
| 10 | + } |
| 11 | +} |
| 12 | +@-moz-keyframes fadeIn { |
| 13 | + from { |
| 14 | + opacity: 0; |
| 15 | + } |
| 16 | + to { |
| 17 | + opacity: 1; |
| 18 | + } |
| 19 | +} |
| 20 | +@keyframes fadeIn { |
| 21 | + from { |
| 22 | + opacity: 0; |
| 23 | + } |
| 24 | + to { |
| 25 | + opacity: 1; |
| 26 | + } |
| 27 | +} |
6 | 28 | /*This entire section related to fading is for the front page with the Jupyter logo*/
|
7 | 29 | .fade-in {
|
8 |
| - -webkit-animation:fadeIn ease-in 1; /* call our keyframe named fadeIn, use animation ease-in and repeat it only 1 time */ |
9 |
| - -moz-animation:fadeIn ease-in 1; |
10 |
| - animation:fadeIn ease-in 1; |
| 30 | + -webkit-animation: fadeIn ease-in 1; /* call our keyframe named fadeIn, use animation ease-in and repeat it only 1 time */ |
| 31 | + -moz-animation: fadeIn ease-in 1; |
| 32 | + animation: fadeIn ease-in 1; |
11 | 33 |
|
12 |
| - -webkit-animation-duration:1s; |
13 |
| - -moz-animation-duration:1s; |
14 |
| - animation-duration:1s; |
| 34 | + -webkit-animation-duration: 1s; |
| 35 | + -moz-animation-duration: 1s; |
| 36 | + animation-duration: 1s; |
15 | 37 |
|
16 |
| - -webkit-animation-fill-mode:forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/ |
17 |
| - -moz-animation-fill-mode:forwards; |
18 |
| - animation-fill-mode:forwards; |
| 38 | + -webkit-animation-fill-mode: forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/ |
| 39 | + -moz-animation-fill-mode: forwards; |
| 40 | + animation-fill-mode: forwards; |
19 | 41 |
|
20 |
| - opacity:0; /* make things invisible upon start */ |
| 42 | + opacity: 0; /* make things invisible upon start */ |
21 | 43 | }
|
22 | 44 |
|
23 | 45 | .jumbotron {
|
24 |
| - background-color: white; |
25 |
| - margin-top:30px; |
26 |
| - overflow: hidden; |
27 |
| - @media (max-width: 768px) { |
28 |
| - margin-right: 5%; |
29 |
| - } |
30 |
| - .main-logo { |
31 |
| - height: calc(100% - 20px); |
32 |
| - margin-top: 10px; |
33 |
| - padding-left: 20px; |
34 |
| - } |
35 |
| - .fade-in.one { |
36 |
| - -webkit-animation-delay: 0.3s; |
37 |
| - -moz-animation-delay: 0.3s; |
38 |
| - animation-delay: 0.3s; |
39 |
| - } |
40 |
| - .fade-in.two { |
41 |
| - -webkit-animation-delay: 0.7s; |
42 |
| - -moz-animation-delay:0.7s; |
43 |
| - animation-delay: 0.7s; |
44 |
| - } |
45 |
| - .fade-in.three { |
46 |
| - -webkit-animation-delay: 1.1s; |
47 |
| - -moz-animation-delay: 1.1s; |
48 |
| - animation-delay: 1.1s; |
49 |
| - } |
50 |
| - .jumbotron-image-container { |
51 |
| - height: 100%; |
52 |
| - margin: 0 auto; |
53 |
| - position: absolute; |
54 |
| - text-align: center; |
55 |
| - width: 95%; |
56 |
| - img { |
57 |
| - margin: 0 auto; |
58 |
| - vertical-align: middle; |
59 |
| - } |
| 46 | + background-color: white; |
| 47 | + margin-top: 30px; |
| 48 | + overflow: hidden; |
| 49 | + @media (max-width: $breakpoint-m) { |
| 50 | + margin-right: 5%; |
| 51 | + } |
| 52 | + .main-logo { |
| 53 | + height: calc(100% - 20px); |
| 54 | + margin-top: 10px; |
| 55 | + padding-left: 20px; |
| 56 | + } |
| 57 | + .fade-in.one { |
| 58 | + -webkit-animation-delay: 0.3s; |
| 59 | + -moz-animation-delay: 0.3s; |
| 60 | + animation-delay: 0.3s; |
| 61 | + } |
| 62 | + .fade-in.two { |
| 63 | + -webkit-animation-delay: 0.7s; |
| 64 | + -moz-animation-delay: 0.7s; |
| 65 | + animation-delay: 0.7s; |
| 66 | + } |
| 67 | + .fade-in.three { |
| 68 | + -webkit-animation-delay: 1.1s; |
| 69 | + -moz-animation-delay: 1.1s; |
| 70 | + animation-delay: 1.1s; |
| 71 | + } |
| 72 | + .jumbotron-image-container { |
| 73 | + height: 100%; |
| 74 | + margin: 0 auto; |
| 75 | + position: absolute; |
| 76 | + text-align: center; |
| 77 | + width: 95%; |
| 78 | + img { |
| 79 | + margin: 0 auto; |
| 80 | + vertical-align: middle; |
60 | 81 | }
|
| 82 | + } |
61 | 83 | }
|
62 | 84 |
|
63 | 85 | .jumbotron-text {
|
64 |
| - padding-bottom: 32px; |
65 |
| - text-align: center; |
66 |
| - font-size: 18px; |
67 |
| - line-height: 1.3; |
| 86 | + padding-bottom: 32px; |
| 87 | + text-align: center; |
| 88 | + font-size: 18px; |
| 89 | + line-height: 1.3; |
68 | 90 | }
|
0 commit comments