munchboka-edutools 0.1.13__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.

Files changed (149) hide show
  1. munchboka_edutools/__init__.py +184 -0
  2. munchboka_edutools/_plotmath_shim.py +126 -0
  3. munchboka_edutools/_version.py +2 -0
  4. munchboka_edutools/directives/__init__.py +1 -0
  5. munchboka_edutools/directives/admonitions.py +389 -0
  6. munchboka_edutools/directives/cas_popup.py +272 -0
  7. munchboka_edutools/directives/clear.py +103 -0
  8. munchboka_edutools/directives/dialogue.py +137 -0
  9. munchboka_edutools/directives/escape_room.py +296 -0
  10. munchboka_edutools/directives/factor_tree.py +549 -0
  11. munchboka_edutools/directives/ggb.py +209 -0
  12. munchboka_edutools/directives/ggb_icon.py +105 -0
  13. munchboka_edutools/directives/ggb_popup.py +165 -0
  14. munchboka_edutools/directives/horner.py +324 -0
  15. munchboka_edutools/directives/interactive_code.py +75 -0
  16. munchboka_edutools/directives/jeopardy.py +252 -0
  17. munchboka_edutools/directives/multi_plot.py +1126 -0
  18. munchboka_edutools/directives/pair_puzzle.py +191 -0
  19. munchboka_edutools/directives/parsons.py +109 -0
  20. munchboka_edutools/directives/plot.py +3105 -0
  21. munchboka_edutools/directives/poly_icon.py +111 -0
  22. munchboka_edutools/directives/polydiv.py +344 -0
  23. munchboka_edutools/directives/popup.py +245 -0
  24. munchboka_edutools/directives/quiz.py +291 -0
  25. munchboka_edutools/directives/signchart.py +516 -0
  26. munchboka_edutools/directives/timed_quiz.py +436 -0
  27. munchboka_edutools/directives/turtle.py +157 -0
  28. munchboka_edutools/static/css/admonitions.css +2012 -0
  29. munchboka_edutools/static/css/cas_popup.css +242 -0
  30. munchboka_edutools/static/css/code_mirror_themes/github_dark_cm.css +112 -0
  31. munchboka_edutools/static/css/code_mirror_themes/github_dark_default_cm.css +40 -0
  32. munchboka_edutools/static/css/code_mirror_themes/github_dark_high_contrast_cm.css +141 -0
  33. munchboka_edutools/static/css/code_mirror_themes/github_light_cm.css +120 -0
  34. munchboka_edutools/static/css/code_mirror_themes/github_light_default_cm.css +108 -0
  35. munchboka_edutools/static/css/code_mirror_themes/one_dark_cm.css +121 -0
  36. munchboka_edutools/static/css/dialogue.css +92 -0
  37. munchboka_edutools/static/css/escapeRoom/escape-room.css +223 -0
  38. munchboka_edutools/static/css/figures.css +274 -0
  39. munchboka_edutools/static/css/general_style.css +74 -0
  40. munchboka_edutools/static/css/github-dark-high-contrast.css +141 -0
  41. munchboka_edutools/static/css/github-dark.css +112 -0
  42. munchboka_edutools/static/css/github-light.css +120 -0
  43. munchboka_edutools/static/css/interactive_code/style.css +575 -0
  44. munchboka_edutools/static/css/interactive_code.css +582 -0
  45. munchboka_edutools/static/css/jeopardy.css +529 -0
  46. munchboka_edutools/static/css/pairPuzzle/style.css +177 -0
  47. munchboka_edutools/static/css/parsons/parsonsPuzzle.css +331 -0
  48. munchboka_edutools/static/css/popup.css +115 -0
  49. munchboka_edutools/static/css/quiz.css +312 -0
  50. munchboka_edutools/static/css/timedQuiz.css +375 -0
  51. munchboka_edutools/static/icons/ggb/mode_evaluate.svg +1 -0
  52. munchboka_edutools/static/icons/ggb/mode_extremum.svg +1 -0
  53. munchboka_edutools/static/icons/ggb/mode_intersect.svg +1 -0
  54. munchboka_edutools/static/icons/ggb/mode_nsolve.svg +1 -0
  55. munchboka_edutools/static/icons/ggb/mode_numeric.svg +1 -0
  56. munchboka_edutools/static/icons/ggb/mode_point.svg +1 -0
  57. munchboka_edutools/static/icons/ggb/mode_solve.svg +1 -0
  58. munchboka_edutools/static/icons/misc/windows-logo.svg +1 -0
  59. munchboka_edutools/static/icons/outline/dark_mode/academic.svg +3 -0
  60. munchboka_edutools/static/icons/outline/dark_mode/backward.svg +3 -0
  61. munchboka_edutools/static/icons/outline/dark_mode/book.svg +3 -0
  62. munchboka_edutools/static/icons/outline/dark_mode/chat_bubble.svg +3 -0
  63. munchboka_edutools/static/icons/outline/dark_mode/check.svg +3 -0
  64. munchboka_edutools/static/icons/outline/dark_mode/cmd_line.svg +3 -0
  65. munchboka_edutools/static/icons/outline/dark_mode/file.svg +1 -0
  66. munchboka_edutools/static/icons/outline/dark_mode/fire.svg +4 -0
  67. munchboka_edutools/static/icons/outline/dark_mode/key.svg +3 -0
  68. munchboka_edutools/static/icons/outline/dark_mode/magnifying.svg +3 -0
  69. munchboka_edutools/static/icons/outline/dark_mode/pencil_square.svg +3 -0
  70. munchboka_edutools/static/icons/outline/dark_mode/play.svg +3 -0
  71. munchboka_edutools/static/icons/outline/dark_mode/question.svg +3 -0
  72. munchboka_edutools/static/icons/outline/dark_mode/square_check.svg +1 -0
  73. munchboka_edutools/static/icons/outline/dark_mode/stop.svg +3 -0
  74. munchboka_edutools/static/icons/outline/dark_mode/summary.svg +3 -0
  75. munchboka_edutools/static/icons/outline/dark_mode/undo.svg +3 -0
  76. munchboka_edutools/static/icons/outline/dark_mode/unlock.svg +3 -0
  77. munchboka_edutools/static/icons/outline/light_mode/academic.svg +3 -0
  78. munchboka_edutools/static/icons/outline/light_mode/backward.svg +3 -0
  79. munchboka_edutools/static/icons/outline/light_mode/book.svg +3 -0
  80. munchboka_edutools/static/icons/outline/light_mode/chat_bubble.svg +3 -0
  81. munchboka_edutools/static/icons/outline/light_mode/check.svg +3 -0
  82. munchboka_edutools/static/icons/outline/light_mode/cmd_line.svg +3 -0
  83. munchboka_edutools/static/icons/outline/light_mode/file.svg +1 -0
  84. munchboka_edutools/static/icons/outline/light_mode/fire.svg +4 -0
  85. munchboka_edutools/static/icons/outline/light_mode/key.svg +3 -0
  86. munchboka_edutools/static/icons/outline/light_mode/magnifying.svg +3 -0
  87. munchboka_edutools/static/icons/outline/light_mode/pencil_square.svg +3 -0
  88. munchboka_edutools/static/icons/outline/light_mode/play.svg +3 -0
  89. munchboka_edutools/static/icons/outline/light_mode/question.svg +3 -0
  90. munchboka_edutools/static/icons/outline/light_mode/square_check.svg +1 -0
  91. munchboka_edutools/static/icons/outline/light_mode/stop.svg +3 -0
  92. munchboka_edutools/static/icons/outline/light_mode/summary.svg +3 -0
  93. munchboka_edutools/static/icons/outline/light_mode/undo.svg +3 -0
  94. munchboka_edutools/static/icons/outline/light_mode/unlock.svg +3 -0
  95. munchboka_edutools/static/icons/polyicons/cubicdown.svg +3 -0
  96. munchboka_edutools/static/icons/polyicons/cubicup.svg +3 -0
  97. munchboka_edutools/static/icons/polyicons/frown.svg +3 -0
  98. munchboka_edutools/static/icons/polyicons/smile.svg +3 -0
  99. munchboka_edutools/static/icons/solid/dark_mode/academic.svg +5 -0
  100. munchboka_edutools/static/icons/solid/dark_mode/backward.svg +3 -0
  101. munchboka_edutools/static/icons/solid/dark_mode/book.svg +3 -0
  102. munchboka_edutools/static/icons/solid/dark_mode/brain.svg +1 -0
  103. munchboka_edutools/static/icons/solid/dark_mode/file.svg +1 -0
  104. munchboka_edutools/static/icons/solid/dark_mode/fire.svg +3 -0
  105. munchboka_edutools/static/icons/solid/dark_mode/key.svg +3 -0
  106. munchboka_edutools/static/icons/solid/dark_mode/pencil_square.svg +4 -0
  107. munchboka_edutools/static/icons/solid/dark_mode/play.svg +3 -0
  108. munchboka_edutools/static/icons/solid/dark_mode/python.svg +1 -0
  109. munchboka_edutools/static/icons/solid/dark_mode/scroll.svg +1 -0
  110. munchboka_edutools/static/icons/solid/dark_mode/stop.svg +3 -0
  111. munchboka_edutools/static/icons/solid/light_mode/academic.svg +5 -0
  112. munchboka_edutools/static/icons/solid/light_mode/backward.svg +3 -0
  113. munchboka_edutools/static/icons/solid/light_mode/book.svg +3 -0
  114. munchboka_edutools/static/icons/solid/light_mode/brain.svg +1 -0
  115. munchboka_edutools/static/icons/solid/light_mode/file.svg +1 -0
  116. munchboka_edutools/static/icons/solid/light_mode/fire.svg +3 -0
  117. munchboka_edutools/static/icons/solid/light_mode/key.svg +3 -0
  118. munchboka_edutools/static/icons/solid/light_mode/pencil_square.svg +4 -0
  119. munchboka_edutools/static/icons/solid/light_mode/play.svg +3 -0
  120. munchboka_edutools/static/icons/solid/light_mode/python.svg +1 -0
  121. munchboka_edutools/static/icons/solid/light_mode/scroll.svg +1 -0
  122. munchboka_edutools/static/icons/solid/light_mode/stop.svg +3 -0
  123. munchboka_edutools/static/icons/stickers/edit.svg +1 -0
  124. munchboka_edutools/static/icons/stickers/pencil_square.svg +3 -0
  125. munchboka_edutools/static/js/casThemeManager.js +99 -0
  126. munchboka_edutools/static/js/escapeRoom/escape-room.js +219 -0
  127. munchboka_edutools/static/js/geogebra-setup.js +6 -0
  128. munchboka_edutools/static/js/highlight-init.js +6 -0
  129. munchboka_edutools/static/js/interactiveCode/codeEditor.js +632 -0
  130. munchboka_edutools/static/js/interactiveCode/interactiveCodeSetup.js +348 -0
  131. munchboka_edutools/static/js/interactiveCode/pythonRunner.js +336 -0
  132. munchboka_edutools/static/js/interactiveCode/turtleCode.js +203 -0
  133. munchboka_edutools/static/js/interactiveCode/workerManager.js +353 -0
  134. munchboka_edutools/static/js/jeopardy.js +523 -0
  135. munchboka_edutools/static/js/pairPuzzle/draggableItem.js +64 -0
  136. munchboka_edutools/static/js/pairPuzzle/dropZone.js +119 -0
  137. munchboka_edutools/static/js/pairPuzzle/game.js +160 -0
  138. munchboka_edutools/static/js/parsons/parsonsPuzzle.js +641 -0
  139. munchboka_edutools/static/js/popup.js +85 -0
  140. munchboka_edutools/static/js/quiz.js +422 -0
  141. munchboka_edutools/static/js/skulpt/skulpt.js +35721 -0
  142. munchboka_edutools/static/js/timedQuiz/multipleChoiceQuestion.js +184 -0
  143. munchboka_edutools/static/js/timedQuiz/timedMultipleChoiceQuiz.js +244 -0
  144. munchboka_edutools/static/js/timedQuiz/utils.js +6 -0
  145. munchboka_edutools/static/js/utils.js +3 -0
  146. munchboka_edutools-0.1.13.dist-info/METADATA +108 -0
  147. munchboka_edutools-0.1.13.dist-info/RECORD +149 -0
  148. munchboka_edutools-0.1.13.dist-info/WHEEL +4 -0
  149. munchboka_edutools-0.1.13.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,2012 @@
