File tree 3 files changed +48
-1
lines changed
3 files changed +48
-1
lines changed Original file line number Diff line number Diff line change 226
226
227
227
</div>
228
228
229
+ <a href="#main-content-marker" class="return-to-top"><span class="icon-attach fa-angle-up">Return to top</span></a>
230
+
229
231
<?php endwhile ; // end of the loop. ?>
230
232
231
233
</main>
Original file line number Diff line number Diff line change 119
119
120
120
</div>
121
121
122
-
122
+ <a href="#main-content-marker" class="return-to-top"><span class="icon-attach fa-angle-up">Return to top</span></a>
123
123
124
124
<?php endwhile ; // end of the loop. ?>
125
125
</main>
Original file line number Diff line number Diff line change @@ -559,6 +559,7 @@ main nav.pagination ul li span.current {
559
559
grid-column : 1 / span 7 ;
560
560
padding : 3em 4em ;
561
561
margin-bottom : 4em ;
562
+ z-index : 1000 ;
562
563
563
564
background : var (--vocabulary-neutral-color-lighter-gray );
564
565
}
@@ -643,10 +644,54 @@ main nav.pagination ul li span.current {
643
644
margin-top : 0 ;
644
645
}
645
646
647
+ .faq-index footer , .faq-page footer {
648
+ z-index : 1000 ;
649
+ }
650
+
646
651
.faq-page .breadcrumbs {
647
652
font-family : 'Source Sans Pro' ;
648
653
}
649
654
655
+ .return-to-top {
656
+ display : inline-block;
657
+ position : absolute;
658
+ top : 90% ;
659
+ right : 5% ;
660
+ height : 300% ;
661
+ width : 100px ;
662
+
663
+ font-family : 'Source Sans Pro' ;
664
+ }
665
+
666
+ .return-to-top span {
667
+ position : fixed;
668
+ padding-bottom : 5px ;
669
+ border-bottom : 2px solid var (--vocabulary-brand-color-dark-tomato );
670
+ }
671
+
672
+ .return-to-top span : before {
673
+ content : '' ;
674
+ position : absolute;
675
+ left : 32% ;
676
+ top : -1em ;
677
+
678
+ font-size : 2em ;
679
+ }
680
+
681
+ .return-to-top : after {
682
+ position : absolute;
683
+ bottom : 5% ;
684
+ left : 0 ;
685
+ display : block;
686
+ content : '' ;
687
+ height : 100% ;
688
+ width : 100% ;
689
+ z-index : 500 ;
690
+
691
+ background : white;
692
+ }
693
+
694
+
650
695
651
696
@media (min-width : 1500px ) {
652
697
You can’t perform that action at this time.
0 commit comments