File tree Expand file tree Collapse file tree 1 file changed +10
-17
lines changed Expand file tree Collapse file tree 1 file changed +10
-17
lines changed Original file line number Diff line number Diff line change 3939
4040.content-inner h2 {
4141 font-size : 1.6em ;
42- margin : 1em 0 0.5em ;
42+ padding-top : 1em ;
43+ margin-bottom : 0.5em ;
4344 font-weight : 700 ;
4445}
4546
154155 display : grid;
155156 grid-template : 1fr / 1fr ;
156157}
158+ @media screen and (max-width : 768px ) {
159+ .content-inner .section-heading {
160+ --icon-spacing : 2px ;
161+ }
162+ }
157163
158164.content-inner .section-heading > : is (.hover-link , .text ) {
159165 grid-row : 1 ;
166172
167173.content-inner .section-heading i {
168174 font-size : var (--icon-size );
175+ color : var (--mainLight );
169176 margin-top : 0.1em ;
170177 margin-left : calc (-1 * (var (--icon-size ) + var (--icon-spacing )));
171- padding-right : var (--icon-spacing ); /* Avoids gap in hover area */
178+ padding-right : var (--icon-spacing );
172179 opacity : 0 ;
173180}
174181
175- @media screen and (max-width : 768px ) {
176- .content-inner .section-heading i {
177- margin-left : calc (-1 * (var (--icon-size )));
178- }
179- }
180-
181182.content-inner : is (blockquote , section .admonition ) .section-heading i {
182183 display : none;
183184}
184185
185- .content-inner .section-heading . hover-link : is (: hover , : focus ) i {
186+ .content-inner .section-heading : is (: hover , : focus , : target ) i {
186187 opacity : 1 ;
187188}
188189
189- /* Allow section link to be hovered and used “through” text */
190- .content-inner .section-heading .text {
191- pointer-events : none;
192- }
193- .content-inner .section-heading .text a {
194- pointer-events : all;
195- }
196-
197190.content-inner .app-vsn {
198191 display : none !important ;
199192 font-size : 0.6em ;
You can’t perform that action at this time.
0 commit comments