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: Fri, 5 Aug 2016 11:40:54 +0000 (UTC)

CVSROOT:        /webcvs/www
Module name:    www
Changes by:     Therese Godefroy <th_g> 16/08/05 11:40:54

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

Log message:
        Similar definitions for .note and .edu-note; current style (Dora).

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

Patches:
Index: layout-rsd.css
===================================================================
RCS file: /webcvs/www/www/server/staging/ghm2016/layout-rsd.css,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- layout-rsd.css      5 Aug 2016 08:04:52 -0000       1.17
+++ layout-rsd.css      5 Aug 2016 11:40:53 -0000       1.18
@@ -54,14 +54,14 @@
    #eee     #edu-navigation, submit
    #f5f5f5  #translations, #footer, .emph-box, .summary, .toc, .lyrics,
             .listing
-   white    body, .note
+   white    body, .note, edu-note
 
    #a42e2b  red: #navigation
    #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, edu-note
+   #fff5d4  very light orange: .highlight-para, p.highlight
 
 Borders
    black, #111, #333, #666: tables
@@ -70,11 +70,11 @@
    #d4d4d4  #translations, #outdated
    #ddd     emph-box, lyrics
 
-   #6092d0  .note
+   #6092d0  .note, edu-note
    #4080d0  focused inputs, #fssbox submit
    #3465a4  .edu-cases
    #e74c3c  .big-section h3
-   #fc7     .announcement, .highlight-para, edu-note
+   #fc7     .announcement, .highlight-para
    #a42e2b  active link in edu-navbar
 */
 
@@ -544,29 +544,41 @@
 
 /*** FLOATING TEXT + TOC ***/
 
-/** NOTES (div.note p, or blockquote.note p) **/
+/** NOTES **/
 
+/* For fsf-licensing.html, etc. */
+/* - div.note p, or blockquote.note p
+   - align with .toc
+   - allow several <p>'s: replace margin with padding for NetSurf. */
 .note {
-   /* Align with .toc */
-   width: 44.8em; max-width: 91%;
-   text-align: center;
-   padding: .6em 4%;
+   width: 44.7em; max-width: 93%;
+   padding: .6em 3%;
    margin: 1.5em auto;
+   text-align: center;
    background: white;
-   border: .1em solid #6092d0;
+   border: .15em dotted #6092d0;
 }
-/* May contain several <p>'s */
 .note p {
    padding: .4em 0;
    margin: 0;
 }
 
+/* For educational games (only one <p>) */
+/* Width and position of the div are defined in the page. */
+.edu-note p {
+   text-align: center;
+   font-style: italic;
+   padding: .6em 1em;
+   margin: 0;
+   border: .15em dotted #6092d0;
+}
+
 
 /** TABLES OF CONTENTS **/
 
 .summary, .toc {
-   max-width: 92%;
-   padding: 1em 4% 1.5em;
+   max-width: 94%;
+   padding: 1em 3% 1.5em;
    margin: 2.5em auto 1.5em;
    background: #f5f5f5;
 }
@@ -1028,14 +1040,3 @@
 .edu-cases ul, .edu-cases ol {
    padding: 0 4%;
 }
-
-/* Note about educational games */
-/* (only the style is defined here) */
-.edu-note p {
-   text-align: center;
-   font-style: italic;
-   padding: .6em 1em;
-   margin: 0;
-   background: #fff5d4;
-   border: .1em solid #fc7;
-}



reply via email to

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