File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 8484 border-color : # ffffff17 !important ;
8585}
8686
87- /* Colors for "abstract " admonition */
88- [data-md-color-scheme = "slate" ] .md-typeset .admonition .abstract ,
89- [data-md-color-scheme = "slate" ] .md-typeset details .abstract {
87+ /* Colors for "note " admonition */
88+ [data-md-color-scheme = "slate" ] .md-typeset .admonition .note ,
89+ [data-md-color-scheme = "slate" ] .md-typeset details .note {
9090 background : rgb (43 110 98 / 0.2 );
9191 padding : 0.8rem 1.4rem ;
9292 border-radius : 0.8rem ;
9393}
9494
95- [data-md-color-scheme = "slate" ] .md-typeset .abstract .admonition-title ,
96- [data-md-color-scheme = "slate" ] .md-typeset .abstract summary {
95+ [data-md-color-scheme = "slate" ] .md-typeset .note .admonition-title ,
96+ [data-md-color-scheme = "slate" ] .md-typeset .note summary {
9797 font-size : 1rem ;
9898 background : transparent;
9999 padding-bottom : 0 ;
100100 color : rgb (68 172 153 );
101101}
102102
103- [data-md-color-scheme = "slate" ] .md-typeset .abstract .admonition-title : before {
103+ [data-md-color-scheme = "slate" ] .md-typeset .note .admonition-title : before {
104104 font-size : 1.1rem ;
105105 background-color : rgb (68 172 153 );
106106}
107107
108+ .md-typeset .note > .admonition-title : before , .md-typeset .note > summary : before {
109+ -webkit-mask-image : var (--md-admonition-icon--abstract );
110+ mask-image : var (--md-admonition-icon--abstract )
111+ }
112+
108113/* Move the sidebars to the edges of the page */
109114.md-main__inner .md-grid {
110115 margin-left : 0 ;
You can’t perform that action at this time.
0 commit comments