|
1 | 1 | .jupyterlite_sphinx_raw_iframe { |
2 | | - border-width: 1px; |
3 | | - border-style: solid; |
4 | | - border-color: #d8d8d8; |
5 | | - box-shadow: 0 0.2rem 0.5rem #d8d8d8; |
| 2 | + border-width: 1px; |
| 3 | + border-style: solid; |
| 4 | + border-color: #d8d8d8; |
| 5 | + box-shadow: 0 0.2rem 0.5rem #d8d8d8; |
6 | 6 | } |
7 | 7 |
|
8 | 8 | .jupyterlite_sphinx_iframe_container { |
9 | | - border-width: 1px; |
10 | | - border-style: solid; |
11 | | - border-color: #d8d8d8; |
12 | | - position: relative; |
13 | | - cursor: pointer; |
14 | | - box-shadow: 0 0.2rem 0.5rem #d8d8d8; |
| 9 | + border-width: 1px; |
| 10 | + border-style: solid; |
| 11 | + border-color: #d8d8d8; |
| 12 | + position: relative; |
| 13 | + cursor: pointer; |
| 14 | + box-shadow: 0 0.2rem 0.5rem #d8d8d8; |
15 | 15 | } |
16 | 16 |
|
17 | 17 | .jupyterlite_sphinx_iframe { |
18 | | - z-index: 1; |
19 | | - position: relative; |
20 | | - border-style: none; |
| 18 | + z-index: 1; |
| 19 | + position: relative; |
| 20 | + border-style: none; |
21 | 21 | } |
22 | 22 |
|
23 | 23 | .jupyterlite_sphinx_try_it_button { |
24 | | - z-index: 0; |
25 | | - position: absolute; |
26 | | - left: 50%; |
27 | | - top: 50%; |
28 | | - transform: translateY(-50%) translateX(-50%); |
29 | | - height: 100px; |
30 | | - width: 100px; |
31 | | - line-height: 100px; |
32 | | - text-align: center; |
33 | | - white-space: nowrap; |
34 | | - background-color: #f7dc1e; |
35 | | - border-radius: 50%; |
36 | | - font-family: vibur; |
37 | | - font-size: larger; |
38 | | - box-shadow: 0 0.2rem 0.5rem #d8d8d8; |
| 24 | + z-index: 0; |
| 25 | + position: absolute; |
| 26 | + left: 50%; |
| 27 | + top: 50%; |
| 28 | + transform: translateY(-50%) translateX(-50%); |
| 29 | + height: 100px; |
| 30 | + width: 100px; |
| 31 | + line-height: 100px; |
| 32 | + text-align: center; |
| 33 | + white-space: nowrap; |
| 34 | + background-color: #f7dc1e; |
| 35 | + border-radius: 50%; |
| 36 | + font-family: vibur; |
| 37 | + font-size: larger; |
| 38 | + box-shadow: 0 0.2rem 0.5rem #d8d8d8; |
39 | 39 | } |
40 | 40 |
|
41 | 41 | .try_examples_outer_container { |
42 | | - position: relative; |
| 42 | + position: relative; |
43 | 43 | } |
44 | 44 |
|
45 | 45 | .hidden { |
46 | | - display: none; |
| 46 | + display: none; |
47 | 47 | } |
48 | 48 |
|
49 | 49 | .jupyterlite_sphinx_spinner { |
50 | | - /* From https://css-loaders.com/spinner/ */ |
51 | | - position: absolute; |
52 | | - z-index: 0; |
53 | | - top: 50%; |
54 | | - left: 50%; |
55 | | - width: 50px; |
56 | | - aspect-ratio: 1; |
57 | | - border-radius: 50%; |
58 | | - background: |
59 | | - radial-gradient(farthest-side,#ffa516 94%,#0000) top/8px 8px no-repeat, |
60 | | - conic-gradient(#0000 30%,#ffa516); |
61 | | - -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0); |
62 | | - animation: l13 1s infinite linear; |
| 50 | + /* From https://css-loaders.com/spinner/ */ |
| 51 | + position: absolute; |
| 52 | + z-index: 0; |
| 53 | + top: 50%; |
| 54 | + left: 50%; |
| 55 | + width: 50px; |
| 56 | + aspect-ratio: 1; |
| 57 | + border-radius: 50%; |
| 58 | + background: |
| 59 | + radial-gradient(farthest-side, #ffa516 94%, #0000) top/8px 8px no-repeat, |
| 60 | + conic-gradient(#0000 30%, #ffa516); |
| 61 | + -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0); |
| 62 | + animation: l13 1s infinite linear; |
63 | 63 | } |
64 | | -@keyframes l13{ |
65 | | - 100%{transform: rotate(1turn)} |
| 64 | +@keyframes l13 { |
| 65 | + 100% { |
| 66 | + transform: rotate(1turn); |
| 67 | + } |
66 | 68 | } |
67 | 69 |
|
68 | | - |
69 | | - |
70 | 70 | /* we do not want the button to show on smaller screens (phones), as clicking |
71 | 71 | * can download a lot of data. 480px is a commonly used breakpoint to identify if a device is a smartphone. */ |
72 | 72 |
|
|
0 commit comments