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: Mon, 1 Feb 2021 09:45:44 -0500 (EST)

CVSROOT:        /webcvs/www
Module name:    www
Changes by:     Therese Godefroy <th_g> 21/02/01 09:45:43

Modified files:
        .              : layout.css 

Log message:
        Add definitions from reset.css.

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

Patches:
Index: layout.css
===================================================================
RCS file: /webcvs/www/www/layout.css,v
retrieving revision 1.277
retrieving revision 1.278
diff -u -b -r1.277 -r1.278
--- layout.css  1 Feb 2021 14:21:11 -0000       1.277
+++ layout.css  1 Feb 2021 14:45:43 -0000       1.278
@@ -128,7 +128,6 @@
 
 
 
-
 /*====================================================================*/
 /*                   MAIN DIVS & CONSTANT FEATURES                    */
 /*====================================================================*/
@@ -147,7 +146,8 @@
    consistency with fsf.org.  */
 body {
    max-width: 74.92em;   /* About 1200px */
-   margin: auto;
+   padding: 0;
+   margin: 0 auto;
    background: white;
    border: .1em solid #bbb;
    border-top: 0;
@@ -157,6 +157,10 @@
    -o-box-shadow: 0 0 5px 5px #bbb;
    box-shadow: 0 0 5px 5px #bbb;
 }
+div {
+   padding: 0;
+   margin: 0;
+}
 .inner { overflow: hidden; }
 
 
@@ -711,10 +715,11 @@
 /*************************/
 
 small { font-size: .875em; }  /* 16px -> 14px */
-strong { font-weight: bold; }
-em, cite, var { font-style: italic; }
+strong { font-style: inherit; font-weight: bold; }
+em, cite, var, dfn { font-style: italic; font-weight: inherit; }
 em i, em cite, cite i, cite em, i em, i cite, i i { font-style: normal; }
 acronym, abbr {
+   font-variant: normal;
    text-decoration: none;
    border-bottom: 1px dotted #000;
    cursor: help;
@@ -726,6 +731,7 @@
 kbd { background: #f0f0f0; }
 
 /* Rarely used */
+ins { text-decoration: none; }
 del { text-decoration: line-through; }
 sup { vertical-align: super; }
 sub { vertical-align: sub; }
@@ -750,27 +756,28 @@
 
 p, pre { line-height: 1.5em; }
 address { line-height: 1.3em; }
-caption { margin-bottom: .5em; text-align: center; }
-blockquote {  margin: 1em 3%; }
+p, blockquote { padding: 0; }
+pre { padding: 0 0 .3em; overflow: auto; }
 
 /* The top margin should be sufficient. The bottom margin is only useful
    if the element that follows is an anonymous box. */
 p, pre, address { margin: 1em 0; }
-pre { padding-bottom: .3em; overflow: auto; }
+blockquote { margin: 1em 3%; }
 
 
 /*************/
 /*  HEADERS  */
 /*************/
 
+h1, h3, h4, h5, h6 { padding: 0; }
 h1 { font-size: 2.375em; margin: 1.0em 0; }                      /* 38px */
-h2 { font-size: 2em; padding-bottom: .2em; margin: .9em 0 .8em; } /* 32px */
+h2 { font-size: 2em; padding: 0 0 .2em; margin: .9em 0 .8em; }   /* 32px */
 h3 { font-size: 1.5em;   margin: 1.2em 0  .8em; }                /* 24px */
 .article h3 { font-size: 1.41em; }                               /* 24px */
 h4 { font-size: 1.25em;  margin: 1.2em 0  .85em; }               /* 20px */
 .article h4 { font-size: 1.18em; }                               /* 20px */
 h5 { font-size: 1.125em; margin: 1em   0  .9em; }                /* 18px */ 
-h6 { margin: 1em 0; }
+h6 { font-size: 1.0em;   margin: 1em   0; }
 
 h2 { clear: both; }
 
@@ -848,11 +855,13 @@
 /*  LISTS  */
 /***********/
 
+ul, ol, li, dl, dd, dt { padding: 0; }
+li, dt, dd { line-height: 1.5em; }
+
 ol li { list-style: decimal outside; }
 ul li { list-style: square outside; }
 ul ul li, ol ul li { list-style: circle; }
 
-li, dt, dd { line-height: 1.5em; }
 ul, ol { margin: 1em 1.5%; }
 
 /* Lists of underlined links are difficult to read. The top margin
@@ -943,12 +952,23 @@
 /*  TABLES  */
 /************/
 
+table {
+   border-collapse: collapse;
+   border-spacing: 0;
+   margin: 1.5em 0;
+}
+caption {
+   font-style: inherit;
+   font-weight: inherit;
+   text-align: center;
+   margin-bottom: .5em;
+}
 th, td {
    border: 1px solid #bbb; /* default */
    padding: .5em;
+   margin: 0;
 }
 th { font-weight: bold; text-align: center; }
-table { margin: 1.5em 0; }
 
 th, td, td p, td li { line-height: 1.3em; }
 
@@ -996,7 +1016,10 @@
 /*  IMAGES  */
 /************/
 
-img { vertical-align: top; }
+img {
+   vertical-align: top;
+   border: 0;
+}
 
 .imgright, .imgleft { max-width: 100%; }
 .imgright { float: right; margin: .3em 0 1em 2em; }
@@ -1362,8 +1385,18 @@
 
 /** LAYOUT **/
 
-fieldset { margin: 1em 0; }
-optgroup { font-weight: normal; }
+form, legend, fieldset, textarea { padding: 0; }
+form, legend, button, textarea, input { margin: 0; }
+fieldset {
+   border: 0;
+   margin: 1em 0;
+}
+input, button, textarea, select, optgroup, option {
+   font-family: inherit;
+   font-size: inherit;
+   font-style: normal;
+   font-weight: normal;
+}
 button, input[type="checkbox"], input[type="radio"],
 input[type="reset"], input[type="submit"] {
    padding: 1px;



reply via email to

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