Skip to content

Commit 3df612c

Browse files
committed
Run pre-commit on all files in this repository.
This should only reformat JS and css files. I've requested precommit-ci to be insalled on the JupyterLIght org, but do not have enough permission to allow it. One it is done and configured, it will automatically update PRs by autoformatting, so a first pass to autoformat everything is good to not have noise in later PRs.
1 parent 2cebe7d commit 3df612c

File tree

2 files changed

+175
-167
lines changed

2 files changed

+175
-167
lines changed

jupyterlite_sphinx/jupyterlite_sphinx.css

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,72 @@
11
.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;
66
}
77

88
.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;
1515
}
1616

1717
.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;
2121
}
2222

2323
.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;
3939
}
4040

4141
.try_examples_outer_container {
42-
position: relative;
42+
position: relative;
4343
}
4444

4545
.hidden {
46-
display: none;
46+
display: none;
4747
}
4848

4949
.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;
6363
}
64-
@keyframes l13{
65-
100%{transform: rotate(1turn)}
64+
@keyframes l13 {
65+
100% {
66+
transform: rotate(1turn);
67+
}
6668
}
6769

68-
69-
7070
/* we do not want the button to show on smaller screens (phones), as clicking
7171
* can download a lot of data. 480px is a commonly used breakpoint to identify if a device is a smartphone. */
7272

0 commit comments

Comments
 (0)