1
+ /* CSS rules for custom admonitions */
2
+
3
+
4
+ :root {
5
+ /* light mode */
6
+ --admonition-background-color-light: rgb(255, 255, 255);
7
+
8
+
9
+ /* dark mode */
10
+ --admonition-background-color-dark: #2632380e;
11
+ /* --admonition-background-color-dark: rgba(0, 14, 49, 0.01); */
12
+ }
13
+
14
+ [data-mode="light"] .admonition.tip {
15
+ background-color: var(--admonition-background-color-light) !important;
16
+ }
17
+ [data-mode="dark"] .admonition.tip {
18
+ background-color: var(--admonition-background-color-dark) !important;
19
+ }
20
+
21
+ @media (prefers-color-scheme: light) {
22
+ .admonition.tip {
23
+ background-color: var(--admonition-background-color-light) !important;
24
+ }
25
+ }
26
+ @media (prefers-color-scheme: dark) {
27
+ .admonition.tip {
28
+ background-color: var(--admonition-background-color-dark) !important;
29
+ }
30
+ }
31
+
32
+
33
+
34
+
35
+
36
+ .admonition {
37
+ border-radius: 16px !important;
38
+ }
39
+
40
+ .admonition-title {
41
+ border-radius: 12px 12px 0 0 !important;
42
+ }
43
+
44
+ div.interactive {
45
+ /* No visual changes for the web view */
46
+ /* Created to flag interactive problems to be hidden for the printed edition */
47
+ display: block;
48
+ }
49
+
50
+ div.noninteractive {
51
+ display: none;
52
+ }
53
+
54
+ /* Stil for quiz */
55
+ div.quiz {
56
+ border-left-color: rgb(128, 0, 85);
57
+ background-color: rgba(128, 0, 85, 0);
58
+ }
59
+
60
+ div.quiz > .admonition-title {
61
+ background-color: rgba(128, 0, 85, 0.1);
62
+ display: flex;
63
+ align-items: center;
64
+ }
65
+
66
+ [data-mode=light] div.quiz > .admonition-title::after {
67
+ content: url("../_static/munchboka/icons/outline/light_mode/question.svg");
68
+ width: 20px;
69
+ height: 20px;
70
+ }
71
+
72
+ @media (prefers-color-scheme: light) {
73
+ div.quiz > .admonition-title::after {
74
+ content: url("../_static/munchboka/icons/outline/light_mode/question.svg");
75
+ width: 20px;
76
+ height: 20px;
77
+ }
78
+ }
79
+
80
+ [data-mode=dark] div.quiz > .admonition-title::after {
81
+ content: url("../_static/munchboka/icons/outline/dark_mode/question.svg");
82
+ width: 20px;
83
+ height: 20px;
84
+ }
85
+
86
+ @media (prefers-color-scheme: dark) {
87
+ div.quiz > .admonition-title::after {
88
+ content: url("../_static/munchboka/icons/outline/dark_mode/question.svg");
89
+ width: 20px;
90
+ height: 20px;
91
+ }
92
+ }
93
+
94
+
95
+ [data-mode=light] div.quiz {
96
+ background-color: white !important;
97
+ background-color: var(--admonition-background-color-light);
98
+ }
99
+
100
+
101
+ @media (prefers-color-scheme: light) {
102
+ div.quiz {
103
+ background-color: var(--admonition-background-color-light);
104
+ }
105
+ }
106
+
107
+ /* Dark modes for problem-level-3 */
108
+
109
+ [data-mode=dark] div.quiz {
110
+ background-color: var(--admonition-background-color-dark) !important;
111
+ }
112
+
113
+ @media (prefers-color-scheme: dark) {
114
+ div.quiz {
115
+ background-color: var(--admonition-background-color-dark) !important;
116
+ }
117
+ }
118
+
119
+
120
+ /* Stil for oppsummering */
121
+ div.reminder {
122
+ border-left-color: rgb(128, 0, 85);
123
+ background-color: rgba(128, 0, 85, 0.025);
124
+ }
125
+
126
+ div.reminder > .admonition-title {
127
+ background-color: rgba(128, 0, 85, 0.1);
128
+ display: flex;
129
+ align-items: center;
130
+ }
131
+
132
+ [data-mode=light] div.reminder > .admonition-title::after {
133
+ content: url("../_static/munchboka/icons/outline/light_mode/backward.svg");
134
+ width: 20px;
135
+ height: 20px;
136
+ }
137
+
138
+ @media (prefers-color-scheme: light) {
139
+ div.reminder > .admonition-title::after {
140
+ content: url("../_static/munchboka/icons/outline/light_mode/backward.svg");
141
+ width: 20px;
142
+ height: 20px;
143
+ }
144
+ }
145
+
146
+ [data-mode=dark] div.reminder > .admonition-title::after {
147
+ content: url("../_static/munchboka/icons/outline/dark_mode/backward.svg");
148
+ width: 20px;
149
+ height: 20px;
150
+ }
151
+
152
+ @media (prefers-color-scheme: dark) {
153
+ div.reminder > .admonition-title::after {
154
+ content: url("../_static/munchboka/icons/outline/dark_mode/backward.svg");
155
+ width: 20px;
156
+ height: 20px;
157
+ }
158
+ }
159
+
160
+ [data-mode=light] div.reminder {
161
+ background-color: white !important;
162
+ background-color: var(--admonition-background-color-light);
163
+ }
164
+
165
+
166
+ @media (prefers-color-scheme: light) {
167
+ div.reminder {
168
+ background-color: var(--admonition-background-color-light);
169
+ }
170
+ }
171
+
172
+ /* Dark modes for problem-level-3 */
173
+
174
+ [data-mode=dark] div.reminder {
175
+ background-color: var(--admonition-background-color-dark) !important;
176
+ }
177
+
178
+ @media (prefers-color-scheme: dark) {
179
+ div.reminder {
180
+ background-color: var(--admonition-background-color-dark) !important;
181
+ }
182
+ }
183
+
184
+
185
+
186
+
187
+ /* Stil for oppsummering */
188
+ div.summary {
189
+ border-left-color: rgb(0, 128, 128);
190
+ }
191
+
192
+ div.summary > .admonition-title {
193
+ background-color: rgba(0, 128, 128, 0.1);
194
+ /* display: flex; */
195
+ /* align-items: center; */
196
+ }
197
+
198
+ [data-mode=light] div.summary > .admonition-title::after {
199
+ content: url("../_static/munchboka/icons/outline/light_mode/summary.svg");
200
+ width: 20px;
201
+ height: 20px;
202
+ }
203
+
204
+ @media (prefers-color-scheme: light) {
205
+ div.summary > .admonition-title::after {
206
+ content: url("../_static/munchboka/icons/outline/light_mode/summary.svg");
207
+ width: 20px;
208
+ height: 20px;
209
+ }
210
+ }
211
+
212
+
213
+ [data-mode=dark] div.summary > .admonition-title::after {
214
+ content: url("../_static/munchboka/icons/outline/dark_mode/summary.svg");
215
+ width: 20px;
216
+ height: 20px;
217
+ }
218
+
219
+ @media (prefers-color-scheme: dark) {
220
+ div.summary > .admonition-title::after {
221
+ content: url("../_static/munchboka/icons/outline/dark_mode/summary.svg");
222
+ width: 20px;
223
+ height: 20px;
224
+ }
225
+ }
226
+
227
+ [data-mode=light] div.summary {
228
+ background-color: white !important;
229
+ background-color: var(--admonition-background-color-light);
230
+ }
231
+
232
+
233
+ @media (prefers-color-scheme: light) {
234
+ div.summary {
235
+ background-color: var(--admonition-background-color-light);
236
+ }
237
+ }
238
+
239
+ /* Dark modes for problem-level-3 */
240
+
241
+ [data-mode=dark] div.summary {
242
+ background-color: var(--admonition-background-color-dark) !important;
243
+ }
244
+
245
+ @media (prefers-color-scheme: dark) {
246
+ div.summary {
247
+ background-color: var(--admonition-background-color-dark) !important;
248
+ }
249
+ }
250
+
251
+
252
+
253
+ /* Stil for teoriblokker */
254
+ div.theory {
255
+ border-left-color: rgb(0, 80, 171);
256
+ background-color: rgba(0, 80, 171, 0.1);
257
+ }
258
+
259
+
260
+ div.theory > .admonition-title {
261
+ background-color: rgba(0, 80, 160, 0.1);
262
+ position: relative;
263
+ }
264
+
265
+
266
+ [data-mode=light] div.theory > .admonition-title::after {
267
+ content: url("../_static/munchboka/icons/outline/light_mode/book.svg");
268
+ width: 20px;
269
+ height: 20px;
270
+ }
271
+
272
+ @media (prefers-color-scheme: light) {
273
+ div.theory > .admonition-title::after {
274
+ content: url("../_static/munchboka/icons/outline/light_mode/book.svg");
275
+ width: 20px;
276
+ height: 20px;
277
+ }
278
+ }
279
+
280
+ [data-mode=dark] div.theory > .admonition-title::after {
281
+ content: url("../_static/munchboka/icons/outline/dark_mode/book.svg");
282
+ width: 20px;
283
+ height: 20px;
284
+ }
285
+
286
+ @media (prefers-color-scheme: dark) {
287
+ div.theory > .admonition-title::after {
288
+ content: url("../_static/munchboka/icons/outline/dark_mode/book.svg");
289
+ width: 20px;
290
+ height: 20px;
291
+ }
292
+ }
293
+
294
+
295
+ [data-mode=light] div.theory {
296
+ background-color: white !important;
297
+ background-color: var(--admonition-background-color-light);
298
+ }
299
+
300
+
301
+ @media (prefers-color-scheme: light) {
302
+ div.theory {
303
+ background-color: var(--admonition-background-color-light);
304
+ }
305
+ }
306
+
307
+ /* Dark modes for problem-level-3 */
308
+
309
+ [data-mode=dark] div.theory {
310
+ background-color: var(--admonition-background-color-dark) !important;
311
+ }
312
+
313
+ @media (prefers-color-scheme: dark) {
314
+ div.theory {
315
+ background-color: var(--admonition-background-color-dark) !important;
316
+ }
317
+ }
318
+
319
+
320
+
321
+ /* Stil for eksempler */
322
+ [data-mode="dark"] div.explore {
323
+ border-left-color: rgba(0, 207, 207, 0.6);
324
+ }
325
+
326
+ [data-mode="light"] div.explore {
327
+ border-left-color: rgba(0, 131, 131, 0.6);
328
+ }
329
+
330
+ @media (prefers-color-scheme: light) {
331
+ div.explore {
332
+ border-left-color: rgba(0, 131, 131, 0.6);
333
+ }
334
+ }
335
+
336
+ @media (prefers-color-scheme: dark) {
337
+ div.explore {
338
+ border-left-color: rgba(0, 207, 207, 0.6);
339
+ }
340
+ }
341
+
342
+ div.explore > .admonition-title {
343
+ background-color: rgba(0, 128, 128, 0.3) !important;
344
+ }
345
+
346
+ div.explore > .admonition-title:before {
347
+ color: rgba(0, 128, 128, 0.6);
348
+ }
349
+
350
+
351
+ [data-mode=light] div.explore > .admonition-title::after {
352
+ content: url("../_static/munchboka/icons/outline/light_mode/magnifying.svg");
353
+ width: 20px;
354
+ height: 20px;
355
+ }
356
+
357
+ @media (prefers-color-scheme: light) {
358
+ div.explore > .admonition-title::after {
359
+ content: url("../_static/munchboka/icons/outline/light_mode/magniyfing.svg");
360
+ width: 20px;
361
+ height: 20px;
362
+ }
363
+ }
364
+
365
+ [data-mode=dark] div.explore > .admonition-title::after {
366
+ content: url("../_static/munchboka/icons/outline/dark_mode/magnifying.svg");
367
+ width: 20px;
368
+ height: 20px;
369
+ }
370
+
371
+ @media (prefers-color-scheme: dark) {
372
+ div.explore > .admonition-title::after {
373
+ content: url("../_static/munchboka/icons/outline/dark_mode/magnifying.svg");
374
+ width: 20px;
375
+ height: 20px;
376
+ }
377
+ }
378
+
379
+
380
+ [data-mode=light] div.explore {
381
+ background-color: white !important;
382
+ background-color: var(--admonition-background-color-light);
383
+ }
384
+
385
+
386
+ @media (prefers-color-scheme: light) {
387
+ div.explore {
388
+ background-color: var(--admonition-background-color-light);
389
+ }
390
+ }
391
+
392
+ /* Dark modes for problem-level-3 */
393
+
394
+ [data-mode=dark] div.explore {
395
+ background-color: var(--admonition-background-color-dark) !important;
396
+ }
397
+
398
+ @media (prefers-color-scheme: dark) {
399
+ div.explore {
400
+ background-color: var(--admonition-background-color-dark) !important;
401
+ }
402
+ }
403
+
404
+
405
+ /* Stil for eksempler */
406
+ div.example {
407
+ border-left-color: #FFC107;
408
+ }
409
+
410
+ div.example > .admonition-title {
411
+ background-color: #ffecb390 !important;
412
+ }
413
+
414
+ div.example > .admonition-title:before {
415
+ color: #ffecb399;
416
+ }
417
+
418
+ [data-mode=dark] div.example > .admonition-title {
419
+ background-color: #ff6f0013 !important;
420
+ }
421
+
422
+ @media (prefers-color-scheme: dark) {
423
+ div.example > .admonition-title {
424
+ background-color: #ff6f0013 !important;
425
+ }
426
+ }
427
+
428
+ @media (prefers-color-scheme: light) {
429
+ div.example > .admonition-title {
430
+ background-color: #ffecb390 !important;
431
+ }
432
+ }
433
+
434
+
435
+
436
+ [data-mode=light] div.example > .admonition-title::after {
437
+ content: url("../_static/munchboka/icons/outline/light_mode/pencil_square.svg");
438
+ width: 20px;
439
+ height: 20px;
440
+ }
441
+
442
+ @media (prefers-color-scheme: light) {
443
+ div.example > .admonition-title::after {
444
+ content: url("../_static/munchboka/icons/outline/light_mode/pencil_square.svg");
445
+ width: 20px;
446
+ height: 20px;
447
+ }
448
+ }
449
+
450
+ [data-mode=dark] div.example > .admonition-title::after {
451
+ content: url("../_static/munchboka/icons/outline/dark_mode/pencil_square.svg");
452
+ width: 20px;
453
+ height: 20px;
454
+ }
455
+
456
+ @media (prefers-color-scheme: dark) {
457
+ div.example > .admonition-title::after {
458
+ content: url("../_static/munchboka/icons/outline/dark_mode/pencil_square.svg");
459
+ width: 20px;
460
+ height: 20px;
461
+ }
462
+ }
463
+
464
+ [data-mode=light] div.example {
465
+ background-color: white !important;
466
+ background-color: var(--admonition-background-color-light);
467
+ }
468
+
469
+
470
+ @media (prefers-color-scheme: light) {
471
+ div.example {
472
+ background-color: var(--admonition-background-color-light);
473
+ }
474
+ }
475
+
476
+ /* Dark modes for problem-level-3 */
477
+
478
+ [data-mode=dark] div.example {
479
+ background-color: var(--admonition-background-color-dark) !important;
480
+ }
481
+
482
+ @media (prefers-color-scheme: dark) {
483
+ div.example {
484
+ background-color: var(--admonition-background-color-dark) !important;
485
+ }
486
+ }
487
+
488
+
489
+
490
+
491
+
492
+
493
+
494
+
495
+ /* Stil for fasit */
496
+ div.answer {
497
+ border-left-color: rgba(171, 86, 241, 0.6);
498
+ }
499
+
500
+ div.answer > .admonition-title {
501
+ background-color: rgba(171, 86, 241, 0);
502
+ }
503
+
504
+ div.answer > .admonition-title::before {
505
+ color: rgba(171, 86, 241, 0);
506
+ }
507
+
508
+
509
+ [data-mode=light] div.answer > .admonition-title::after {
510
+ content: url("../_static/munchboka/icons/outline/light_mode/square_check.svg");
511
+ width: 20px;
512
+ height: 20px;
513
+ }
514
+
515
+
516
+ @media (prefers-color-scheme: light) {
517
+ div.answer > .admonition-title::after {
518
+ content: url("../_static/munchboka/icons/outline/light_mode/square_check.svg");
519
+ width: 20px;
520
+ height: 20px;
521
+ }
522
+ }
523
+
524
+ [data-mode=dark] div.answer > .admonition-title::after {
525
+ content: url("../_static/munchboka/icons/outline/dark_mode/square_check.svg");
526
+ width: 20px;
527
+ height: 20px;
528
+ }
529
+
530
+ @media (prefers-color-scheme: dark) {
531
+ div.answer > .admonition-title::after {
532
+ content: url("../_static/munchboka/icons/outline/dark_mode/square_check.svg");
533
+ width: 20px;
534
+ height: 20px;
535
+ }
536
+ }
537
+
538
+
539
+
540
+
541
+ [data-mode=light] div.answer {
542
+ background-color: var(--admonition-background-color-light) !important;
543
+ }
544
+
545
+ [data-mode=dark] div.answer > .admonition-title {
546
+ background-color: rgba(33, 33, 60, 0.647) !important;
547
+ }
548
+
549
+ @media (prefers-color-scheme: dark) {
550
+ div.answer > .admonition-title {
551
+ background-color: rgba(33, 33, 60, 0.647) !important;
552
+ }
553
+ }
554
+
555
+ [data-mode=light] div.answer > .admonition-title {
556
+ background-color: white !important;
557
+ }
558
+
559
+ @media (prefers-color-scheme: light) {
560
+ div.answer > .admonition-title {
561
+ background-color: white !important;
562
+ }
563
+ }
564
+
565
+ @media (prefers-color-scheme: light) {
566
+ div.answer {
567
+ background-color: var(--admonition-background-color-light);
568
+ }
569
+ }
570
+
571
+
572
+ [data-mode=dark] div.answer {
573
+ background-color: var(--admonition-background-color-dark) !important;
574
+ }
575
+
576
+ @media (prefers-color-scheme: dark) {
577
+ div.answer {
578
+ background-color: var(--admonition-background-color-dark) !important;
579
+ }
580
+ }
581
+
582
+
583
+
584
+
585
+
586
+
587
+
588
+
589
+
590
+
591
+
592
+ /* Stil for løsningsforslag */
593
+ div.solution {
594
+ border-left-color: rgba(171, 86, 241, 0.6);
595
+ }
596
+
597
+ div.solution > .admonition-title {
598
+ background-color: rgba(171, 86, 241, 0);
599
+ }
600
+
601
+ div.solution > .admonition-title::before {
602
+ color: rgba(171, 86, 241, 0);
603
+ }
604
+
605
+ div.solution > .admonition-title::after {
606
+ content: url("../_static/munchboka/icons/outline/unlock.svg");
607
+ width: 20px;
608
+ height: 20px;
609
+ }
610
+
611
+
612
+ [data-mode=light] div.solution > .admonition-title::after {
613
+ content: url("../_static/munchboka/icons/outline/light_mode/unlock.svg");
614
+ width: 20px;
615
+ height: 20px;
616
+ }
617
+
618
+ @media (prefers-color-scheme: light) {
619
+ div.solution > .admonition-title::after {
620
+ content: url("../_static/munchboka/icons/outline/light_mode/unlock.svg");
621
+ width: 20px;
622
+ height: 20px;
623
+ }
624
+ }
625
+
626
+ [data-mode=dark] div.solution > .admonition-title::after {
627
+ content: url("../_static/munchboka/icons/outline/dark_mode/unlock.svg");
628
+ width: 20px;
629
+ height: 20px;
630
+ }
631
+
632
+ @media (prefers-color-scheme: dark) {
633
+ div.solution > .admonition-title::after {
634
+ content: url("../_static/munchboka/icons/outline/dark_mode/unlock.svg");
635
+ width: 20px;
636
+ height: 20px;
637
+ }
638
+ }
639
+
640
+
641
+ [data-mode=light] div.solution {
642
+ background-color: var(--admonition-background-color-light) !important;
643
+ }
644
+
645
+ [data-mode=dark] div.solution > .admonition-title {
646
+ background-color: rgba(33, 33, 60, 0.647) !important;
647
+ }
648
+
649
+ @media (prefers-color-scheme: dark) {
650
+ div.solution > .admonition-title {
651
+ background-color: rgba(33, 33, 60, 0.647) !important;
652
+ }
653
+ }
654
+
655
+ [data-mode=light] div.solution > .admonition-title {
656
+ background-color: white !important;
657
+ }
658
+
659
+ @media (prefers-color-scheme: light) {
660
+ div.solution > .admonition-title {
661
+ background-color: white !important;
662
+ }
663
+ }
664
+
665
+ @media (prefers-color-scheme: light) {
666
+ div.solution {
667
+ background-color: var(--admonition-background-color-light);
668
+ }
669
+ }
670
+
671
+ /* Dark modes for problem-level-3 */
672
+
673
+ [data-mode=dark] div.solution {
674
+ background-color: var(--admonition-background-color-dark) !important;
675
+ }
676
+
677
+ @media (prefers-color-scheme: dark) {
678
+ div.solution {
679
+ background-color: var(--admonition-background-color-dark) !important;
680
+ }
681
+ }
682
+
683
+
684
+
685
+
686
+
687
+
688
+
689
+
690
+
691
+
692
+ /* Stil for oppgaver: level 1 */
693
+ div.problem-level-1 {
694
+ border-left-color: rgba(0, 98, 190, 0.6);
695
+ }
696
+
697
+ div.problem-level-1 > .admonition-title {
698
+ background-color: rgba(0, 98, 190, 0.2);
699
+ display: flex;
700
+ align-items: center;
701
+ }
702
+
703
+ [data-mode=dark] div.problem-level-1 {
704
+ border-left-color: rgb(0, 98, 190, 0.8);
705
+ }
706
+
707
+ @media (prefers-color-scheme: dark) {
708
+ div.problem-level-1 {
709
+ border-left-color: rgb(0, 98, 190, 0.8);
710
+ }
711
+ }
712
+
713
+ /* div.problem-level-1 > .admonition-title::before {
714
+ color: rgba(0, 195, 255, 0.2);
715
+ } */
716
+
717
+ div.problem-level-1 > .admonition-title::after {
718
+ content:
719
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
720
+ width: 20px;
721
+ height: 20px;
722
+ display: inline-block;
723
+ white-space: nowrap;
724
+ }
725
+
726
+ [data-mode=light] div.problem-level-1 > .admonition-title::after {
727
+ content:
728
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
729
+ width: 20px;
730
+ height: 20px;
731
+ display: inline-block;
732
+ white-space: nowrap;
733
+ }
734
+
735
+ [data-mode=dark] div.problem-level-1 > .admonition-title::after {
736
+ content:
737
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg");
738
+ width: 20px;
739
+ height: 20px;
740
+ display: inline-block;
741
+ white-space: nowrap;
742
+ }
743
+
744
+ @media (prefers-color-scheme: light) {
745
+ div.problem-level-1 > .admonition-title::after {
746
+ content:
747
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
748
+ width: 20px;
749
+ height: 20px;
750
+ display: inline-block;
751
+ white-space: nowrap;
752
+ }
753
+ }
754
+
755
+ @media (prefers-color-scheme: dark) {
756
+ div.problem-level-1 > .admonition-title::after {
757
+ content:
758
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg");
759
+ width: 20px;
760
+ height: 20px;
761
+ display: inline-block;
762
+ white-space: nowrap;
763
+ }
764
+ }
765
+
766
+
767
+ /* Light modes for problem-level-1 */
768
+
769
+ [data-mode=light] div.problem-level-1 {
770
+ background-color: white !important;
771
+ background-color: var(--admonition-background-color-light);
772
+ }
773
+
774
+
775
+ @media (prefers-color-scheme: light) {
776
+ div.problem-level-1 {
777
+ background-color: var(--admonition-background-color-light);
778
+ }
779
+ }
780
+
781
+ /* Dark modes for problem-level-1 */
782
+
783
+ [data-mode=dark] div.problem-level-1 {
784
+ background-color: var(--admonition-background-color-dark) !important;
785
+ }
786
+
787
+ @media (prefers-color-scheme: dark) {
788
+ div.problem-level-1 {
789
+ background-color: var(--admonition-background-color-dark) !important;
790
+ }
791
+ }
792
+
793
+
794
+
795
+
796
+ /* Stil for oppgaver: level 2 */
797
+ div.problem-level-2 {
798
+ border-left-color: rgba(0, 98, 190, 0.6);
799
+ }
800
+
801
+ div.problem-level-2 > .admonition-title {
802
+ background-color: rgba(0, 98, 190, 0.2);
803
+ padding-left: 1.35cm;
804
+ display: flex;
805
+ align-items: center;
806
+ }
807
+
808
+
809
+ [data-mode=dark] div.problem-level-2 {
810
+ border-left-color: rgb(0, 98, 190, 0.8);
811
+ }
812
+
813
+ @media (prefers-color-scheme: dark) {
814
+ div.problem-level-2 {
815
+ border-left-color: rgb(0, 98, 190, 0.8);
816
+ }
817
+ }
818
+
819
+ /* div.problem-level-2 > .admonition-title::before {
820
+ color: rgba(0, 195, 255, 0.2);
821
+ } */
822
+
823
+ div.problem-level-2 > .admonition-title::after {
824
+ content:
825
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
826
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
827
+ width: 20px;
828
+ height: 20px;
829
+ display: inline-block;
830
+ white-space: nowrap;
831
+ }
832
+
833
+ [data-mode=light] div.problem-level-2 > .admonition-title::after {
834
+ content:
835
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
836
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
837
+ width: 20px;
838
+ height: 20px;
839
+ display: inline-block;
840
+ white-space: nowrap;
841
+ }
842
+
843
+ [data-mode=dark] div.problem-level-2 > .admonition-title::after {
844
+ content:
845
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
846
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg");
847
+ width: 20px;
848
+ height: 20px;
849
+ display: inline-block;
850
+ white-space: nowrap;
851
+ }
852
+
853
+ @media (prefers-color-scheme: light) {
854
+ div.problem-level-2 > .admonition-title::after {
855
+ content:
856
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
857
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
858
+ width: 20px;
859
+ height: 20px;
860
+ display: inline-block;
861
+ white-space: nowrap;
862
+ }
863
+ }
864
+
865
+
866
+ @media (prefers-color-scheme: dark) {
867
+ div.problem-level-2 > .admonition-title::after {
868
+ content:
869
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
870
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg");
871
+ width: 20px;
872
+ height: 20px;
873
+ display: inline-block;
874
+ white-space: nowrap;
875
+ }
876
+ }
877
+
878
+
879
+
880
+
881
+ /* Light modes for problem-level-2 */
882
+
883
+ [data-mode=light] div.problem-level-2 {
884
+ background-color: white !important;
885
+ background-color: var(--admonition-background-color-light);
886
+ }
887
+
888
+
889
+ @media (prefers-color-scheme: light) {
890
+ div.problem-level-2 {
891
+ background-color: var(--admonition-background-color-light);
892
+ }
893
+ }
894
+
895
+ /* Dark modes for problem-level-2 */
896
+
897
+ [data-mode=dark] div.problem-level-2 {
898
+ background-color: var(--admonition-background-color-dark) !important;
899
+ }
900
+
901
+ @media (prefers-color-scheme: dark) {
902
+ div.problem-level-2 {
903
+ background-color: var(--admonition-background-color-dark) !important;
904
+ }
905
+ }
906
+
907
+
908
+ /* Stil for oppgaver: level 3 */
909
+ div.problem-level-3 {
910
+ border-left-color: rgba(0, 98, 190, 0.6);
911
+ }
912
+
913
+ div.problem-level-3 > .admonition-title {
914
+ background-color: rgba(0, 98, 190, 0.2);
915
+ padding-left: 1.85cm;
916
+ display: flex;
917
+ align-items: center;
918
+ }
919
+
920
+
921
+ [data-mode=dark] div.problem-level-3 {
922
+ border-left-color: rgb(0, 98, 190, 0.8);
923
+ }
924
+
925
+ @media (prefers-color-scheme: dark) {
926
+ div.problem-level-3 {
927
+ border-left-color: rgb(0, 98, 190, 0.8);
928
+ }
929
+ }
930
+ /* div.problem-level-3 > .admonition-title::before {
931
+ color: rgba(0, 195, 255, 0.2);
932
+ } */
933
+
934
+ div.problem-level-3 > .admonition-title::after {
935
+ content:
936
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
937
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
938
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
939
+ width: 20px;
940
+ height: 20px;
941
+ display: inline-block;
942
+ white-space: nowrap;
943
+ }
944
+
945
+ [data-mode=light] div.problem-level-3 > .admonition-title::after {
946
+ content:
947
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
948
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
949
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
950
+ width: 20px;
951
+ height: 20px;
952
+ display: inline-block;
953
+ white-space: nowrap;
954
+ }
955
+
956
+ [data-mode=dark] div.problem-level-3 > .admonition-title::after {
957
+ content:
958
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
959
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
960
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg");
961
+ width: 20px;
962
+ height: 20px;
963
+ display: inline-block;
964
+ white-space: nowrap;
965
+ }
966
+
967
+ @media (prefers-color-scheme: light) {
968
+ div.problem-level-3 > .admonition-title::after {
969
+ content:
970
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
971
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
972
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
973
+ width: 20px;
974
+ height: 20px;
975
+ display: inline-block;
976
+ white-space: nowrap;
977
+ }
978
+ }
979
+
980
+
981
+ @media (prefers-color-scheme: dark) {
982
+ div.problem-level-3 > .admonition-title::after {
983
+ content:
984
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
985
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
986
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg");
987
+ width: 20px;
988
+ height: 20px;
989
+ display: inline-block;
990
+ white-space: nowrap;
991
+ }
992
+ }
993
+
994
+
995
+ /* Light modes for problem-level-3 */
996
+
997
+ [data-mode=light] div.problem-level-3 {
998
+ background-color: white !important;
999
+ background-color: var(--admonition-background-color-light);
1000
+ }
1001
+
1002
+
1003
+ @media (prefers-color-scheme: light) {
1004
+ div.problem-level-3 {
1005
+ background-color: var(--admonition-background-color-light);
1006
+ }
1007
+ }
1008
+
1009
+ /* Dark modes for problem-level-3 */
1010
+
1011
+ [data-mode=dark] div.problem-level-3 {
1012
+ background-color: var(--admonition-background-color-dark) !important;
1013
+ }
1014
+
1015
+ @media (prefers-color-scheme: dark) {
1016
+ div.problem-level-3 {
1017
+ background-color: var(--admonition-background-color-dark) !important;
1018
+ }
1019
+ }
1020
+
1021
+ /* Stil for eksempelkode */
1022
+ div.examplecode {
1023
+ border-left-color: rgba(241, 130, 86, 0.6);
1024
+ }
1025
+
1026
+ div.examplecode > .admonition-title {
1027
+ background-color: rgba(241, 130, 86, 0.3) !important;
1028
+ }
1029
+
1030
+ div.examplecode > .admonition-title:before {
1031
+ color: rgba(241, 130, 86, 0.3);
1032
+ }
1033
+
1034
+ div.examplecode > .admonition-title::after {
1035
+ content: "💻";
1036
+ white-space: nowrap;
1037
+ display: inline;
1038
+ }
1039
+
1040
+
1041
+ /* Stil for underveisoppgaver */
1042
+
1043
+
1044
+ [data-mode=light] div.check {
1045
+ border-left-color: rgba(0, 35, 190, 0.6);
1046
+ }
1047
+ @media (prefers-color-scheme: light) {
1048
+ div.check {
1049
+ border-left-color: rgba(0, 35, 190, 0.6);
1050
+ }
1051
+ }
1052
+
1053
+ [data-mode=dark] div.check {
1054
+ border-left-color: rgb(0, 68, 255);
1055
+ }
1056
+
1057
+ @media (prefers-color-scheme: dark) {
1058
+ div.check {
1059
+ border-left-color: rgb(0, 68, 255);
1060
+ }
1061
+ }
1062
+
1063
+
1064
+ div.check > .admonition-title {
1065
+ background-color: rgba(0, 35, 190, 0.2);
1066
+ }
1067
+
1068
+ div.check > .admonition-title::after {
1069
+ content: url("../_static/munchboka/icons/solid/pencil_square.svg");
1070
+ width: 20px;
1071
+ height: 20px;
1072
+ }
1073
+
1074
+ [data-mode=light] div.check > .admonition-title::after {
1075
+ content: url("../_static/munchboka/icons/solid/light_mode/pencil_square.svg");
1076
+ width: 20px;
1077
+ height: 20px;
1078
+ }
1079
+
1080
+ @media (prefers-color-scheme: light) {
1081
+ div.check > .admonition-title::after {
1082
+ content: url("../_static/munchboka/icons/solid/light_mode/pencil_square.svg");
1083
+ width: 20px;
1084
+ height: 20px;
1085
+ }
1086
+ }
1087
+
1088
+ [data-mode=dark] div.check > .admonition-title::after {
1089
+ content: url("../_static/munchboka/icons/solid/dark_mode/pencil_square.svg");
1090
+ width: 20px;
1091
+ height: 20px;
1092
+ }
1093
+
1094
+ @media (prefers-color-scheme: dark) {
1095
+ div.check > .admonition-title::after {
1096
+ content: url("../_static/munchboka/icons/solid/dark_mode/pencil_square.svg");
1097
+ width: 20px;
1098
+ height: 20px;
1099
+ }
1100
+ }
1101
+
1102
+
1103
+ /* Light modes for underveisoppgaver */
1104
+
1105
+ [data-mode=light] div.check {
1106
+ background-color: white !important;
1107
+ background-color: var(--admonition-background-color-light);
1108
+ }
1109
+
1110
+
1111
+ @media (prefers-color-scheme: light) {
1112
+ div.check {
1113
+ background-color: var(--admonition-background-color-light);
1114
+ }
1115
+ }
1116
+
1117
+ /* Dark modes for Underveisoppgaver */
1118
+
1119
+ [data-mode=dark] div.check {
1120
+ background-color: var(--admonition-background-color-dark) !important;
1121
+ }
1122
+
1123
+ @media (prefers-color-scheme: dark) {
1124
+ div.check {
1125
+ background-color: var(--admonition-background-color-dark) !important;
1126
+ }
1127
+ }
1128
+
1129
+
1130
+
1131
+
1132
+ /* Stil for diskusjonsspørsmål */
1133
+ div.discussion {
1134
+ border-left-color: rgba(15, 186, 3, 0.6);
1135
+ }
1136
+
1137
+ div.discussion > .admonition-title {
1138
+ background-color: rgba(15, 186, 3, 0.2);
1139
+ }
1140
+
1141
+ div.discussion > .admonition-title::before {
1142
+ color: rgba(15, 186, 3, 0.2);
1143
+ }
1144
+
1145
+ div.discussion > .admonition-title::after {
1146
+ content: "💬";
1147
+ }
1148
+
1149
+
1150
+ /* Stil for oppgaver med programmering */
1151
+ div.progging {
1152
+ border-left-color: rgba(0, 144, 176, 0.6);
1153
+ }
1154
+
1155
+ div.progging > .admonition-title {
1156
+ background-color: rgba(0, 144, 176, 0.2);
1157
+ }
1158
+
1159
+ div.progging > .admonition-title::before {
1160
+ color: rgba(0, 255, 213, 0.2);
1161
+ }
1162
+
1163
+ div.progging > .admonition-title::after {
1164
+ content: "💻";
1165
+ }
1166
+
1167
+
1168
+ /* Stil for side notes */
1169
+ div.sidenote {
1170
+ border-left-color: rgba(0, 195, 255, 0.6);
1171
+ }
1172
+
1173
+ div.sidenote > .admonition-title {
1174
+ background-color: rgba(0, 195, 255, 0.2);
1175
+ }
1176
+
1177
+ div.sidenote > .admonition-title::before {
1178
+ color: rgba(0, 195, 255, 0);
1179
+ }
1180
+
1181
+
1182
+
1183
+ [data-mode=light] div.sidenote > .admonition-title::after {
1184
+ content: url("../_static/munchboka/icons/solid/light_mode/scroll.svg");
1185
+ width: 20px;
1186
+ height: 20px;
1187
+ }
1188
+
1189
+ @media (prefers-color-scheme: light) {
1190
+ div.sidenote > .admonition-title::after {
1191
+ content: url("../_static/munchboka/icons/solid/light_mode/scroll.svg");
1192
+ width: 20px;
1193
+ height: 20px;
1194
+ }
1195
+ }
1196
+
1197
+ [data-mode=dark] div.sidenote > .admonition-title::after {
1198
+ content: url("../_static/munchboka/icons/solid/dark_mode/scroll.svg");
1199
+ width: 20px;
1200
+ height: 20px;
1201
+ }
1202
+
1203
+ @media (prefers-color-scheme: dark) {
1204
+ div.sidenote > .admonition-title::after {
1205
+ content: url("../_static/munchboka/icons/solid/dark_mode/scroll.svg");
1206
+ width: 20px;
1207
+ height: 20px;
1208
+ }
1209
+ }
1210
+
1211
+
1212
+
1213
+
1214
+
1215
+
1216
+ /* Stil for hints */
1217
+ div.hints {
1218
+ border-left-color: rgba(0, 195, 255, 0.6);
1219
+ }
1220
+
1221
+ div.hints > .admonition-title {
1222
+ background-color: rgba(0, 195, 255, 0);
1223
+ }
1224
+
1225
+ div.hints > .admonition-title::before {
1226
+ color: rgba(0, 195, 255, 0);
1227
+ }
1228
+
1229
+
1230
+ [data-mode=light] div.hints > .admonition-title::after {
1231
+ content: url("../_static/munchboka/icons/outline/light_mode/key.svg");
1232
+ width: 20px;
1233
+ height: 20px;
1234
+ }
1235
+
1236
+ @media (prefers-color-scheme: light) {
1237
+ div.hints > .admonition-title::after {
1238
+ content: url("../_static/munchboka/icons/outline/light_mode/key.svg");
1239
+ width: 20px;
1240
+ height: 20px;
1241
+ }
1242
+ }
1243
+
1244
+ [data-mode=dark] div.hints > .admonition-title::after {
1245
+ content: url("../_static/munchboka/icons/outline/dark_mode/key.svg");
1246
+ width: 20px;
1247
+ height: 20px;
1248
+ }
1249
+
1250
+ @media (prefers-color-scheme: dark) {
1251
+ div.hints > .admonition-title::after {
1252
+ content: url("../_static/munchboka/icons/outline/dark_mode/key.svg");
1253
+ width: 20px;
1254
+ height: 20px;
1255
+ }
1256
+ }
1257
+
1258
+
1259
+
1260
+ /* Stil for kodefeil */
1261
+ div.pythonerror {
1262
+ border-left-color: rgba(217, 0, 255, 0.6);
1263
+ }
1264
+
1265
+ div.pythonerror > .admonition-title {
1266
+ background-color: rgba(217, 0, 255, 0);
1267
+ }
1268
+
1269
+ div.pythonerror > .admonition-title::before {
1270
+ color: rgba(217, 0, 255, 0);
1271
+ }
1272
+
1273
+
1274
+ [data-mode=light] div.pythonerror > .admonition-title::after {
1275
+ content: url("../_static/munchboka/icons/solid/light_mode/python.svg");
1276
+ width: 20px;
1277
+ height: 20px;
1278
+ }
1279
+
1280
+ @media (prefers-color-scheme: light) {
1281
+ div.pythonerror > .admonition-title::after {
1282
+ content: url("../_static/munchboka/icons/solid/light_mode/python.svg");
1283
+ width: 20px;
1284
+ height: 20px;
1285
+ }
1286
+ }
1287
+
1288
+ [data-mode=dark] div.pythonerror > .admonition-title::after {
1289
+ content: url("../_static/munchboka/icons/solid/dark_mode/python.svg");
1290
+ width: 20px;
1291
+ height: 20px;
1292
+ }
1293
+
1294
+ @media (prefers-color-scheme: dark) {
1295
+ div.pythonerror > .admonition-title::after {
1296
+ content: url("../_static/munchboka/icons/solid/dark_mode/python.svg");
1297
+ width: 20px;
1298
+ height: 20px;
1299
+ }
1300
+ }
1301
+
1302
+
1303
+
1304
+
1305
+ /* Append an icon after the title in any admonition with the 'admonition-icon-write' class */
1306
+ .admonition.admonition-icon-write > .admonition-title::after {
1307
+ content: url('/_static/icons/stickers/edit.svg'); /* Path to your SVG icon */
1308
+ display: inline-block;
1309
+ margin-left: 8px; /* Space between the title and the new icon */
1310
+ vertical-align: middle; /* Aligns the icon vertically with the title */
1311
+ width: 24px; /* Adjust the icon size */
1312
+ height: 24px;
1313
+ }
1314
+
1315
+
1316
+
1317
+ [data-mode=light] blockquote {
1318
+ color: #007acc; /* Replace with any color code you prefer */
1319
+ background-color: rgba(183, 215, 255, 0.251); /* Replace with any color code you prefer */
1320
+ border-left: 5px solid #007acc; /* Optional: changes the left border color */
1321
+ padding-left: 10px; /* Optional: adds some padding */
1322
+ }
1323
+
1324
+ @media (prefers-color-scheme: light) {
1325
+ blockquote {
1326
+ color: #007acc !important; /* Replace with any color code you prefer */
1327
+ background-color: rgba(183, 215, 255, 0.251) !important; /* Replace with any color code you prefer */
1328
+ border-left: 5px solid #007acc !important; /* Optional: changes the left border color */
1329
+ padding-left: 10px; /* Optional: adds some padding */
1330
+ }
1331
+ }
1332
+
1333
+
1334
+ [data-mode=dark] blockquote {
1335
+ color: #007acc !important; /* Replace with any color code you prefer */
1336
+ background-color: #007acc26 !important; /* Replace with any color code you prefer */
1337
+ border-left: 5px solid #007acc !important; /* Optional: changes the left border color */
1338
+ padding-left: 10px; /* Optional: adds some padding */
1339
+ }
1340
+
1341
+ @media (prefers-color-scheme: dark) {
1342
+ blockquote {
1343
+ color: #007acc !important; /* Replace with any color code you prefer */
1344
+ background-color: #007acc26 !important; /* Replace with any color code you prefer */
1345
+ border-left: 5px solid #007acc !important; /* Optional: changes the left border color */
1346
+ padding-left: 10px; /* Optional: adds some padding */
1347
+ }
1348
+ }
1349
+
1350
+
1351
+
1352
+
1353
+
1354
+ .admonition.dropdown.toggle-hidden { /* Replace with your actual class */
1355
+ height: 40px !important; /* Adjust as needed */
1356
+ overflow: hidden !important; /* Hide any overflow */
1357
+ }
1358
+
1359
+
1360
+
1361
+
1362
+
1363
+
1364
+
1365
+
1366
+
1367
+
1368
+
1369
+ /* Stil for blandede oppgaver, eksamensoppgaver osv */
1370
+
1371
+
1372
+ [data-mode=light] div.exercise {
1373
+ border-left-color: rgba(0, 98, 190, 0.6);
1374
+ }
1375
+
1376
+ div.exercise > .admonition-title {
1377
+ background-color: rgba(0, 98, 190, 0.2);
1378
+ display: flex;
1379
+ align-items: center;
1380
+ }
1381
+
1382
+
1383
+ @media (prefers-color-scheme: light) {
1384
+ div.exercise {
1385
+ border-left-color: rgba(0, 98, 190, 0.6);
1386
+ }
1387
+ }
1388
+
1389
+ [data-mode=dark] div.exercise {
1390
+ border-left-color: rgb(0, 98, 190, 0.8);
1391
+ }
1392
+
1393
+ @media (prefers-color-scheme: dark) {
1394
+ div.exercise {
1395
+ border-left-color: rgb(0, 98, 190, 0.8);
1396
+ }
1397
+ }
1398
+
1399
+
1400
+ div.exercise > .admonition-title::after {
1401
+ content: url("../_static/munchboka/icons/solid/pencil_square.svg");
1402
+ width: 20px;
1403
+ height: 20px;
1404
+ }
1405
+
1406
+ [data-mode=light] div.exercise > .admonition-title::after {
1407
+ content: url("../_static/munchboka/icons/solid/light_mode/pencil_square.svg");
1408
+ width: 20px;
1409
+ height: 20px;
1410
+ }
1411
+
1412
+ @media (prefers-color-scheme: light) {
1413
+ div.exercise > .admonition-title::after {
1414
+ content: url("../_static/munchboka/icons/solid/light_mode/pencil_square.svg");
1415
+ width: 20px;
1416
+ height: 20px;
1417
+ }
1418
+ }
1419
+
1420
+ [data-mode=dark] div.exercise > .admonition-title::after {
1421
+ content: url("../_static/munchboka/icons/solid/dark_mode/pencil_square.svg");
1422
+ width: 20px;
1423
+ height: 20px;
1424
+ }
1425
+
1426
+ @media (prefers-color-scheme: dark) {
1427
+ div.exercise > .admonition-title::after {
1428
+ content: url("../_static/munchboka/icons/solid/dark_mode/pencil_square.svg");
1429
+ width: 20px;
1430
+ height: 20px;
1431
+ }
1432
+ }
1433
+
1434
+
1435
+ /* Light modes for underveisoppgaver */
1436
+
1437
+ [data-mode=light] div.exercise {
1438
+ background-color: white !important;
1439
+ background-color: var(--admonition-background-color-light);
1440
+ }
1441
+
1442
+
1443
+ @media (prefers-color-scheme: light) {
1444
+ div.exercise {
1445
+ background-color: var(--admonition-background-color-light);
1446
+ }
1447
+ }
1448
+
1449
+ /* Dark modes for Underveisoppgaver */
1450
+
1451
+ [data-mode=dark] div.exercise {
1452
+ background-color: var(--admonition-background-color-dark) !important;
1453
+ }
1454
+
1455
+ @media (prefers-color-scheme: dark) {
1456
+ div.exercise {
1457
+ background-color: var(--admonition-background-color-dark) !important;
1458
+ }
1459
+ }
1460
+
1461
+
1462
+
1463
+
1464
+
1465
+
1466
+ /* Stil med RPG-fargekoding for hver vanskelighetsgrad: Common */
1467
+
1468
+
1469
+ [data-mode=light] div.common {
1470
+ border-left-color: #26A69A;
1471
+ }
1472
+
1473
+ [data-mode=light] div.common > .admonition-title {
1474
+ background-color: #E0F2F1;
1475
+ display: flex;
1476
+ align-items: center;
1477
+ }
1478
+
1479
+
1480
+ @media (prefers-color-scheme: light) {
1481
+ div.common {
1482
+ border-left-color: #26A69A;
1483
+ }
1484
+ div.common > .admonition-title {
1485
+ background-color: #E0F2F1;
1486
+ display: flex;
1487
+ align-items: center;
1488
+ }
1489
+ }
1490
+
1491
+ [data-mode=dark] div.common {
1492
+ border-left-color: #00897B;
1493
+ }
1494
+
1495
+ [data-mode=dark] div.common > .admonition-title {
1496
+ background-color: #004d403f;
1497
+ display: flex;
1498
+ align-items: center;
1499
+ }
1500
+
1501
+ @media (prefers-color-scheme: dark) {
1502
+ div.common {
1503
+ border-left-color: #26A69A;
1504
+ }
1505
+
1506
+ div.common > .admonition-title {
1507
+ background-color: #004d403f;
1508
+ display: flex;
1509
+ align-items: center;
1510
+ }
1511
+ }
1512
+
1513
+
1514
+ div.common > .admonition-title::after {
1515
+ content:
1516
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
1517
+ width: 20px;
1518
+ height: 20px;
1519
+ display: inline-block;
1520
+ white-space: nowrap;
1521
+ }
1522
+
1523
+ [data-mode=light] div.common > .admonition-title::after {
1524
+ content:
1525
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
1526
+ width: 20px;
1527
+ height: 20px;
1528
+ display: inline-block;
1529
+ white-space: nowrap;
1530
+ }
1531
+
1532
+ @media (prefers-color-scheme: light) {
1533
+ div.common > .admonition-title::after {
1534
+ content:
1535
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
1536
+ width: 20px;
1537
+ height: 20px;
1538
+ display: inline-block;
1539
+ white-space: nowrap;
1540
+ }
1541
+ }
1542
+
1543
+ [data-mode=dark] div.common > .admonition-title::after {
1544
+ content:
1545
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg");
1546
+ width: 20px;
1547
+ height: 20px;
1548
+ display: inline-block;
1549
+ white-space: nowrap;
1550
+ }
1551
+
1552
+ @media (prefers-color-scheme: dark) {
1553
+ div.common > .admonition-title::after {
1554
+ content:
1555
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg");
1556
+ width: 20px;
1557
+ height: 20px;
1558
+ display: inline-block;
1559
+ white-space: nowrap;
1560
+ }
1561
+ }
1562
+
1563
+
1564
+ /* Light modes for underveisoppgaver */
1565
+
1566
+ [data-mode=light] div.common {
1567
+ background-color: white !important;
1568
+ background-color: var(--admonition-background-color-light);
1569
+ }
1570
+
1571
+
1572
+ @media (prefers-color-scheme: light) {
1573
+ div.common {
1574
+ background-color: var(--admonition-background-color-light);
1575
+ }
1576
+ }
1577
+
1578
+ /* Dark modes for Underveisoppgaver */
1579
+
1580
+ [data-mode=dark] div.common {
1581
+ background-color: var(--admonition-background-color-dark) !important;
1582
+ }
1583
+
1584
+ @media (prefers-color-scheme: dark) {
1585
+ div.common {
1586
+ background-color: var(--admonition-background-color-dark) !important;
1587
+ }
1588
+ }
1589
+
1590
+
1591
+
1592
+
1593
+
1594
+
1595
+
1596
+
1597
+
1598
+ /* Stil med RPG-fargekoding for hver vanskelighetsgrad: Rare */
1599
+ [data-mode=light] div.rare {
1600
+ border-left-color: #1E88E5;
1601
+ }
1602
+
1603
+ div.rare > .admonition-title {
1604
+ padding-left: 1.35cm;
1605
+ display: flex;
1606
+ align-items: center;
1607
+ }
1608
+
1609
+ [data-mode=light] div.rare > .admonition-title {
1610
+ background-color: #E3F2FD;
1611
+ padding-left: 1.35cm;
1612
+ display: flex;
1613
+ align-items: center;
1614
+ }
1615
+
1616
+
1617
+
1618
+ @media (prefers-color-scheme: light) {
1619
+ div.rare {
1620
+ border-left-color: #1E88E5;
1621
+ }
1622
+
1623
+ div.rare > .admonition-title {
1624
+ background-color: #E3F2FD;
1625
+ padding-left: 1.35cm;
1626
+ display: flex;
1627
+ align-items: center;
1628
+ }
1629
+ }
1630
+
1631
+
1632
+ [data-mode=dark] div.rare {
1633
+ border-left-color: #1E88E5;
1634
+ }
1635
+
1636
+ [data-mode=dark] div.rare > .admonition-title {
1637
+ background-color: #0d48a134;
1638
+ }
1639
+
1640
+
1641
+
1642
+ @media (prefers-color-scheme: dark) {
1643
+ div.rare {
1644
+ border-left-color: #1E88E5;
1645
+ }
1646
+
1647
+ div.rare > .admonition-title {
1648
+ background-color: #0d48a134;
1649
+ }
1650
+ }
1651
+
1652
+
1653
+ div.rare > .admonition-title::after {
1654
+ content:
1655
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
1656
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
1657
+ width: 20px;
1658
+ height: 20px;
1659
+ display: inline-block;
1660
+ white-space: nowrap;
1661
+ }
1662
+
1663
+ [data-mode=light] div.rare > .admonition-title::after {
1664
+ content:
1665
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
1666
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
1667
+ width: 20px;
1668
+ height: 20px;
1669
+ display: inline-block;
1670
+ white-space: nowrap;
1671
+ }
1672
+
1673
+ @media (prefers-color-scheme: light) {
1674
+ div.rare > .admonition-title::after {
1675
+ content:
1676
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
1677
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
1678
+ width: 20px;
1679
+ height: 20px;
1680
+ display: inline-block;
1681
+ white-space: nowrap;
1682
+ }
1683
+ }
1684
+
1685
+ [data-mode=dark] div.rare > .admonition-title::after {
1686
+ content:
1687
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
1688
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg");
1689
+ width: 20px;
1690
+ height: 20px;
1691
+ display: inline-block;
1692
+ white-space: nowrap;
1693
+ }
1694
+
1695
+ @media (prefers-color-scheme: dark) {
1696
+ div.rare > .admonition-title::after {
1697
+ content:
1698
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
1699
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg");
1700
+ width: 20px;
1701
+ height: 20px;
1702
+ display: inline-block;
1703
+ white-space: nowrap;
1704
+ }
1705
+ }
1706
+
1707
+
1708
+ /* Light modes for underveisoppgaver */
1709
+
1710
+ [data-mode=light] div.rare {
1711
+ background-color: white !important;
1712
+ background-color: var(--admonition-background-color-light);
1713
+ }
1714
+
1715
+
1716
+ @media (prefers-color-scheme: light) {
1717
+ div.rare {
1718
+ background-color: var(--admonition-background-color-light);
1719
+ }
1720
+ }
1721
+
1722
+ /* Dark modes for Underveisoppgaver */
1723
+
1724
+ [data-mode=dark] div.rare {
1725
+ background-color: var(--admonition-background-color-dark) !important;
1726
+ }
1727
+
1728
+ @media (prefers-color-scheme: dark) {
1729
+ div.rare {
1730
+ background-color: var(--admonition-background-color-dark) !important;
1731
+ }
1732
+ }
1733
+
1734
+
1735
+
1736
+
1737
+
1738
+
1739
+
1740
+
1741
+
1742
+
1743
+
1744
+
1745
+ /* Stil med RPG-fargekoding for hver vanskelighetsgrad: Epic */
1746
+ [data-mode=light] div.epic {
1747
+ border-left-color: #9C27B0;
1748
+ }
1749
+
1750
+ [data-mode=light] div.epic > .admonition-title {
1751
+ background-color: #F3E5F5;
1752
+ padding-left: 1.85cm;
1753
+ display: flex;
1754
+ align-items: center;
1755
+ }
1756
+
1757
+
1758
+ @media (prefers-color-scheme: light) {
1759
+ div.epic {
1760
+ border-left-color: #9C27B0;
1761
+ }
1762
+ div.epic > .admonition-title {
1763
+ background-color: #F3E5F5;
1764
+ padding-left: 1.85cm;
1765
+ display: flex;
1766
+ align-items: center;
1767
+ }
1768
+ }
1769
+
1770
+ [data-mode=dark] div.epic{
1771
+ border-left-color: #9C27B0;
1772
+ }
1773
+
1774
+ [data-mode=dark] div.epic > .admonition-title {
1775
+ background-color: #691b9a31;
1776
+ padding-left: 1.85cm;
1777
+ display: flex;
1778
+ align-items: center;
1779
+ }
1780
+
1781
+ @media (prefers-color-scheme: dark) {
1782
+ div.epic {
1783
+ border-left-color: #9C27B0;
1784
+ }
1785
+ div.epic > .admonition-title {
1786
+ background-color: #691b9a31;
1787
+ padding-left: 1.85cm;
1788
+ display: flex;
1789
+ align-items: center;
1790
+ }
1791
+ }
1792
+
1793
+
1794
+ div.epic > .admonition-title::after {
1795
+ content:
1796
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
1797
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
1798
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
1799
+ width: 20px;
1800
+ height: 20px;
1801
+ display: inline-block;
1802
+ white-space: nowrap;
1803
+ }
1804
+
1805
+ [data-mode=light] div.epic > .admonition-title::after {
1806
+ content:
1807
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
1808
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
1809
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
1810
+ width: 20px;
1811
+ height: 20px;
1812
+ display: inline-block;
1813
+ white-space: nowrap;
1814
+ }
1815
+
1816
+ @media (prefers-color-scheme: light) {
1817
+ div.epic > .admonition-title::after {
1818
+ content:
1819
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
1820
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
1821
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
1822
+ width: 20px;
1823
+ height: 20px;
1824
+ display: inline-block;
1825
+ white-space: nowrap;
1826
+ }
1827
+ }
1828
+
1829
+ [data-mode=dark] div.epic > .admonition-title::after {
1830
+ content:
1831
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
1832
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
1833
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg");
1834
+ width: 20px;
1835
+ height: 20px;
1836
+ display: inline-block;
1837
+ white-space: nowrap;
1838
+ }
1839
+
1840
+ @media (prefers-color-scheme: dark) {
1841
+ div.epic > .admonition-title::after {
1842
+ content:
1843
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
1844
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
1845
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg");
1846
+ width: 20px;
1847
+ height: 20px;
1848
+ display: inline-block;
1849
+ white-space: nowrap;
1850
+ }
1851
+ }
1852
+
1853
+
1854
+ /* Light modes for underveisoppgaver */
1855
+
1856
+ [data-mode=light] div.epic {
1857
+ background-color: white !important;
1858
+ background-color: var(--admonition-background-color-light);
1859
+ }
1860
+
1861
+
1862
+ @media (prefers-color-scheme: light) {
1863
+ div.epic {
1864
+ background-color: var(--admonition-background-color-light);
1865
+ }
1866
+ }
1867
+
1868
+ /* Dark modes for Underveisoppgaver */
1869
+
1870
+ [data-mode=dark] div.epic {
1871
+ background-color: var(--admonition-background-color-dark) !important;
1872
+ }
1873
+
1874
+ @media (prefers-color-scheme: dark) {
1875
+ div.epic {
1876
+ background-color: var(--admonition-background-color-dark) !important;
1877
+ }
1878
+ }
1879
+
1880
+
1881
+
1882
+
1883
+
1884
+
1885
+ /* Stil med RPG-fargekoding for hver vanskelighetsgrad: Legendary */
1886
+ div.legendary > .admonition-title {
1887
+ padding-left: 2.35cm;
1888
+ display: flex;
1889
+ align-items: center;
1890
+ }
1891
+
1892
+
1893
+
1894
+ [data-mode=light] div.legendary {
1895
+ border-left-color: #FFA000;
1896
+ }
1897
+
1898
+ [data-mode=light] div.legendary > .admonition-title {
1899
+ background-color:#FFF8E1;
1900
+ display: flex;
1901
+ align-items: center;
1902
+ }
1903
+
1904
+
1905
+ @media (prefers-color-scheme: light) {
1906
+ div.legendary {
1907
+ border-left-color: #FF9700;
1908
+ }
1909
+
1910
+ div.legendary > .admonition-title {
1911
+ background-color: #ffe0b2;
1912
+ }
1913
+ }
1914
+
1915
+ [data-mode=dark] div.legendary {
1916
+ border-left-color: #FFA000;
1917
+ }
1918
+
1919
+ [data-mode=dark] div.legendary > .admonition-title {
1920
+ background-color: #ff6f000c;
1921
+ }
1922
+
1923
+ @media (prefers-color-scheme: dark) {
1924
+ div.legendary {
1925
+ border-left-color: #FFA000;
1926
+ }
1927
+
1928
+ div.legendary > .admonition-title {
1929
+ background-color: #ff6f000c;
1930
+ }
1931
+ }
1932
+
1933
+
1934
+ [data-mode=light] div.legendary > .admonition-title::after {
1935
+ content:
1936
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
1937
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
1938
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
1939
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
1940
+ width: 20px;
1941
+ height: 20px;
1942
+ display: inline-block;
1943
+ white-space: nowrap;
1944
+ }
1945
+
1946
+ @media (prefers-color-scheme: light) {
1947
+ div.legendary > .admonition-title::after {
1948
+ content:
1949
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
1950
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
1951
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg") ""
1952
+ url("../_static/munchboka/icons/outline/light_mode/fire.svg");
1953
+ width: 20px;
1954
+ height: 20px;
1955
+ display: inline-block;
1956
+ white-space: nowrap;
1957
+ }
1958
+ }
1959
+
1960
+ [data-mode=dark] div.legendary > .admonition-title::after {
1961
+ content:
1962
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
1963
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
1964
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
1965
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg");
1966
+ width: 20px;
1967
+ height: 20px;
1968
+ display: inline-block;
1969
+ white-space: nowrap;
1970
+ }
1971
+
1972
+ @media (prefers-color-scheme: dark) {
1973
+ div.legendary > .admonition-title::after {
1974
+ content:
1975
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
1976
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
1977
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg") ""
1978
+ url("../_static/munchboka/icons/outline/dark_mode/fire.svg");
1979
+ width: 20px;
1980
+ height: 20px;
1981
+ display: inline-block;
1982
+ white-space: nowrap;
1983
+ }
1984
+ }
1985
+
1986
+
1987
+ /* Light modes for underveisoppgaver */
1988
+
1989
+ [data-mode=light] div.legendary {
1990
+ background-color: white !important;
1991
+ background-color: var(--admonition-background-color-light);
1992
+ }
1993
+
1994
+
1995
+ @media (prefers-color-scheme: light) {
1996
+ div.legendary {
1997
+ background-color: var(--admonition-background-color-light);
1998
+ }
1999
+ }
2000
+
2001
+ /* Dark modes for Underveisoppgaver */
2002
+
2003
+ [data-mode=dark] div.legendary {
2004
+ background-color: var(--admonition-background-color-dark) !important;
2005
+ }
2006
+
2007
+ @media (prefers-color-scheme: dark) {
2008
+ div.legendary {
2009
+ background-color: var(--admonition-background-color-dark) !important;
2010
+ }
2011
+ }
2012
+