Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sage
Path: blob/develop/src/doc/common/static/custom-jupyter-sphinx.css
4111 views
1
div.jupyter_container {
2
border: 0;
3
}
4
5
div.jupyter_container + div.jupyter_container {
6
margin: 0 0 .5rem 0;
7
}
8
9
div.jupyter_container div.cell_input pre {
10
margin: .5rem;
11
}
12
13
div.jupyter_container div.cell_output div.output {
14
margin: .5rem;
15
}
16
17
.thebelab-cell .jp-OutputArea {
18
margin: 0 .5rem;
19
}
20
21
.thebelab-cell .jp-OutputArea-output {
22
margin: 0 0 .5rem 0;
23
overflow-x: auto;
24
}
25
26
.thebelab-button {
27
margin: .5rem 0 .5rem .5rem;
28
padding: 0 .5rem;
29
min-width: 2rem;
30
}
31
32
.thebelab-button:active {
33
color: #0f0fff;
34
}
35
36
.thebelab-busy {
37
margin-left: .5rem;
38
}
39
40
#thebelab-activate-button {
41
position: fixed;
42
right: -5.1rem;
43
top: calc(50% - 1.5rem);
44
width: 6rem;
45
border-radius: 1rem;
46
transition-property: right;
47
transition-duration: 300ms;
48
transition-timing-function: ease-out;
49
z-index: 100;
50
}
51
52
#thebelab-activate-button:hover {
53
right: .4rem;
54
}
55
56
#thebelab-activate-button:active {
57
color: #0f0fff;
58
}
59
60
body[data-theme="dark"] {
61
.jupyter_container {
62
color: white;
63
background-color: black;
64
}
65
66
.jupyter_container .highlight {
67
background-color: black;
68
}
69
70
.thebelab-button {
71
color: #d0d0d0;
72
background-color: #383838;
73
}
74
75
.thebelab-button:active {
76
color: #368ce2;
77
}
78
79
#thebelab-activate-button {
80
background-color: #383838;
81
}
82
83
#thebelab-activate-button:active {
84
color: #368ce2;
85
}
86
87
.thebelab-cell .jp-OutputArea-output {
88
color: white;
89
background-color: black;
90
}
91
92
.thebelab-cell .jp-OutputArea-output pre {
93
color: white;
94
background-color: black;
95
}
96
}
97
98
@media (prefers-color-scheme: dark) {
99
body[data-theme="auto"] { /* the same styles with body[data-theme="dark"] */
100
.jupyter_container {
101
color: white;
102
background-color: black;
103
}
104
105
.jupyter_container .highlight {
106
background-color: black;
107
}
108
109
.thebelab-button {
110
color: #d0d0d0;
111
background-color: #383838;
112
}
113
114
.thebelab-button:active {
115
color: #368ce2;
116
}
117
118
#thebelab-activate-button {
119
background-color: #383838;
120
}
121
122
#thebelab-activate-button:active {
123
color: #368ce2;
124
}
125
126
.thebelab-cell .jp-OutputArea-output {
127
color: white;
128
background-color: black;
129
}
130
131
.thebelab-cell .jp-OutputArea-output pre {
132
color: white;
133
background-color: black;
134
}
135
}
136
}
137
138