|
1 |
| -.ignore-css{all:unset !important;} |
| 1 | +.ignore-css { |
| 2 | + all: unset !important; |
| 3 | +} |
2 | 4 |
|
3 | 5 | /* https://gitter.im/pyviz/pyviz?at=5e8efb2b16f84f0461683446 */
|
4 | 6 | .panel-widget-box.bk form {
|
5 |
| - display: none !important; |
6 |
| - margin-left: auto !important; |
7 |
| - margin-right: auto !important; |
8 |
| - width: 25%; |
| 7 | + display: none !important; |
| 8 | + margin-left: auto !important; |
| 9 | + margin-right: auto !important; |
| 10 | + width: 25%; |
| 11 | +} |
| 12 | + |
| 13 | +/* Some additional styling taken form the Jupyter notebook CSS */ |
| 14 | +/* but changed `rendered_html` to `text_html` */ |
| 15 | + |
| 16 | +div.text_html table { |
| 17 | + border: none; |
| 18 | + border-collapse: collapse; |
| 19 | + border-spacing: 0; |
| 20 | + /* color: black; */ |
| 21 | + font-size: 12px; |
| 22 | + table-layout: fixed; |
| 23 | +} |
| 24 | +div.text_html thead { |
| 25 | + border-bottom: 1px solid; |
| 26 | + vertical-align: bottom; |
| 27 | +} |
| 28 | +div.text_html tr, |
| 29 | +div.text_html th, |
| 30 | +div.text_html td { |
| 31 | + text-align: right; |
| 32 | + vertical-align: middle; |
| 33 | + padding: 0.5em 0.5em; |
| 34 | + line-height: normal; |
| 35 | + white-space: normal; |
| 36 | + max-width: none; |
| 37 | + border: none; |
| 38 | +} |
| 39 | +div.text_html th { |
| 40 | + font-weight: bold; |
| 41 | +} |
| 42 | + |
| 43 | +/* alternating color light theme */ |
| 44 | +body[data-theme="light"] div.text_html tbody tr:nth-child(odd) { |
| 45 | + background: #f5f5f5; |
| 46 | +} |
| 47 | +body[data-theme="light"] div.text_html tbody tr:hover { |
| 48 | + background: rgba(66, 165, 245, 0.2); |
| 49 | +} |
| 50 | + |
| 51 | +/* alternating color dark theme */ |
| 52 | +body[data-theme="dark"] div.text_html tbody tr:nth-child(odd) { |
| 53 | + background: #696969; |
| 54 | +} |
| 55 | +body[data-theme="dark"] div.text_html tbody tr:hover { |
| 56 | + background: rgba(175, 175, 175, 0.2); |
| 57 | +} |
| 58 | + |
| 59 | +/* for rendered markdown on meta_data.md docs */ |
| 60 | +body[data-theme="dark"] .widget-html-content { |
| 61 | + color: #f5f5f5; |
9 | 62 | }
|
0 commit comments