-
Notifications
You must be signed in to change notification settings - Fork 5.2k
/
Copy pathbase.css
110 lines (92 loc) · 2.45 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/
:root {
--jp-private-topbar-height: 28px;
/* Override the layout-2 color for the dark theme */
--md-grey-800: #323232;
--jp-notebook-max-width: 1200px;
}
/*
Override the default background
See https://github.com/jupyterlab/jupyterlab/pull/16519 for more information
*/
body.jp-ThemedContainer {
margin: 0;
padding: 0;
background: var(--jp-layout-color2);
}
#main.jp-ThemedContainer {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--jp-layout-color2);
}
#top-panel-wrapper {
min-height: calc(1.5 * var(--jp-private-topbar-height));
border-bottom: var(--jp-border-width) solid var(--jp-border-color0);
background: var(--jp-layout-color1);
}
#top-panel {
display: flex;
min-height: calc(1.5 * var(--jp-private-topbar-height));
padding-left: 5px;
padding-right: 5px;
margin-left: auto;
margin-right: auto;
max-width: 1200px;
}
#menu-panel-wrapper {
min-height: var(--jp-private-topbar-height);
background: var(--jp-layout-color1);
border-bottom: var(--jp-border-width) solid var(--jp-border-color0);
box-shadow: var(--jp-elevation-z1);
}
#menu-panel {
display: flex;
min-height: var(--jp-private-topbar-height);
background: var(--jp-layout-color1);
padding-left: 5px;
padding-right: 5px;
margin-left: auto;
margin-right: auto;
max-width: var(--jp-notebook-max-width);
}
#main-panel {
margin-left: auto;
margin-right: auto;
max-width: var(--jp-notebook-max-width);
}
#spacer-widget-top {
min-height: 16px;
}
/* Only edit pages should have a bottom space */
body[data-notebook='edit'] #spacer-widget-bottom {
min-height: 16px;
}
/* Special case notebooks as document oriented pages */
[data-notebook]:not(body[data-notebook='notebooks']) #main-panel {
box-shadow: var(--jp-elevation-z4);
}
.jp-TreePanel > .lm-TabPanel-stackedPanel {
box-shadow: var(--jp-elevation-z4);
}
body[data-notebook='notebooks'] #main-panel {
margin-left: unset;
margin-right: unset;
max-width: unset;
}
body[data-notebook='notebooks'] #spacer-widget-top {
min-height: unset;
}
#main-panel > .jp-TreePanel {
padding: 0px 5px;
}
@media only screen and (max-width: 760px) {
#main-panel > .jp-TreePanel {
margin: 0px -5px;
}
}