forked from SommAid/20EECE3093C-24SS.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsphinx-thebe.css
129 lines (110 loc) · 2.18 KB
/
sphinx-thebe.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/* Thebelab Buttons */
.thebelab-button {
z-index: 999;
display: inline-block;
padding: 0.35em 1.2em;
margin: 0px 1px;
border-radius: 0.12em;
box-sizing: border-box;
text-decoration: none;
font-family: "Roboto", sans-serif;
font-weight: 300;
text-align: center;
transition: all 0.2s;
background-color: #dddddd;
border: 0.05em solid white;
color: #000000;
}
.thebelab-button:hover {
border: 0.05em solid black;
background-color: #fcfcfc;
}
.thebe-launch-button {
height: 2.2em;
font-size: 0.8em;
border: 1px black solid;
}
/* Thebelab Cell */
.thebelab-cell pre {
background: none;
}
.thebelab-cell .thebelab-input {
padding-left: 1em;
margin-bottom: 0.5em;
margin-top: 0.5em;
}
.thebelab-cell .jp-OutputArea {
margin-top: 0.5em;
margin-left: 1em;
}
button.thebelab-button.thebelab-run-button {
margin-left: 1.5em;
margin-bottom: 0.5em;
}
/* Loading button */
button.thebe-launch-button div.spinner {
float: left;
margin-right: 1em;
}
/* Remove the spinner when thebelab is ready */
.thebe-launch-button.thebe-status-ready .spinner {
display: none;
}
.thebe-launch-button span.status {
font-family: monospace;
font-weight: bold;
}
.thebe-launch-button.thebe-status-ready span.status {
color: green;
}
.spinner {
height: 2em;
text-align: center;
font-size: 0.7em;
}
.spinner > div {
background-color: #f37726;
height: 100%;
width: 6px;
display: inline-block;
-webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
animation: sk-stretchdelay 1.2s infinite ease-in-out;
}
.spinner .rect2 {
-webkit-animation-delay: -1.1s;
animation-delay: -1.1s;
}
.spinner .rect3 {
-webkit-animation-delay: -1s;
animation-delay: -1s;
}
.spinner .rect4 {
-webkit-animation-delay: -0.9s;
animation-delay: -0.9s;
}
.spinner .rect5 {
-webkit-animation-delay: -0.8s;
animation-delay: -0.8s;
}
@-webkit-keyframes sk-stretchdelay {
0%,
40%,
100% {
-webkit-transform: scaleY(0.4);
}
20% {
-webkit-transform: scaleY(1);
}
}
@keyframes sk-stretchdelay {
0%,
40%,
100% {
transform: scaleY(0.4);
-webkit-transform: scaleY(0.4);
}
20% {
transform: scaleY(1);
-webkit-transform: scaleY(1);
}
}