www-commits
[Top][All Lists]
Advanced

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

www/server/staging/ghm2016 layout-rsd.css


From: Therese Godefroy
Subject: www/server/staging/ghm2016 layout-rsd.css
Date: Thu, 11 Aug 2016 15:30:21 +0000 (UTC)

CVSROOT:        /webcvs/www
Module name:    www
Changes by:     Therese Godefroy <th_g> 16/08/11 15:30:21

Modified files:
        server/staging/ghm2016: layout-rsd.css 

Log message:
        Minor changes; no visible effect on home.html.

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/server/staging/ghm2016/layout-rsd.css?cvsroot=www&r1=1.20&r2=1.21

Patches:
Index: layout-rsd.css
===================================================================
RCS file: /webcvs/www/www/server/staging/ghm2016/layout-rsd.css,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- layout-rsd.css      6 Aug 2016 07:01:33 -0000       1.20
+++ layout-rsd.css      11 Aug 2016 15:30:21 -0000      1.21
@@ -60,8 +60,8 @@
    #4080d0  blue: #join-fsf, #fssbox submit:focus
    #004caa  blue: #join-fsf:hover
    #ff3     yellow: #urgent
-   #fff1c0  light orange: .highlight, table headers
-   #fff5d4  very light orange: .highlight-para, p.highlight
+   #fff1c0  light orange: span.highlight, table headers
+   #fff5d4  very light orange: .highlight-para, .highlight
 
 Borders
    black, #111, #333, #666: tables
@@ -449,8 +449,8 @@
 .highlight-para, p.highlight,
  p.emph-box, pre.emph-box { padding: .6em 1.2em; }
 
