www-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

www/server/staging nav-bar/test9/footer-text.ht...


From: Therese Godefroy
Subject: www/server/staging nav-bar/test9/footer-text.ht...
Date: Fri, 31 Jan 2020 06:37:21 -0500 (EST)

CVSROOT:        /webcvs/www
Module name:    www
Changes by:     Therese Godefroy <th_g> 20/01/31 06:37:21

Modified files:
        server/staging/nav-bar/test9: footer-text.html 
        server/staging : layout.css 

Log message:
        Use the <button> tag for #back-to-top.

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/server/staging/nav-bar/test9/footer-text.html?cvsroot=www&r1=1.25&r2=1.26
http://web.cvs.savannah.gnu.org/viewcvs/www/server/staging/layout.css?cvsroot=www&r1=1.11&r2=1.12

Patches:
Index: nav-bar/test9/footer-text.html
===================================================================
RCS file: /webcvs/www/www/server/staging/nav-bar/test9/footer-text.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- nav-bar/test9/footer-text.html      30 Jan 2020 18:13:34 -0000      1.25
+++ nav-bar/test9/footer-text.html      31 Jan 2020 11:37:21 -0000      1.26
@@ -22,7 +22,8 @@
 <!--#echo encoding="none" var="TRANSLATION_LIST" -->
 </div><!--#endif -->
 
-<div id="back-to-top"><a href="#navigation"><span>TOP </span>&#9650;</a></div>
+<a id="back-to-top" title="Back to top" href="#navigation"><button><span>TOP
+</span>&#9650;</button></a>
 
 <div id="fsf-links">
  <ul>

Index: layout.css
===================================================================
RCS file: /webcvs/www/www/server/staging/layout.css,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- layout.css  30 Jan 2020 18:13:33 -0000      1.11
+++ layout.css  31 Jan 2020 11:37:21 -0000      1.12
@@ -705,18 +705,14 @@
 #back-to-top {
    float: right;
 /* For NetSurf 1.2, and maybe a few other browsers. */
-   margin: .25em 1em 0;
+   margin: .1em 1em 0;
 }
 /* For standard browsers. */
 @media (min-width: 0) {
    #back-to-top { margin-right: 3%; }
 }
-#back-to-top a {
-   display: inline-block;
-   line-height: 1.2em;
-   padding: 0 .5em .2em;
-}  
-#back-to-top a span { display: none; }
+#back-to-top button { padding: .2em .6em .4em; }
+#back-to-top span { display: none; }
 
 
 /*******************************************/
@@ -1335,8 +1331,8 @@
 }
 #navigation li:hover       { background: #850803; }
 ul#edu-navigation li:hover { background: #ddd; }
-#fsf-links li:hover        { background: #bbb; }
-#back-to-top a:hover       { background: #eee; }
+#fsf-links li:hover        { background: #c4c4c4; }
+#back-to-top a:hover       { background: #f3f3f3; }
 
 #navigation li.active, #navigation li.active a:hover {
    font-style: italic;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]