www-commits
[Top][All Lists]
Advanced

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

www/server/staging education-menu.html layout.c...


From: Therese Godefroy
Subject: www/server/staging education-menu.html layout.c...
Date: Thu, 20 Feb 2020 09:36:48 -0500 (EST)

CVSROOT:        /webcvs/www
Module name:    www
Changes by:     Therese Godefroy <th_g> 20/02/20 09:36:48

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

Log message:
        Restyle #back-to-top & .backtotop in FF, Chromium, Web & NetSurf.

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

Patches:
Index: education-menu.html
===================================================================
RCS file: /webcvs/www/www/server/staging/education-menu.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- education-menu.html 16 Feb 2020 17:22:58 -0000      1.11
+++ education-menu.html 20 Feb 2020 14:36:48 -0000      1.12
@@ -1,6 +1,6 @@
 <hr class="no-display" />
 <div id="navlinks">
- <a class="backtotop" href="#main"><span>TOP </span>&#9650;</a>
+ <div class="backtotop"><a href="#main"><span>TOP </span>&#11205;</a></div>
  <h3>Education menu</h3>
  <dl>
   <!--#if expr="$REQUEST_URI = /\/education.html/" --><dt class="current">

Index: layout.css
===================================================================
RCS file: /webcvs/www/www/server/staging/layout.css,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- layout.css  20 Feb 2020 10:42:08 -0000      1.21
+++ layout.css  20 Feb 2020 14:36:48 -0000      1.22
@@ -1453,7 +1453,7 @@
    float: right;
 }
 
- /* For Firefox (can't set line-height when "a" is displayed inline) */
+/* For Firefox (can't set line-height when "a" is displayed inline) */
 #navigation a, ul#edu-navigation a, #fsf-links a {
    display: inline-block;
    line-height: 2em;
@@ -1463,20 +1463,23 @@
 
 #back-to-top {
    float: right;
+   line-height: 1.7em;
 /* For NetSurf 1.2, and maybe a few other browsers. */ 
-   margin: .1em 1em 0;
+   margin: .15em 1em 0;
 }
 /* For standard browsers. */
 @media (min-width: 0) {
-   #back-to-top { margin-right: 3%; }
+   #back-to-top { margin-right: 3%;}
+}
+#back-to-top a {
+    line-height: 1.7em;
+    padding: .1em .6em 0;
+    border: none;
 }
-#back-to-top a { padding: .35em .6em .25em; }
 #back-to-top span { display: none; }
 
 @media (min-width: 57em) {
-   #navigation ul, ul#edu-navigation, #fsf-links ul {
-      text-align: center;
-   }
+   #navigation ul, ul#edu-navigation, #fsf-links ul { text-align: center; }
    li#more-links { float: none; margin-left: 2em; }
 }
 

Index: education.css
===================================================================
RCS file: /webcvs/www/www/server/staging/education.css,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- education.css       19 Feb 2020 18:57:57 -0000      1.26
+++ education.css       20 Feb 2020 14:36:48 -0000      1.27
@@ -57,19 +57,21 @@
    border-top: 3px solid #ddd;
 }
 #navlinks h3 {
-   display: inline-block;
-   vertical-align: top;
    font-size: 1em;
-   padding: .2em .3em;
+   padding: .3em;
    margin: 0;
 }
-a.backtotop {
-   display: inline-block;
-   padding: .1em .3em .3em;
+.backtotop {
+   float: left;
+   line-height: 1.8em;
+   padding: 0 .5em;
    margin-left: -.5em;
 }
 .backtotop span { display: none; }
-
+.backtotop a {
+   display: inline-block;
+   padding: 0 .5em;
+}
 #navlinks dl, #navlinks > ul {
    font-size: .9375em;
    line-height: 1.2em;
@@ -108,10 +110,6 @@
    .breadcrumb a { display: inline-block; }
 }
 
-.breadcrumb, .breadcrumb a {
-   font-family: "FreeSans", sans-serif;
-}
-
 /* Section menu icon */
 
 a#sect-menu-button {
@@ -143,12 +141,12 @@
       padding: 0;
       margin: 0;
       border-top: none;
-      border-right: .1em solid #bbb;
+      border-right: 1px solid #bbb;
    }
    #navlinks h3 { margin: 1em 0 0 .7em; }
    #navlinks dl { width: auto; }
    #navlinks ul.inline-list li, #navlinks dl a { display: block; }
-   #navlinks a.backtotop { display: none; }
+   #navlinks .backtotop { display: none; }
    #navlinks dt a { padding-left: 1.1em; }
 
    a#sect-menu-button { display: none; }
@@ -177,3 +175,7 @@
    background: none;
    cursor: default;
 }
+
+.breadcrumb, .breadcrumb a, #navlinks, #navlinks a {
+   font-family: "Liberation Sans", "FreeSans", sans-serif;
+}

Index: nav-bar/test9/footer-text.html
===================================================================
RCS file: /webcvs/www/www/server/staging/nav-bar/test9/footer-text.html,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- nav-bar/test9/footer-text.html      16 Feb 2020 17:22:58 -0000      1.29
+++ nav-bar/test9/footer-text.html      20 Feb 2020 14:36:48 -0000      1.30
@@ -8,10 +8,10 @@
  value='<a href="/server/select-language.html?callback=$cb" rel="nofollow">' 
-->
 <!--#set var="closing_anchor" value='</a>' -->
 <div style="clear:both"></div>
-<hr class="no-display" />
 
 <!--#if expr="$TRANSLATION_LIST = /<span dir=\"ltr\">/" -->
 <div id="languages">
+<hr class="no-display" />
 <div id="set-language" class="button">
  <!--#echo encoding="none" var="language_selector" --><span
  class="gnun-split"></span>Set language on gnu.org<span
@@ -21,9 +21,9 @@
 <!--#echo encoding="none" var="TRANSLATION_LIST" -->
 </div><!--#endif -->
 
-<hr class="no-display" />
 <div id="back-to-top" class="button">
- <a href="#navigation"><span>TOP </span>&#9650;</a>
+<hr class="no-display" />
+ <a href="#navigation"><span>TOP </span>&#11205;</a>
 </div>
 
 <div id="fsf-links">



reply via email to

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