File tree 2 files changed +12
-6
lines changed
2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 13
13
position : static;
14
14
max-width : 900px ;
15
15
font-size : 100% ;
16
- opacity : 1 ;
16
+ color : black ;
17
17
}
18
18
</ style >
19
19
< script src ="prefixfree.min.js "> </ script >
@@ -179,4 +179,4 @@ <h1>How can I use different highlighting for tokens with the same name in differ
179
179
< script src ="code.js "> </ script >
180
180
181
181
</ body >
182
- </ html >
182
+ </ html >
Original file line number Diff line number Diff line change @@ -332,10 +332,15 @@ footer {
332
332
333
333
# toc {
334
334
position : fixed;
335
- left : 1 % ;
336
- max-width : calc (48 % - 450px );
335
+ bottom : 15 px ;
336
+ max-width : calc (50 % - 450px - 40 px );
337
337
font-size : 80% ;
338
- opacity : .3 ;
338
+ z-index : 999 ;
339
+ background : white;
340
+ color : rgba (0 , 0 , 0 , .5 );
341
+ padding : 0 10px 10px ;
342
+ border-radius : 0 3px 3px 0 ;
343
+ box-sizing : border-box;
339
344
}
340
345
341
346
@media (max-width : 1200px ) {
@@ -345,11 +350,12 @@ footer {
345
350
}
346
351
347
352
# toc : hover {
348
- opacity : 1 ;
353
+ color : rgba ( 0 , 0 , 0 , 1 ) ;
349
354
}
350
355
351
356
# toc h1 {
352
357
font-size : 180% ;
358
+ margin-top : .75rem ;
353
359
}
354
360
355
361
# toc li {
You can’t perform that action at this time.
0 commit comments