-
Notifications
You must be signed in to change notification settings - Fork 15
/
base.css
42 lines (34 loc) · 835 Bytes
/
base.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
See the JupyterLab Developer Guide for useful CSS Patterns:
https://jupyterlab.readthedocs.io/en/stable/developer/css.html
*/
@import 'app.css';
@import '~katex/dist/katex.css';
/* Allow overflow on input areas for myst */
.jp-MySTMarkdownCell .jp-InputArea,
.jp-MySTMarkdownCell .jp-InputArea > .p-Widget {
overflow: visible;
}
.myst p .lm-Widget img {
height: 1.5em;
transform: translateY(25%);
}
.myst .lm-Widget {
overflow: inherit;
}
.myst .jp-RenderedHTMLCommon > *:last-child {
margin-bottom: 0;
}
.myst .jp-RenderedHTMLCommon {
padding-right: 0.1em;
}
.myst .jp-RenderedText {
text-align: left;
padding-left: 0;
line-height: inherit;
}
/* Markdown viewer */
.jp-Document .jp-MarkdownViewer .jp-RenderedMySTMarkdown {
padding: var(--jp-private-markdownviewer-padding);
overflow: auto;
}