File tree 2 files changed +44
-0
lines changed
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>
348
348
349
349
</ div >
350
350
351
+ < a href ="#main-content-marker " class ="return-to-top "> < span class ="icon-attach fa-angle-up "> Return to top</ span > </ a >
352
+
351
353
</ main >
352
354
353
355
< footer >
Original file line number Diff line number Diff line change 440
440
grid-column : 1 / span 7 ;
441
441
padding : 3em 4em ;
442
442
margin-bottom : 4em ;
443
+ z-index : 1000 ;
443
444
444
445
background : var (--vocabulary-neutral-color-lighter-gray );
445
446
}
502
503
margin-top : 0 ;
503
504
}
504
505
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 ;
505
518
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 ;
506
533
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
+ }
507
549
508
550
@media (min-width : 1500px ) {
509
551
.home-narrative .data-points .data-point .khan-academy h2 {
You can’t perform that action at this time.
0 commit comments