[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
www/server/staging/nav-bar/test9 layout7.css st...
From: |
Therese Godefroy |
Subject: |
www/server/staging/nav-bar/test9 layout7.css st... |
Date: |
Sun, 11 Oct 2015 12:26:42 +0000 |
CVSROOT: /webcvs/www
Module name: www
Changes by: Therese Godefroy <th_g> 15/10/11 12:26:41
Modified files:
server/staging/nav-bar/test9: layout7.css style.css
edu-software-gcompris.html
Log message:
Go back using padding-left (-right) for page margin and margin-left
(-right) for indentation to simplify style.css; more tweaks for audio-video in
style.css; adjust transition width in edu-software-gcompris.
CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/server/staging/nav-bar/test9/layout7.css?cvsroot=www&r1=1.107&r2=1.108
http://web.cvs.savannah.gnu.org/viewcvs/www/server/staging/nav-bar/test9/style.css?cvsroot=www&r1=1.10&r2=1.11
http://web.cvs.savannah.gnu.org/viewcvs/www/server/staging/nav-bar/test9/edu-software-gcompris.html?cvsroot=www&r1=1.19&r2=1.20
Patches:
Index: layout7.css
===================================================================
RCS file: /webcvs/www/www/server/staging/nav-bar/test9/layout7.css,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -b -r1.107 -r1.108
--- layout7.css 9 Oct 2015 19:58:10 -0000 1.107
+++ layout7.css 11 Oct 2015 12:26:40 -0000 1.108
@@ -186,6 +186,7 @@
#content ul#edu-navigation {
margin-left: -3.2%; margin-right: -3.2%;
}
+
@media (min-width: 60em) {
#content { padding-left: 10%; padding-right: 10%; }
#content ul#edu-navigation {
@@ -193,6 +194,7 @@
}
}
+
/* Backgrounds */
#searcher, #edu-navigation, #fsf-links {
@@ -234,7 +236,7 @@
pre { overflow: auto; }
p, pre, ul li, ol li, dt, dd, code, address { line-height: 1.3em; }
-ul, ol, blockquote { margin: .5em 0 1em 0; padding: 0 3%; }
+ul, ol, blockquote { margin: .5em 3% 1em 3%; }
/* Lists of underlined links are difficult to read. The top margin gives a
little more spacing between entries. */
@@ -245,7 +247,7 @@
dt { margin: 1em 0; }
/* separate the "description" from subsequent list item
when the final <dd> child is an anonymous box */
-dd { margin: 1em 3% 2em 3%; }
+dl dd { margin: 1em 3% 2em 3%; }
/* separate anonymous box (used to be the first element in <dd>)
from subsequent <p> */
dd p { margin-top: 1em; }
Index: style.css
===================================================================
RCS file: /webcvs/www/www/server/staging/nav-bar/test9/style.css,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- style.css 7 Oct 2015 10:37:29 -0000 1.10
+++ style.css 11 Oct 2015 12:26:41 -0000 1.11
@@ -8,12 +8,7 @@
/* 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: 3%; margin-right: 3%;
-}
-body ul, body ol, body dl, body blockquote {
- padding-left: 3%; padding-right: 3%;
-}
+h2, h3, h4, h5, p, ul, ol, dl, blockquote { padding-left: 3%; padding-right:
3%; }
/* Specifically for sections of the Emacs manual which start at the top
of the page. */
@@ -23,7 +18,7 @@
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;
+ padding-left: 0; padding-right: 0;
}
/* For audio-video.gnu.org and other old-style pages. */
@@ -42,9 +37,16 @@
cursor:pointer;
}
img { width: 30em; max-width: 100%; }
-body .inner h2 { margin-left: 3% !important; }
-body div.inner#content h2 { margin-left: 0 !important; }
+
+/* No indentation of #content. Long lines because of the sitemap in
audio-video. */
+#content { padding: 0 1.5% }
+
+/* Tweak for the last paragraph in audio-video (Check out other FSF campaigns)
*/
+body div.inner h2 { margin-left: 1.5%; }
#fsf-links { margin-top: 0; }
-.inner ul { margin-bottom: 1.5em; }
-#translations { border: none; }
+body div.inner ul { margin-bottom: 1.5em; margin-left: 1.41%; }
+body div#content ul { margin-left: 0; }
+
+/* The translation list is at the bottom, and usually empty. No need for a
border. */
+body div#translations { border: none; }
Index: edu-software-gcompris.html
===================================================================
RCS file:
/webcvs/www/www/server/staging/nav-bar/test9/edu-software-gcompris.html,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- edu-software-gcompris.html 9 Oct 2015 12:05:00 -0000 1.19
+++ edu-software-gcompris.html 11 Oct 2015 12:26:41 -0000 1.20
@@ -8,7 +8,7 @@
<!--#include virtual="/education/po/edu-software-gcompris.translist" -->
<style type="text/css" media="screen,print">
<!--
address@hidden (max-width: 55em) {
address@hidden (max-width: 50em) {
#content div.photo { margin-top: 1.6em; }
}
-->
@@ -170,7 +170,7 @@
<p class="unprintable">Updated:
<!-- timestamp start -->
-$Date: 2015/10/09 12:05:00 $
+$Date: 2015/10/11 12:26:41 $
<!-- timestamp end -->
</p>
</div>
- www/server/staging/nav-bar/test9 layout7.css st...,
Therese Godefroy <=