24
24
25
25
/* General admonition styling */
26
26
/* TODO: Write this in a way that supports the light theme */
27
+ [data-md-color-scheme = "slate" ] .md-typeset details ,
27
28
[data-md-color-scheme = "slate" ] .md-typeset .admonition {
28
29
border-color : transparent !important ;
29
30
}
36
37
font-size : 0.7rem ;
37
38
}
38
39
40
+ .md-typeset .admonition : focus-within ,
41
+ .md-typeset details : focus-within {
42
+ box-shadow : var (--md-shadow-z1 ) !important ;
43
+ }
44
+
39
45
/* Colors for "summary" admonition */
40
46
[data-md-color-scheme = "slate" ] .md-typeset .admonition .summary {
41
47
background : # 353a45 ;
227
233
margin : 0 ;
228
234
border-radius : 0 10px 10px 0 ;
229
235
font-weight : 600 ;
236
+ overflow : hidden;
230
237
}
231
238
232
239
.md-sidebar__scrollwrap {
@@ -341,15 +348,15 @@ h2#overview {
341
348
}
342
349
343
350
.md-typeset .tabbed-block {
344
- border-bottom-left-radius : 16 px ;
345
- border-bottom-right-radius : 16 px ;
346
- border-bottom : 20 px solid var ( --tabbed-labels-color ) ;
351
+ border-bottom-left-radius : 8 px ;
352
+ border-bottom-right-radius : 8 px ;
353
+ overflow : hidden ;
347
354
}
348
355
349
356
.js .md-typeset .tabbed-labels {
350
357
background : var (--tabbed-labels-color );
351
- border-top-left-radius : 16 px ;
352
- border-top-right-radius : 16 px ;
358
+ border-top-left-radius : 8 px ;
359
+ border-top-right-radius : 8 px ;
353
360
}
354
361
355
362
.md-typeset .tabbed-labels > label {
@@ -362,3 +369,8 @@ h2#overview {
362
369
.md-typeset pre > code {
363
370
max-height : var (--code-max-height );
364
371
}
372
+
373
+ /* Reduce height of outdated banner */
374
+ .md-banner__inner {
375
+ margin : 0.45rem auto;
376
+ }
0 commit comments