[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
www style.css
From: |
Therese Godefroy |
Subject: |
www style.css |
Date: |
Mon, 12 May 2014 08:26:01 +0000 |
CVSROOT: /webcvs/www
Module name: www
Changes by: Therese Godefroy <th_g> 14/05/12 08:26:01
Modified files:
. : style.css
Log message:
Fix page margins; restore background.
CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/style.css?cvsroot=www&r1=1.40&r2=1.41
Patches:
Index: style.css
===================================================================
RCS file: /webcvs/www/www/style.css,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- style.css 2 Apr 2014 00:06:39 -0000 1.40
+++ style.css 12 May 2014 08:26:01 -0000 1.41
@@ -4,8 +4,25 @@
@import url('/layout.css');
/* some very basic styling for the pages that still use this. */
+body { margin: auto; width: 99%; max-width:74.92em; padding-bottom: 1em; }
-body { margin: auto; width: 99%; max-width:74.92em; }
-html, body {
- background: white;
+/* For pages which don't use #null-wrapper or .inner (Emacs manual,
+ for example) */
+body h2, body h3, body h4, body h5, body p {
+ margin-left: 1.5%; margin-right: 1.5%;
}
+body ul, body ol, body dl, body blockquote {
+ padding-left: 1.5%; padding-right: 1.5%;
+}
+
+/* Specifically for sections of the Emacs manual which start at the top
+ of the page. */
+div.node { border-top: 1em solid white; }
+
+/* This restores the normal margin for pages which use #null-wrapper
+ or .inner. */
+#null-wrapper h2, #null-wrapper h3, #null-wrapper h4, #null-wrapper h5,
+ #null-wrapper p, .inner h2, .inner h3, .inner h4, .inner h5, .inner p {
+ margin-left: 0; margin-right: 0;
+}
+
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- www style.css,
Therese Godefroy <=