Skip to content

Commit fee4b86

Browse files
committed
callouts alignment
1 parent 553a82f commit fee4b86

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

docs/style/theme.css

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,11 @@
8989
opacity: 0.75;
9090
}
9191

92-
/* -----------------------------------------
93-
CUSTOM CALLOUTS (Important & Caution)
94-
----------------------------------------- */
9592
/* Custom Callouts */
9693
:root {
97-
/* Reuse standard Material icons for the new categories */
9894
--md-admonition-icon--important: var(--md-admonition-icon--info);
99-
--md-admonition-icon--caution: var(--md-admonition-icon--danger);
95+
--md-admonition-icon--tip: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2A7 7 0 0 0 5 9c0 2.38 1.19 4.47 3 5.74V17a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2.26c1.81-1.27 3-3.36 3-5.74a7 7 0 0 0-7-7M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1z"/></svg>');
96+
--md-admonition-icon--caution: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4m-1 6h2v4h-2V7m0 6h2v2h-2v-2z"/></svg>');
10097
}
10198

10299
/* IMPORTANT (Purple) */

0 commit comments

Comments
 (0)