@@ -30,7 +30,7 @@ body[data-notebook='notebooks'] .jp-WindowedPanel-inner {
30
30
}
31
31
32
32
body [data-notebook = 'notebooks' ] .jp-Notebook > * : first-child : not (: last-child ) {
33
- box-shadow : 0px 0px 12px 1px rgb ( 87 87 87 / 20 % );
33
+ box-shadow : 0px 0px 12px 1px var ( --jp-shadow-umbra-color );
34
34
}
35
35
36
36
body [data-notebook = 'notebooks' ] .jp-Notebook {
@@ -47,8 +47,11 @@ body[data-notebook='notebooks'] .jp-Notebook {
47
47
48
48
body [data-notebook = 'notebooks' ] .jp-Notebook .jp-mod-scrollPastEnd ::after {
49
49
background : var (--jp-layout-color0 );
50
- min-height : var (--jp-notebook-toolbar-margin-bottom );
51
- margin-top : var (--jp-cell-padding );
50
+ min-height : 0 ;
51
+ }
52
+
53
+ body [data-notebook = 'notebooks' ] .jp-WindowedPanel-window > * : last-child {
54
+ padding-bottom : 10px ;
52
55
}
53
56
54
57
body [data-notebook = 'notebooks' ]
@@ -190,3 +193,35 @@ body[data-notebook='notebooks'] .jp-Notebook-cell {
190
193
padding-left : calc (2 * var (--jp-cell-padding ));
191
194
padding-right : calc (2 * var (--jp-cell-padding ));
192
195
}
196
+
197
+ /* Notebook box shadow */
198
+
199
+ body [data-notebook = 'notebooks' ] .jp-Notebook > * : first-child : not (: last-child ) {
200
+ box-shadow : 0px 0px 12px 1px var (--jp-shadow-umbra-color );
201
+ }
202
+
203
+ body [data-notebook = 'notebooks' ]
204
+ .jp-Notebook
205
+ > * : first-child : last-child ::before {
206
+ content : '' ;
207
+ position : absolute;
208
+ top : 0 ;
209
+ bottom : 0 ;
210
+ left : 0 ;
211
+ right : 0 ;
212
+ box-shadow : 0px 0px 12px 1px var (--jp-shadow-umbra-color );
213
+ margin-bottom : -11px ;
214
+ }
215
+
216
+ body [data-notebook = 'notebooks' ]
217
+ .jp-Notebook
218
+ .jp-Notebook-cell : not (: first- child)::after ,
219
+ body [data-notebook = 'notebooks' ]
220
+ .jp-Notebook
221
+ .jp-Notebook-cell : not (: first-child )::before {
222
+ content : ' ' ;
223
+ height : 100% ;
224
+ position : absolute;
225
+ top : 0 ;
226
+ width : 11px ;
227
+ }
0 commit comments