@@ -12,7 +12,7 @@ body .markdown {
1212 margin-top : var (--ifm-leading );
1313 margin-bottom : 0 ;
1414
15- & :is (ul , ol ) {
15+ & :where (ul , ol ) {
1616 margin-top : calc (2 * var (--ifm-list-margin )) !important ;
1717 }
1818 }
@@ -119,10 +119,10 @@ html body pre.prism-code > button {
119119}
120120
121121.markdown :target ,
122- h2 :target ~ * :not (h2 , h2 :target ~ * :is (h2 ):not (:target ) ~ * ),
123- h3 :target ~ * :not (h2 , h3 , h3 :target ~ * :is (h2 , h3 ):not (:target ) ~ * ),
124- h4 :target ~ * :not (h2 , h3 , h4 , h4 :target ~ * :is (h2 , h3 , h4 ):not (:target ) ~ * ) {
125- & :is (:not(details * ))::before {
122+ h2 :target ~ * :not (h2 , h2 :target ~ * :where (h2 ):not (:target ) ~ * ),
123+ h3 :target ~ * :not (h2 , h3 , h3 :target ~ * :where (h2 , h3 ):not (:target ) ~ * ),
124+ h4 :target ~ * :not (h2 , h3 , h4 , h4 :target ~ * :where (h2 , h3 , h4 ):not (:target ) ~ * ) {
125+ & :where (:not(details * ))::before {
126126 content : " " ;
127127 width : 4px ;
128128 position : absolute ;
@@ -139,19 +139,19 @@ h4:target ~ *:not(h2, h3, h4, h4:target ~ *:is(h2, h3, h4):not(:target) ~ *) {
139139 }
140140 }
141141
142- & :is (h2 ):target ::before {
142+ & :where (h2 ):target ::before {
143143 top : 25px ;
144144 }
145145
146146 & .admonition ::before {
147147 margin-left : -4px ;
148148 }
149149
150- & :is (.config-field , .group )::before {
150+ & :where (.config-field , .group )::before {
151151 margin-left : -1px ;
152152 }
153153
154- & :is (details ) {
154+ & :where (details ) {
155155 & ::before {
156156 margin-left : -4px ;
157157 }
0 commit comments