www-commits
[Top][All Lists]
Advanced

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

www layout.css


From: Therese Godefroy
Subject: www layout.css
Date: Thu, 29 Sep 2016 07:08:02 +0000 (UTC)

CVSROOT:        /webcvs/www
Module name:    www
Changes by:     Therese Godefroy <th_g> 16/09/29 07:08:02

Modified files:
        .              : layout.css 

Log message:
        Big section headers
            
        - div.big-section, div.big-subsection: Omit "div".
        - .big-section: Add "clear: left".
        - .big-section h3: Display inline-block to keep anchor on same line,
          modify font-size, adjust margins, reduce border width.
        - .big-subsection h4: Omit unneeded "clear: both".

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/layout.css?cvsroot=www&r1=1.217&r2=1.218

Patches:
Index: layout.css
===================================================================
RCS file: /webcvs/www/www/layout.css,v
retrieving revision 1.217
retrieving revision 1.218
diff -u -b -r1.217 -r1.218
--- layout.css  20 Sep 2016 19:08:09 -0000      1.217
+++ layout.css  29 Sep 2016 07:08:01 -0000      1.218
@@ -384,29 +384,36 @@
 
 /*** BIG SECTION HEADERS ***/
 
-div.big-section {
+/* For browsers that don't support inline-block */
+.big-section {
+   clear: left;
    float: left;
 }
-div.big-section h3 {
-   font-size: 1.8em;
+.big-section h3 {
+   display: inline-block;
+   font-size: 1.7em;
    padding: .2em 0;
-   margin: 1.3em .3em .6em 0 ;
+   margin: 1em .3em .5em 0;
    color: black;
-   border-top: .2em solid #6989b6;
-   border-bottom: .2em solid #6989b6;
+   border-top: .12em solid #6989b6;
+   border-bottom: .12em solid #6989b6;
 }
-div.big-subsection {
-   margin-top: 1.3em;
-   margin-bottom: 2em;
+.big-subsection {
+   margin: 1.5em 0;
 }
-div.big-subsection h4 {
-   clear: both;
+.big-subsection h4 {
    display: inline;
    font-size: 1.5em;
    margin-right: .3em;
    color: black;
 }
-
+/* The next two statements adjust line spacing in Netsurf 1.2 */
+.big-subsection {
+   line-height: 2.0em;
+}
+.big-subsection h4 {
+   line-height: 1.2em;
+}
 
 /*** ANCHOR ***/
 



reply via email to

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