@@ -253,12 +253,12 @@ body {
253
253
}
254
254
255
255
.source_a_l { /* Inverted link */
256
- color : # 999;
257
- text-decoration : none;
256
+ color : # 999 !important ; /* Highest priority needed to cosmetic classes */
257
+ text-decoration : none !important ;
258
258
}
259
259
.source_a_l : hover {
260
- color : # 666 ;
261
- text-decoration : underline;
260
+ color : # 666 !important ;
261
+ text-decoration : underline !important ;
262
262
}
263
263
264
264
.source_a_g { /* Object link */
@@ -333,7 +333,6 @@ body {
333
333
* zoom : 1 ;
334
334
vertical-align : baseline;
335
335
336
- height : 50px ;
337
336
line-height : 30px ;
338
337
339
338
color : # 67a9d4 ;
@@ -389,7 +388,7 @@ body {
389
388
390
389
.source_footer {
391
390
position : absolute;
392
- z-index : 5 ;
391
+ z-index : 11 ; /* Higher than nav */
393
392
bottom : 0 ; left : 0 ; right : 0 ;
394
393
395
394
border-top : 1px solid # eee ;
@@ -440,8 +439,11 @@ body {
440
439
-------------------------------------------------- */
441
440
442
441
.source_main {
442
+ position : relative;
443
443
padding : 35px 0 ;
444
444
min-height : 230px ;
445
+
446
+ counter-reset : h2;
445
447
}
446
448
447
449
.source_main_h1 , /* for custom cases */
@@ -572,45 +574,39 @@ body {
572
574
/* Spec page
573
575
-------------------------------------------------- */
574
576
575
- .source_main {
576
- position : relative;
577
- z-index : 5 ;
578
- counter-reset : h2;
579
- }
580
-
581
- /* complex cascade for targeting only spec decorations, excluding .source_example blocks */
582
- .source_catalog_tx a ,
577
+ /* complex cascade for targeting only spec decorations, excluding .source_example blocks */
578
+ .source_catalog_tx a ,
583
579
584
- .source_main_nav a ,
580
+ .source_main_nav a ,
585
581
586
- .source_info a ,
582
+ .source_info a ,
587
583
588
- .source_main > a ,
584
+ .source_main > a ,
589
585
590
- .source_section > a ,
591
- .source_section > * : not (.source_example ) > a ,
592
- .source_section > * : not (.source_example ) > * : not (.source_example ) > a ,
593
- .source_section > * : not (.source_example ) > * : not (.source_example ) > * : not (.source_example ) > a {
594
- color : # 4792D2 ;
595
- text-decoration : none
596
- }
586
+ .source_section > a ,
587
+ .source_section > * : not (.source_example ) > a ,
588
+ .source_section > * : not (.source_example ) > * : not (.source_example ) > a ,
589
+ .source_section > * : not (.source_example ) > * : not (.source_example ) > * : not (.source_example ) > a {
590
+ color : # 4792D2 ;
591
+ text-decoration : none
592
+ }
597
593
598
594
599
- .source_catalog_tx a : hover ,
595
+ .source_catalog_tx a : hover ,
600
596
601
- .source_main_nav a : hover ,
597
+ .source_main_nav a : hover ,
602
598
603
- .source_info a : hover ,
599
+ .source_info a : hover ,
604
600
605
- .source_main > a : hover ,
601
+ .source_main > a : hover ,
606
602
607
- .source_section > a : hover ,
608
- .source_section > * : not (.source_example ) > a : hover ,
609
- .source_section > * : not (.source_example ) > * : not (.source_example ) > a : hover ,
610
- .source_section > * : not (.source_example ) > * : not (.source_example ) > * : not (.source_example ) > a : hover {
611
- color : # 1c76c2 ;
612
- text-decoration : underline;
613
- }
603
+ .source_section > a : hover ,
604
+ .source_section > * : not (.source_example ) > a : hover ,
605
+ .source_section > * : not (.source_example ) > * : not (.source_example ) > a : hover ,
606
+ .source_section > * : not (.source_example ) > * : not (.source_example ) > * : not (.source_example ) > a : hover {
607
+ color : # 1c76c2 ;
608
+ text-decoration : underline;
609
+ }
614
610
615
611
/* Navigation */
616
612
.source_main_nav {
@@ -622,6 +618,10 @@ body {
622
618
margin-left : 297px ;
623
619
}
624
620
621
+ .source_main_nav : hover {
622
+ z-index : 20 ; /* Higher than any other elements */
623
+ }
624
+
625
625
@media only screen and (max-width : 1200px ){
626
626
.source_main_nav {
627
627
left : auto;
@@ -925,7 +925,10 @@ body {
925
925
display : block;
926
926
}
927
927
928
- .source_section__open > .source_a_hl ,
928
+ .source_section__open > .source_a_hl {
929
+ display : inline !important ;
930
+ }
931
+
929
932
.source_section__open .source_example {
930
933
display : inline-block !important ;
931
934
* display : inline !important ;
0 commit comments