munchboka-edutools 0.2.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of munchboka-edutools might be problematic. Click here for more details.
- munchboka_edutools/__init__.py +184 -0
- munchboka_edutools/_plotmath_shim.py +126 -0
- munchboka_edutools/_version.py +2 -0
- munchboka_edutools/directives/__init__.py +1 -0
- munchboka_edutools/directives/admonitions.py +389 -0
- munchboka_edutools/directives/cas_popup.py +428 -0
- munchboka_edutools/directives/clear.py +103 -0
- munchboka_edutools/directives/dialogue.py +137 -0
- munchboka_edutools/directives/escape_room.py +296 -0
- munchboka_edutools/directives/escape_room2.py +318 -0
- munchboka_edutools/directives/factor_tree.py +552 -0
- munchboka_edutools/directives/flashcards.py +233 -0
- munchboka_edutools/directives/ggb.py +209 -0
- munchboka_edutools/directives/ggb_icon.py +105 -0
- munchboka_edutools/directives/ggb_popup.py +308 -0
- munchboka_edutools/directives/horner.py +326 -0
- munchboka_edutools/directives/interactive_code.py +75 -0
- munchboka_edutools/directives/jeopardy.py +252 -0
- munchboka_edutools/directives/jeopardy2.py +636 -0
- munchboka_edutools/directives/multi_plot.py +2524 -0
- munchboka_edutools/directives/multi_plot2.py +252 -0
- munchboka_edutools/directives/pair_puzzle.py +191 -0
- munchboka_edutools/directives/parsons.py +109 -0
- munchboka_edutools/directives/plot.py +3758 -0
- munchboka_edutools/directives/poly_icon.py +111 -0
- munchboka_edutools/directives/polydiv.py +346 -0
- munchboka_edutools/directives/popup.py +245 -0
- munchboka_edutools/directives/quiz.py +291 -0
- munchboka_edutools/directives/quiz2.py +453 -0
- munchboka_edutools/directives/signchart.py +519 -0
- munchboka_edutools/directives/signchart2.py +1545 -0
- munchboka_edutools/directives/timed_quiz.py +436 -0
- munchboka_edutools/directives/turtle.py +157 -0
- munchboka_edutools/static/css/admonitions.css +2012 -0
- munchboka_edutools/static/css/cas_popup.css +242 -0
- munchboka_edutools/static/css/code_mirror_themes/github_dark_cm.css +112 -0
- munchboka_edutools/static/css/code_mirror_themes/github_dark_default_cm.css +40 -0
- munchboka_edutools/static/css/code_mirror_themes/github_dark_high_contrast_cm.css +141 -0
- munchboka_edutools/static/css/code_mirror_themes/github_light_cm.css +120 -0
- munchboka_edutools/static/css/code_mirror_themes/github_light_default_cm.css +108 -0
- munchboka_edutools/static/css/code_mirror_themes/one_dark_cm.css +121 -0
- munchboka_edutools/static/css/dialogue.css +92 -0
- munchboka_edutools/static/css/escapeRoom/escape-room.css +223 -0
- munchboka_edutools/static/css/figures.css +321 -0
- munchboka_edutools/static/css/flashcards.css +219 -0
- munchboka_edutools/static/css/general_style.css +74 -0
- munchboka_edutools/static/css/github-dark-high-contrast.css +141 -0
- munchboka_edutools/static/css/github-dark.css +147 -0
- munchboka_edutools/static/css/github-light.css +155 -0
- munchboka_edutools/static/css/interactive_code/style.css +575 -0
- munchboka_edutools/static/css/interactive_code.css +582 -0
- munchboka_edutools/static/css/jeopardy.css +553 -0
- munchboka_edutools/static/css/pairPuzzle/style.css +177 -0
- munchboka_edutools/static/css/parsons/parsonsPuzzle.css +331 -0
- munchboka_edutools/static/css/popup.css +115 -0
- munchboka_edutools/static/css/quiz.css +377 -0
- munchboka_edutools/static/css/timedQuiz.css +375 -0
- munchboka_edutools/static/icons/ggb/mode_evaluate.svg +1 -0
- munchboka_edutools/static/icons/ggb/mode_extremum.svg +1 -0
- munchboka_edutools/static/icons/ggb/mode_intersect.svg +1 -0
- munchboka_edutools/static/icons/ggb/mode_nsolve.svg +1 -0
- munchboka_edutools/static/icons/ggb/mode_numeric.svg +1 -0
- munchboka_edutools/static/icons/ggb/mode_point.svg +1 -0
- munchboka_edutools/static/icons/ggb/mode_solve.svg +1 -0
- munchboka_edutools/static/icons/misc/windows-logo.svg +1 -0
- munchboka_edutools/static/icons/outline/dark_mode/academic.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/backward.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/book.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/chat_bubble.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/check.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/cmd_line.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/file.svg +1 -0
- munchboka_edutools/static/icons/outline/dark_mode/fire.svg +4 -0
- munchboka_edutools/static/icons/outline/dark_mode/key.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/magnifying.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/pencil_square.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/play.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/question.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/square_check.svg +1 -0
- munchboka_edutools/static/icons/outline/dark_mode/stop.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/summary.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/undo.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/unlock.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/academic.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/backward.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/book.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/chat_bubble.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/check.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/cmd_line.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/file.svg +1 -0
- munchboka_edutools/static/icons/outline/light_mode/fire.svg +4 -0
- munchboka_edutools/static/icons/outline/light_mode/key.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/magnifying.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/pencil_square.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/play.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/question.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/square_check.svg +1 -0
- munchboka_edutools/static/icons/outline/light_mode/stop.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/summary.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/undo.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/unlock.svg +3 -0
- munchboka_edutools/static/icons/polyicons/cubicdown.svg +3 -0
- munchboka_edutools/static/icons/polyicons/cubicup.svg +3 -0
- munchboka_edutools/static/icons/polyicons/frown.svg +3 -0
- munchboka_edutools/static/icons/polyicons/smile.svg +3 -0
- munchboka_edutools/static/icons/solid/dark_mode/academic.svg +5 -0
- munchboka_edutools/static/icons/solid/dark_mode/backward.svg +3 -0
- munchboka_edutools/static/icons/solid/dark_mode/book.svg +3 -0
- munchboka_edutools/static/icons/solid/dark_mode/brain.svg +1 -0
- munchboka_edutools/static/icons/solid/dark_mode/file.svg +1 -0
- munchboka_edutools/static/icons/solid/dark_mode/fire.svg +3 -0
- munchboka_edutools/static/icons/solid/dark_mode/key.svg +3 -0
- munchboka_edutools/static/icons/solid/dark_mode/pencil_square.svg +4 -0
- munchboka_edutools/static/icons/solid/dark_mode/play.svg +3 -0
- munchboka_edutools/static/icons/solid/dark_mode/python.svg +1 -0
- munchboka_edutools/static/icons/solid/dark_mode/scroll.svg +1 -0
- munchboka_edutools/static/icons/solid/dark_mode/stop.svg +3 -0
- munchboka_edutools/static/icons/solid/light_mode/academic.svg +5 -0
- munchboka_edutools/static/icons/solid/light_mode/backward.svg +3 -0
- munchboka_edutools/static/icons/solid/light_mode/book.svg +3 -0
- munchboka_edutools/static/icons/solid/light_mode/brain.svg +1 -0
- munchboka_edutools/static/icons/solid/light_mode/file.svg +1 -0
- munchboka_edutools/static/icons/solid/light_mode/fire.svg +3 -0
- munchboka_edutools/static/icons/solid/light_mode/key.svg +3 -0
- munchboka_edutools/static/icons/solid/light_mode/pencil_square.svg +4 -0
- munchboka_edutools/static/icons/solid/light_mode/play.svg +3 -0
- munchboka_edutools/static/icons/solid/light_mode/python.svg +1 -0
- munchboka_edutools/static/icons/solid/light_mode/scroll.svg +1 -0
- munchboka_edutools/static/icons/solid/light_mode/stop.svg +3 -0
- munchboka_edutools/static/icons/stickers/edit.svg +1 -0
- munchboka_edutools/static/icons/stickers/pencil_square.svg +3 -0
- munchboka_edutools/static/js/casThemeManager.js +99 -0
- munchboka_edutools/static/js/escapeRoom/escape-room.js +219 -0
- munchboka_edutools/static/js/flashcards.js +199 -0
- munchboka_edutools/static/js/geogebra-setup.js +6 -0
- munchboka_edutools/static/js/highlight-init.js +6 -0
- munchboka_edutools/static/js/interactiveCode/codeEditor.js +648 -0
- munchboka_edutools/static/js/interactiveCode/interactiveCodeSetup.js +441 -0
- munchboka_edutools/static/js/interactiveCode/pythonRunner.js +336 -0
- munchboka_edutools/static/js/interactiveCode/turtleCode.js +203 -0
- munchboka_edutools/static/js/interactiveCode/workerManager.js +353 -0
- munchboka_edutools/static/js/jeopardy.js +560 -0
- munchboka_edutools/static/js/pairPuzzle/draggableItem.js +64 -0
- munchboka_edutools/static/js/pairPuzzle/dropZone.js +119 -0
- munchboka_edutools/static/js/pairPuzzle/game.js +160 -0
- munchboka_edutools/static/js/parsons/parsonsPuzzle.js +641 -0
- munchboka_edutools/static/js/popup.js +85 -0
- munchboka_edutools/static/js/quiz.js +566 -0
- munchboka_edutools/static/js/skulpt/skulpt.js +35721 -0
- munchboka_edutools/static/js/timedQuiz/multipleChoiceQuestion.js +184 -0
- munchboka_edutools/static/js/timedQuiz/timedMultipleChoiceQuiz.js +244 -0
- munchboka_edutools/static/js/timedQuiz/utils.js +6 -0
- munchboka_edutools/static/js/utils.js +3 -0
- munchboka_edutools-0.2.3.dist-info/METADATA +109 -0
- munchboka_edutools-0.2.3.dist-info/RECORD +157 -0
- munchboka_edutools-0.2.3.dist-info/WHEEL +4 -0
- munchboka_edutools-0.2.3.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/* General styles */
|
|
2
|
+
.cm-s-github-dark-high-contrast.CodeMirror {
|
|
3
|
+
background-color: #0d1117;
|
|
4
|
+
color: #C9D1D9;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/* Gutter styles */
|
|
8
|
+
.cm-s-github-dark-high-contrast .CodeMirror-gutters {
|
|
9
|
+
background: #0d1117;
|
|
10
|
+
border-right: 1px solid #C9D1D9;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.cm-s-github-dark-high-contrast .CodeMirror-linenumber {
|
|
14
|
+
color: #6e7781;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.cm-s-github-dark-high-contrast .CodeMirror-cursor {
|
|
18
|
+
border-left: 1px solid #C9D1D9;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* Highlighted line */
|
|
22
|
+
.cm-s-github-dark-high-contrast .CodeMirror-activeline-background {
|
|
23
|
+
background: #58a6ff70;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* Selection */
|
|
27
|
+
.cm-s-github-dark-high-contrast .CodeMirror-selected {
|
|
28
|
+
background: #58a6ff70;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* Token styles */
|
|
32
|
+
.cm-s-github-dark-high-contrast .cm-comment {
|
|
33
|
+
color: #d9dee3;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.cm-s-github-dark-high-contrast .cm-error {
|
|
37
|
+
color: #ff9492;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.cm-s-github-dark-high-contrast .cm-keyword {
|
|
41
|
+
color: #ff9492;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.cm-s-github-dark-high-contrast .cm-atom {
|
|
45
|
+
color: #ffb757;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.cm-s-github-dark-high-contrast .cm-number {
|
|
49
|
+
color: #ffb757;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.cm-s-github-dark-high-contrast .cm-def {
|
|
53
|
+
color: #91cbff;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.cm-s-github-dark-high-contrast .cm-variable {
|
|
57
|
+
color: #dbb7ff;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.cm-s-github-dark-high-contrast .cm-variable-2 {
|
|
61
|
+
color: #ffb757;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.cm-s-github-dark-high-contrast .cm-variable-3 {
|
|
65
|
+
color: #ffb757;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.cm-s-github-dark-high-contrast .cm-property {
|
|
69
|
+
color: #91cbff;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.cm-s-github-dark-high-contrast .cm-operator {
|
|
73
|
+
color: #72f088;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.cm-s-github-dark-high-contrast .cm-punctuation {
|
|
77
|
+
color: #C9D1D9;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.cm-s-github-dark-high-contrast .cm-string {
|
|
81
|
+
color: #91cbff;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.cm-s-github-dark-high-contrast .cm-string-2 {
|
|
85
|
+
color: #91cbff;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.cm-s-github-dark-high-contrast .cm-meta {
|
|
89
|
+
color: #ffb757;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.cm-s-github-dark-high-contrast .cm-qualifier {
|
|
93
|
+
color: #ff9492;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.cm-s-github-dark-high-contrast .cm-builtin {
|
|
97
|
+
color: #ffb757;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.cm-s-github-dark-high-contrast .cm-bracket {
|
|
101
|
+
color: #C9D1D9;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.cm-s-github-dark-high-contrast .cm-tag {
|
|
105
|
+
color: #72f088;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.cm-s-github-dark-high-contrast .cm-attribute {
|
|
109
|
+
color: #ffb757;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.cm-s-github-dark-high-contrast .cm-hr {
|
|
113
|
+
color: #C9D1D9;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.cm-s-github-dark-high-contrast .cm-link {
|
|
117
|
+
color: #91cbff;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* Emphasis and Strong */
|
|
121
|
+
.cm-s-github-dark-high-contrast .cm-em {
|
|
122
|
+
font-style: italic;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.cm-s-github-dark-high-contrast .cm-strong {
|
|
126
|
+
font-weight: bold;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Generic */
|
|
130
|
+
.cm-s-github-dark-high-contrast .cm-error {
|
|
131
|
+
color: #ff9492;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.cm-s-github-dark-high-contrast .cm-quote {
|
|
135
|
+
color: #d9dee3;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/* Specific to f-strings in Python */
|
|
139
|
+
.cm-s-github-dark-high-contrast .cm-string-2 .cm-operator {
|
|
140
|
+
color: #C9D1D9; /* Ensure the operator in f-strings has the correct color */
|
|
141
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/* GitHub-like DARK theme for rendered code blocks.
|
|
2
|
+
Scoped to dark-mode attributes so it can coexist with a light theme.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
html.dark-mode,
|
|
6
|
+
body.dark-mode,
|
|
7
|
+
html[data-theme='dark'],
|
|
8
|
+
body[data-theme='dark'],
|
|
9
|
+
[data-mode='dark'] {
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
html.dark-mode pre, html.dark-mode code,
|
|
13
|
+
body.dark-mode pre, body.dark-mode code,
|
|
14
|
+
html[data-theme='dark'] pre, html[data-theme='dark'] code,
|
|
15
|
+
body[data-theme='dark'] pre, body[data-theme='dark'] code,
|
|
16
|
+
[data-mode='dark'] pre, [data-mode='dark'] code {
|
|
17
|
+
background-color: #0d1117;
|
|
18
|
+
color: #e6edf3;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
html.dark-mode pre, body.dark-mode pre,
|
|
22
|
+
html[data-theme='dark'] pre, body[data-theme='dark'] pre,
|
|
23
|
+
[data-mode='dark'] pre {
|
|
24
|
+
border: 1px solid #30363d;
|
|
25
|
+
border-radius: 6px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Basic token colors assuming highlight.js / pygments style classes */
|
|
29
|
+
html.dark-mode .hljs-comment,
|
|
30
|
+
body.dark-mode .hljs-comment,
|
|
31
|
+
html[data-theme='dark'] .hljs-comment,
|
|
32
|
+
body[data-theme='dark'] .hljs-comment,
|
|
33
|
+
[data-mode='dark'] .hljs-comment {
|
|
34
|
+
color: #8b949e;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
html.dark-mode .hljs-keyword,
|
|
38
|
+
body.dark-mode .hljs-keyword,
|
|
39
|
+
html[data-theme='dark'] .hljs-keyword,
|
|
40
|
+
body[data-theme='dark'] .hljs-keyword,
|
|
41
|
+
[data-mode='dark'] .hljs-keyword {
|
|
42
|
+
color: #ff7b72;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
html.dark-mode .hljs-string,
|
|
46
|
+
body.dark-mode .hljs-string,
|
|
47
|
+
html[data-theme='dark'] .hljs-string,
|
|
48
|
+
body[data-theme='dark'] .hljs-string,
|
|
49
|
+
[data-mode='dark'] .hljs-string {
|
|
50
|
+
color: #7ee787;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
html.dark-mode .hljs-number,
|
|
54
|
+
body.dark-mode .hljs-number,
|
|
55
|
+
html[data-theme='dark'] .hljs-number,
|
|
56
|
+
body[data-theme='dark'] .hljs-number,
|
|
57
|
+
[data-mode='dark'] .hljs-number {
|
|
58
|
+
color: #79c0ff;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
html.dark-mode .hljs-title,
|
|
62
|
+
body.dark-mode .hljs-title,
|
|
63
|
+
html[data-theme='dark'] .hljs-title,
|
|
64
|
+
body[data-theme='dark'] .hljs-title,
|
|
65
|
+
[data-mode='dark'] .hljs-title {
|
|
66
|
+
color: #d2a8ff;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* Fallback for generic code tokens used by sphinx/highlight.js */
|
|
70
|
+
html.dark-mode .nb-output pre,
|
|
71
|
+
body.dark-mode .nb-output pre,
|
|
72
|
+
html[data-theme='dark'] .nb-output pre,
|
|
73
|
+
body[data-theme='dark'] .nb-output pre,
|
|
74
|
+
[data-mode='dark'] .nb-output pre {
|
|
75
|
+
background-color: #161b22;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.cm-s-github-dark .cm-literal {
|
|
79
|
+
color: #a5d6ff;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.cm-s-github-dark .cm-variable {
|
|
83
|
+
color: #e6edf3;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.cm-s-github-dark .cm-punctuation {
|
|
87
|
+
color: #e6edf3;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.cm-s-github-dark .cm-number {
|
|
91
|
+
color: #a5d6ff;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.cm-s-github-dark .cm-string {
|
|
95
|
+
color: #a5d6ff;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.cm-s-github-dark .cm-variable-2 {
|
|
99
|
+
color: #e6edf3;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.cm-s-github-dark .cm-variable-3 {
|
|
103
|
+
color: #f0883e;
|
|
104
|
+
font-weight: bold;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.cm-s-github-dark .cm-atom {
|
|
108
|
+
color: #79c0ff;
|
|
109
|
+
font-weight: bold;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.cm-s-github-dark .cm-def {
|
|
113
|
+
color: #d2a8ff;
|
|
114
|
+
font-weight: bold;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.cm-s-github-dark .cm-tag {
|
|
118
|
+
color: #7ee787;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.cm-s-github-dark .cm-string-2 {
|
|
122
|
+
color: #a5d6ff;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/* Generic Styling */
|
|
126
|
+
.cm-s-github-dark .cm-em {
|
|
127
|
+
font-style: italic;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.cm-s-github-dark .cm-strong {
|
|
131
|
+
font-weight: bold;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.cm-s-github-dark .cm-header {
|
|
135
|
+
color: #79c0ff;
|
|
136
|
+
font-weight: bold;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.cm-s-github-dark .cm-quote {
|
|
140
|
+
color: #8b949e;
|
|
141
|
+
font-style: italic;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.cm-s-github-dark .cm-link {
|
|
145
|
+
color: #79c0ff;
|
|
146
|
+
text-decoration: underline;
|
|
147
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/* GitHub-like LIGHT theme for rendered code blocks.
|
|
2
|
+
Scoped to light-mode attributes so it can coexist with a dark theme.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
html.light-mode,
|
|
6
|
+
body.light-mode,
|
|
7
|
+
html[data-theme='light'],
|
|
8
|
+
body[data-theme='light'],
|
|
9
|
+
[data-mode='light'] {
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
html.light-mode pre, html.light-mode code,
|
|
13
|
+
body.light-mode pre, body.light-mode code,
|
|
14
|
+
html[data-theme='light'] pre, html[data-theme='light'] code,
|
|
15
|
+
body[data-theme='light'] pre, body[data-theme='light'] code,
|
|
16
|
+
[data-mode='light'] pre, [data-mode='light'] code {
|
|
17
|
+
background-color: #ffffff;
|
|
18
|
+
color: #24292f;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
html.light-mode pre, body.light-mode pre,
|
|
22
|
+
html[data-theme='light'] pre, body[data-theme='light'] pre,
|
|
23
|
+
[data-mode='light'] pre {
|
|
24
|
+
border: 1px solid #d1d5da;
|
|
25
|
+
border-radius: 6px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Basic token colors assuming highlight.js / pygments style classes */
|
|
29
|
+
html.light-mode .hljs-comment,
|
|
30
|
+
body.light-mode .hljs-comment,
|
|
31
|
+
html[data-theme='light'] .hljs-comment,
|
|
32
|
+
body[data-theme='light'] .hljs-comment,
|
|
33
|
+
[data-mode='light'] .hljs-comment {
|
|
34
|
+
color: #6e7781;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
html.light-mode .hljs-keyword,
|
|
38
|
+
body.light-mode .hljs-keyword,
|
|
39
|
+
html[data-theme='light'] .hljs-keyword,
|
|
40
|
+
body[data-theme='light'] .hljs-keyword,
|
|
41
|
+
[data-mode='light'] .hljs-keyword {
|
|
42
|
+
color: #cf222e;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
html.light-mode .hljs-string,
|
|
46
|
+
body.light-mode .hljs-string,
|
|
47
|
+
html[data-theme='light'] .hljs-string,
|
|
48
|
+
body[data-theme='light'] .hljs-string,
|
|
49
|
+
[data-mode='light'] .hljs-string {
|
|
50
|
+
color: #116329;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
html.light-mode .hljs-number,
|
|
54
|
+
body.light-mode .hljs-number,
|
|
55
|
+
html[data-theme='light'] .hljs-number,
|
|
56
|
+
body[data-theme='light'] .hljs-number,
|
|
57
|
+
[data-mode='light'] .hljs-number {
|
|
58
|
+
color: #0550ae;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
html.light-mode .hljs-title,
|
|
62
|
+
body.light-mode .hljs-title,
|
|
63
|
+
html[data-theme='light'] .hljs-title,
|
|
64
|
+
body[data-theme='light'] .hljs-title,
|
|
65
|
+
[data-mode='light'] .hljs-title {
|
|
66
|
+
color: #0550ae;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* Fallback for generic code tokens used by sphinx/highlight.js */
|
|
70
|
+
html.light-mode .nb-output pre,
|
|
71
|
+
body.light-mode .nb-output pre,
|
|
72
|
+
html[data-theme='light'] .nb-output pre,
|
|
73
|
+
body[data-theme='light'] .nb-output pre,
|
|
74
|
+
[data-mode='light'] .nb-output pre {
|
|
75
|
+
background-color: #f6f8fa;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.cm-s-github-light .cm-literal {
|
|
79
|
+
color: #953800;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.cm-s-github-light .cm-variable {
|
|
83
|
+
color: #8250df;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.cm-s-github-light .cm-punctuation {
|
|
87
|
+
color: #24292f;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.cm-s-github-light .cm-number {
|
|
91
|
+
color: #953800;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.cm-s-github-light .cm-string {
|
|
95
|
+
color: #0550ae;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.cm-s-github-light .cm-attribute {
|
|
99
|
+
color: #953800;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.cm-s-github-light .cm-builtin {
|
|
103
|
+
color: #953800;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.cm-s-github-light .cm-variable-2 {
|
|
107
|
+
color: #116329;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.cm-s-github-light .cm-variable-3 {
|
|
111
|
+
color: #0550ae;
|
|
112
|
+
font-weight: bold;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.cm-s-github-light .cm-atom {
|
|
116
|
+
color: #0550ae;
|
|
117
|
+
font-weight: bold;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.cm-s-github-light .cm-def {
|
|
121
|
+
color: #0550ae;
|
|
122
|
+
/* font-weight: bold; */
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.cm-s-github-light .cm-tag {
|
|
126
|
+
color: #116329;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.cm-s-github-light .cm-string-2 {
|
|
130
|
+
color: #0550ae;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* Generic Styling */
|
|
134
|
+
.cm-s-github-light .cm-em {
|
|
135
|
+
font-style: italic;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.cm-s-github-light .cm-strong {
|
|
139
|
+
font-weight: bold;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.cm-s-github-light .cm-header {
|
|
143
|
+
color: #0550ae;
|
|
144
|
+
font-weight: bold;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.cm-s-github-light .cm-quote {
|
|
148
|
+
color: #6e7781;
|
|
149
|
+
font-style: italic;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.cm-s-github-light .cm-link {
|
|
153
|
+
color: #116329;
|
|
154
|
+
text-decoration: underline;
|
|
155
|
+
}
|