-.highlight { background-color: #fff1c0; }
-.highlight-para, p.highlight { background-color: #fff5d4; }
+.highlight-para, .highlight { background-color: #fff5d4; }
+span.highlight { background-color: #fff1c0; }
 .highlight-para {
    border-top: .1em solid #fc7;
    border-bottom: .1em solid #fc7;
@@ -474,19 +474,19 @@
 
 .announcement {
    font-size: 1.1em;
-   padding: 0 1em;
+   color: #555;
+   padding: .3em 1em .4em;
    margin: 1.5em 0;
    border-left: .5em solid #fc7;
 }
-/* Currently, <p>, <h3> and <ul> are found in div.announcement. Add some
-   padding so the border extends out a little bit. */
-.announcement p { padding: .4em 0; margin: 0; }
-.announcement ul { padding-bottom: .4em; margin: 0 1em; }
+/* Currently, announcements contain <p>, <ul>, and <h3>, with p or
+   ul as last element. Try to make them NetSurf-friendly. */
+.announcement p { margin: .4em 0 0; padding-bottom: .4em; }
+.announcement ul { margin: 0 1em; padding-bottom: .4em; }
 .announcement ul li { margin-top: .4em; }
 .announcement h3 {
    font-size: 1.3em;
-   padding: .2em 0 .4em;
-   margin: 0;
+   margin: .3em 0 .4em;
 }
 
 
@@ -507,7 +507,7 @@
    border-bottom: .3em solid #333;
 }
 #urgent a, #urgent a:visited {
-   color: blue; text-decoration: underline;
+   color: blue;
 }
 #urgent a:hover { color: #777; }
 
@@ -543,34 +543,50 @@
 .translators-notes ol li { margin: .5em 1.1em; }
 
 
-/*** FLOATING TEXT + TOC ***/
-
-/** NOTES **/
+/*** NOTES ***/
 
-/* One <p> only */
 .note, .edu-note {
-   max-width: 100%;
+   text-align: center;
    margin: 2em auto;
 }
-.note p, .edu-note p {
-   text-align: center;
+
+/* Single <p> */
+.edu-note {
+   width: 40em;
+   max-width: 100%;
+   font-style: italic;
+}
+.edu-note p {
    padding: .8em 1em;
    margin: 0;
+   border: .15em dotted #6092d0;
+}
+
+/* Several <p>'s */
+.note {
+   width: 44.7em;
+   max-width: 93%;
+   padding: .4em 3%;
    background: white;
    border: .15em dotted #6092d0;
 }
-.note { width: 45em; }
-.edu-note {
-   width: 40em;
-   font-style: italic;
+.note p {
+   padding: .4em 0;
+   margin: 0;
+}
+/* for notes in several German translations
+   (should move to style.de.css) */
+span.note {
+   display: block;
+   padding: .8em;
 }
 
 
-/** TABLES OF CONTENTS **/
+/*** TABLES OF CONTENTS ***/
 
 .summary, .toc {
    max-width: 94%;
-   padding: 1em 3% 1.5em;
+   padding: 1em 3% 1.7em;
    margin: 2.5em auto 1.5em;
    background: #f5f5f5;
 }
@@ -589,7 +605,7 @@
 .toc { width: 45em; }
 
 
-/** ON WIDE SCREENS **/
+/*** NOTE AND SUMMARY ON WIDE SCREENS ***/
 
 @media (min-width: 48em) {
    .note, .summary {
@@ -607,6 +623,7 @@
      -o-box-shadow: 0 0 0 1em white;
    }
    .summary { padding: 1em 1.2em 1.5em; }
+   .note { padding: .4em 1.2em; }
 }
 
 
@@ -702,19 +719,11 @@
    text-align: center;
    line-height: 1.3em
 }
-
-.listing a:hover {
-   text-decoration: underline;
-}
-
 .listing img {
    vertical-align: middle;
 }
-
-.listing { width: 100%; }
-
-/* For wide tables, e.g. in doc/other-free-books.html */
-table.listing {
+.listing {
+   width: 100%;
    display: block;
    overflow: auto;
    padding: .1em;
@@ -727,11 +736,11 @@
 #toplinks {
    float: left;
    /* For NetSurf 1.2, and maybe a few other browsers. */
-   padding: .5em 2em .3em 2em;
+   padding: .5em 2em .3em;
 }
 /* For standard browsers. */
address@hidden (max-width: 500em) {
-   #toplinks { padding: .5em 3% .3em 3%; }
address@hidden (min-width: 0) {
+   #toplinks { padding: .5em 3% .3em; }
 }
 #toplinks a, #toplinks a:visited {
    white-space: nowrap;
@@ -739,7 +748,8 @@
    display: inline-block;
    font-weight: bold;
    font-size: .9em;
-   color: #404040; text-decoration: none;
+   color: #404040;
+   text-decoration: none;
    margin-right: 1em;
 }
 #toplinks a:hover { color: #777; }
@@ -799,6 +809,8 @@
 
 #fssbox, #join-fsf { display: none; }
 
+/* When eventually #join-fsf moves to body-include-1, #fsf-frame
+   can be removed; its definitions will be applied to #fssbox. */
 #fsf-frame {
    float: right;
    font-size: .9em;
@@ -806,17 +818,13 @@
    line-height: 1.3em;
    margin: .8em 0;
 }
-#fsf-frame a, #fsf-frame a:visited {
-   font-weight: bold;
-   text-decoration: none;
-}
 #fsf-frame p { margin: 0; }
 
 #join-fsf a, #join-fsf a:visited {
    color: white;
    background: #4080d0;
    border-color: #4080d0;
-   -webkit-transition: all .5s; /* Safari */
+   -webkit-transition: all .5s;
    transition: all .5s;
 }
 #join-fsf a:hover {
@@ -829,6 +837,7 @@
    margin-top: 1em;
 }
 #fssbox a, #fssbox a:visited {
+   font-weight: bold;
    color: #004caa;
 }
 #fssbox a:hover { color: #777; }
@@ -840,7 +849,7 @@
 #fssbox form input[type="submit"] {
    color: #004caa;
    border: .1em solid #4080d0;
-   -webkit-transition: all 2s; /* Safari */
+   -webkit-transition: all 2s;
    transition: all 2s;
 }
 #fssbox form input[type="text"]:focus + input[type="submit"] {
@@ -867,7 +876,7 @@
 #gnu-banner a { color: #333; }
 #gnu-banner a strong { color: #a42e2b; }
 
-/*FSF support */
+/* FSF support */
 #fsf-support { display: none; }
 
 #fsf-support {
@@ -993,7 +1002,7 @@
 
 #generic, #footer p.unprintable { margin-top: .7em; }
 
-.translators-credits { margin: .7em 0 }
+.translators-credits { margin: .7em 0; }
 
 
 /*** EDUCATION ***/



reply via email to

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