File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ : root {
2+ /* Add Font Awesome 5 icon and color for todo */
3+ --pst-icon-clipboard-list : '\f46d' ;
4+ --pst-icon-admonition-todo : var (--pst-icon-clipboard-list );
5+ --pst-color-admonition-todo : 161 , 46 , 233 ;
6+ }
7+
18.visuallyhidden {
29 display : none;
310}
@@ -73,6 +80,7 @@ div.section {
7380 margin-bottom : 5rem ;
7481}
7582
83+ /* admonitions */
7684.admonition {
7785 border-radius : 0 ;
7886 border : none;
@@ -95,6 +103,21 @@ div.section {
95103.admonition .toggle .admonition-title .open ::after {
96104 content : "\f107" ;
97105}
106+ /* admonition todo */
107+ .admonition .admonition-todo ,
108+ div .admonition .admonition-todo {
109+ border-color : rgba (var (--pst-color-admonition-todo ), 1 );
110+ }
111+ .admonition .admonition-todo > .admonition-title ,
112+ div .admonition .admonition-todo > .admonition-title {
113+ background-color : rgba (var (--pst-color-admonition-todo ), .1 );
114+ }
115+ .admonition .admonition-todo > .admonition-title ::before ,
116+ div .admonition .admonition-todo > .admonition-title ::before {
117+ color : rgba (var (--pst-color-admonition-todo ), 1 );
118+ content : var (--pst-icon-admonition-todo );
119+ }
120+
98121
99122.topic {
100123 padding : 1.5em 1em .5em 1em ;
You can’t perform that action at this time.
0 commit comments