[dw-free] "Back to Top" title link should be included in all Dreamwidth styles by default
[commit: http://hg.dwscoalition.org/dw-free/rev/f4840f9d0e4c]
http://bugs.dwscoalition.org/show_bug.cgi?id=3472
Add link back to top to drifting.
Patch by
ninetydegrees.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3472
Add link back to top to drifting.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- bin/upgrading/s2layers/drifting/layout.s2
-------------------------------------------------------------------------------- diff -r d86617d3a328 -r f4840f9d0e4c bin/upgrading/s2layers/drifting/layout.s2 --- a/bin/upgrading/s2layers/drifting/layout.s2 Tue Feb 22 23:41:15 2011 +0800 +++ b/bin/upgrading/s2layers/drifting/layout.s2 Tue Feb 22 23:44:03 2011 +0800 @@ -923,6 +923,14 @@ function Page::print_default_stylesheet( padding-left: 10px; } + /* Page Footer + ***************************************************************************/ + .page-top { + font-size: .8em; + padding-top: 10px; + text-align: center; + } + $userpic_css """; @@ -977,6 +985,11 @@ function Page::print() $this->print_module_section("two"); println "</div>"; println "</div>"; + + println "<div id=\"canvas-footer\">"; + print safe """<div class="page-top"><a href="#">$*text_page_top</a></div>"""; + println "</div>"; + println "</div>"; $this->print_wrapper_end(); --------------------------------------------------------------------------------