1
1
2
- .viewcode-block .viewcode-back {
3
- float : right;
4
- }
5
-
6
2
code .literal .homie-attr ::before {
7
3
content : "$" ;
8
4
}
@@ -27,21 +23,22 @@ code.literal.homie-prop {
27
23
28
24
* : root {
29
25
--md-admonition-seealso-color : hsl (278 , 100% , 63% );
30
- --md-admonition-icon--seealso : url ('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"/></svg>' );
31
- --md-admonition-icon--tip : url ('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M5 13.18v2.81c0 .73.4 1.41 1.04 1.76l5 2.73c.6.33 1.32.33 1.92 0l5-2.73c.64-.35 1.04-1.03 1.04-1.76v-2.81l-6.04 3.3c-.6.33-1.32.33-1.92 0L5 13.18zm6.04-9.66l-8.43 4.6c-.69.38-.69 1.38 0 1.76l8.43 4.6c.6.33 1.32.33 1.92 0L21 10.09V16c0 .55.45 1 1 1s1-.45 1-1V9.59c0-.37-.2-.7-.52-.88l-9.52-5.19c-.6-.32-1.32-.32-1.92 0z"/></svg>' );
32
26
}
33
27
34
- .admonition .seealso .admonition-title {
35
- background-color : hsla (278 , 100% , 63% , 0.1 );
28
+
29
+ .md-typeset .admonition .seealso > .admonition-title ::before {
30
+ /* svg data from octicons/eye-24 */
31
+ mask-image : url ('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.5 12a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0z"/><path fill-rule="evenodd" d="M12 3.5c-3.432 0-6.125 1.534-8.054 3.24C2.02 8.445.814 10.352.33 11.202a1.6 1.6 0 0 0 0 1.598c.484.85 1.69 2.758 3.616 4.46C5.876 18.966 8.568 20.5 12 20.5c3.432 0 6.125-1.534 8.054-3.24 1.926-1.704 3.132-3.611 3.616-4.461a1.6 1.6 0 0 0 0-1.598c-.484-.85-1.69-2.757-3.616-4.46C18.124 5.034 15.432 3.5 12 3.5zM1.633 11.945c.441-.774 1.551-2.528 3.307-4.08C6.69 6.314 9.045 5 12 5c2.955 0 5.309 1.315 7.06 2.864 1.756 1.553 2.866 3.307 3.307 4.08a.111.111 0 0 1 .017.056.111.111 0 0 1-.017.056c-.441.774-1.551 2.527-3.307 4.08C17.31 17.685 14.955 19 12 19c-2.955 0-5.309-1.315-7.06-2.864-1.756-1.553-2.866-3.306-3.307-4.08A.11.11 0 0 1 1.616 12a.11.11 0 0 1 .017-.055z"/></svg>' );
32
+ background-color : var (--md-admonition-seealso-color );
36
33
}
37
34
38
- .admonition .seealso {
39
- border : 0 solid var (--md-admonition-seealso-color );
35
+ .md-typeset : is (. admonition ) : is ( .seealso ) {
36
+ border-color : var (--md-admonition-seealso-color );
40
37
}
41
38
42
- .md-typeset . admonition . seealso : is (.admonition-title , summary ):: before {
43
- background-color : var ( --md-admonition-seealso-color );
44
- mask-image : var (--md-admonition-icon-- seealso );
39
+ .md-typeset : is (. seealso ) > : is (.admonition-title ) {
40
+ background-color : hsla ( 287 , 100 % , 63 % , 0.1 );
41
+ border-color : var (--md-admonition-seealso-color );
45
42
}
46
43
47
44
[data-md-color-scheme = "default" ] img .only-dark {
0 commit comments