|
3252 | 3252 | }, |
3253 | 3253 | { |
3254 | 3254 | "cell_type": "code", |
3255 | | - "execution_count": null, |
| 3255 | + "execution_count": 1, |
3256 | 3256 | "id": "bbd508b4", |
3257 | 3257 | "metadata": { |
3258 | 3258 | "tags": [ |
|
3265 | 3265 | "text/html": [ |
3266 | 3266 | "\n", |
3267 | 3267 | " <style>\n", |
3268 | | - " /* to remove the background color in dark mode */\n", |
3269 | | - " div#flip-card .output.text_html {\n", |
3270 | | - " background-color: transparent;\n", |
| 3268 | + " .output.text_html {\n", |
| 3269 | + " --pst-color-text-base: transparent !important;\n", |
3271 | 3270 | " }\n", |
3272 | 3271 | " .flip-card-q1 {\n", |
3273 | 3272 | " background-color: transparent;\n", |
|
3316 | 3315 | " background-color: #a8d480;\n", |
3317 | 3316 | " transform: rotateY(180deg);\n", |
3318 | 3317 | " font-size: 20px;\n", |
3319 | | - " }\n", |
| 3318 | + " }_b\n", |
3320 | 3319 | " </style>\n", |
3321 | 3320 | "\n", |
3322 | 3321 | " <div class=\"flip-card-q1\">\n", |
|
3347 | 3346 | "text/html": [ |
3348 | 3347 | "\n", |
3349 | 3348 | " <style>\n", |
3350 | | - " /* to remove the background color in dark mode */\n", |
3351 | | - " div#flip-card .output.text_html {\n", |
3352 | | - " background-color: transparent;\n", |
| 3349 | + " .output.text_html {\n", |
| 3350 | + " --pst-color-text-base: transparent !important;\n", |
3353 | 3351 | " }\n", |
3354 | 3352 | " .flip-card-q2 {\n", |
3355 | 3353 | " background-color: transparent;\n", |
|
3398 | 3396 | " background-color: #a8d480;\n", |
3399 | 3397 | " transform: rotateY(180deg);\n", |
3400 | 3398 | " font-size: 20px;\n", |
3401 | | - " }\n", |
| 3399 | + " }_b\n", |
3402 | 3400 | " </style>\n", |
3403 | 3401 | "\n", |
3404 | 3402 | " <div class=\"flip-card-q2\">\n", |
|
3429 | 3427 | "text/html": [ |
3430 | 3428 | "\n", |
3431 | 3429 | " <style>\n", |
3432 | | - " /* to remove the background color in dark mode */\n", |
3433 | | - " div#flip-card .output.text_html {\n", |
3434 | | - " background-color: transparent;\n", |
| 3430 | + " .output.text_html {\n", |
| 3431 | + " --pst-color-text-base: transparent !important;\n", |
3435 | 3432 | " }\n", |
3436 | 3433 | " .flip-card-q3 {\n", |
3437 | 3434 | " background-color: transparent;\n", |
|
3480 | 3477 | " background-color: #a8d480;\n", |
3481 | 3478 | " transform: rotateY(180deg);\n", |
3482 | 3479 | " font-size: 20px;\n", |
3483 | | - " }\n", |
| 3480 | + " }_b\n", |
3484 | 3481 | " </style>\n", |
3485 | 3482 | "\n", |
3486 | 3483 | " <div class=\"flip-card-q3\">\n", |
|
0 commit comments