File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change @@ -348,6 +348,8 @@ <h3>What is Creative Commons and what do you do?</h3>
348348
349349</ div >
350350
351+ < a href ="#main-content-marker " class ="return-to-top "> < span class ="icon-attach fa-angle-up "> Return to top</ span > </ a >
352+
351353</ main >
352354
353355< footer >
Original file line number Diff line number Diff line change 440440 grid-column : 1 / span 7 ;
441441 padding : 3em 4em ;
442442 margin-bottom : 4em ;
443+ z-index : 1000 ;
443444
444445 background : var (--vocabulary-neutral-color-lighter-gray );
445446}
502503 margin-top : 0 ;
503504}
504505
506+ .faq-index footer {
507+ z-index : 1000 ;
508+ }
509+
510+
511+ .return-to-top {
512+ display : inline-block;
513+ position : absolute;
514+ top : 90% ;
515+ right : 5% ;
516+ height : 300% ;
517+ width : 100px ;
505518
519+ font-family : 'Source Sans Pro' ;
520+ }
521+
522+ .return-to-top span {
523+ position : fixed;
524+ padding-bottom : 5px ;
525+ border-bottom : 2px solid var (--vocabulary-brand-color-dark-tomato );
526+ }
527+
528+ .return-to-top span : before {
529+ content : '' ;
530+ position : absolute;
531+ left : 32% ;
532+ top : -1em ;
506533
534+ font-size : 2em ;
535+ }
536+
537+ .return-to-top : after {
538+ position : absolute;
539+ bottom : 5% ;
540+ left : 0 ;
541+ display : block;
542+ content : '' ;
543+ height : 100% ;
544+ width : 100% ;
545+ z-index : 500 ;
546+
547+ background : white;
548+ }
507549
508550@media (min-width : 1500px ) {
509551 .home-narrative .data-points .data-point .khan-academy h2 {
You can’t perform that action at this time.
0 commit comments