File tree 1 file changed +10
-17
lines changed
1 file changed +10
-17
lines changed Original file line number Diff line number Diff line change 39
39
40
40
.content-inner h2 {
41
41
font-size : 1.6em ;
42
- margin : 1em 0 0.5em ;
42
+ padding-top : 1em ;
43
+ margin-bottom : 0.5em ;
43
44
font-weight : 700 ;
44
45
}
45
46
154
155
display : grid;
155
156
grid-template : 1fr / 1fr ;
156
157
}
158
+ @media screen and (max-width : 768px ) {
159
+ .content-inner .section-heading {
160
+ --icon-spacing : 2px ;
161
+ }
162
+ }
157
163
158
164
.content-inner .section-heading > : is (.hover-link , .text ) {
159
165
grid-row : 1 ;
166
172
167
173
.content-inner .section-heading i {
168
174
font-size : var (--icon-size );
175
+ color : var (--mainLight );
169
176
margin-top : 0.1em ;
170
177
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 );
172
179
opacity : 0 ;
173
180
}
174
181
175
- @media screen and (max-width : 768px ) {
176
- .content-inner .section-heading i {
177
- margin-left : calc (-1 * (var (--icon-size )));
178
- }
179
- }
180
-
181
182
.content-inner : is (blockquote , section .admonition ) .section-heading i {
182
183
display : none;
183
184
}
184
185
185
- .content-inner .section-heading . hover-link : is (: hover , : focus ) i {
186
+ .content-inner .section-heading : is (: hover , : focus , : target ) i {
186
187
opacity : 1 ;
187
188
}
188
189
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
-
197
190
.content-inner .app-vsn {
198
191
display : none !important ;
199
192
font-size : 0.6em ;
You can’t perform that action at this time.
0 commit comments