[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
www/server/staging/nav-bar/test9 license-list.h...
From: |
Therese Godefroy |
Subject: |
www/server/staging/nav-bar/test9 license-list.h... |
Date: |
Tue, 08 Apr 2014 06:31:14 +0000 |
CVSROOT: /webcvs/www
Module name: www
Changes by: Therese Godefroy <th_g> 14/04/08 06:31:14
Modified files:
server/staging/nav-bar/test9: license-list.html layout7.css
Log message:
Modify #legend style and fix .toc margins (Ineiev).
CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/server/staging/nav-bar/test9/license-list.html?cvsroot=www&r1=1.23&r2=1.24
http://web.cvs.savannah.gnu.org/viewcvs/www/server/staging/nav-bar/test9/layout7.css?cvsroot=www&r1=1.12&r2=1.13
Patches:
Index: license-list.html
===================================================================
RCS file: /webcvs/www/www/server/staging/nav-bar/test9/license-list.html,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- license-list.html 7 Apr 2014 20:21:00 -0000 1.23
+++ license-list.html 8 Apr 2014 06:31:13 -0000 1.24
@@ -11,6 +11,9 @@
<style type="text/css" media="print,screen">
+<!--
+/* These statements are commented out in HTML to
+ make them untranslatable. */
/* Definitions for color-coded border */
#content dl.green, #content dl.orange,
#content dl.red, #content dl.blue {
@@ -24,6 +27,13 @@
#content dl.red { border-left: .4em dotted red; }
#content dl.blue { border-left: .4em double blue; }
+/* Disable legend for CSS1-only browsers:
+ they don't support :before and :after */
+#content div#legend { display: none; }
+/* Enable legend for CSS2+ browsers. */
address@hidden print,screen {
+#content div#legend { display: block; }
+}
#content div#legend {
float: right;
width: auto; max-width: 100%;
@@ -39,11 +49,31 @@
#content div#legend dd { margin: 0; }
#legend blockquote { font-size: 1.3em; font-style: normal; text-align: center;
font-weight: bold; }
+#legend dl.green dt:after, #legend dl.orange dt:after,
+#legend dl.red dt:after, #legend dl.blue dt:after { font-weight: normal; }
+-->
+</style>
+<!-- These statements are split between different <style> elements,
+ and their contents aren't commented out on purpose:
+ they should be translated, preferably as separate strings. -->
+<style type="text/css" media="print,screen">
#legend blockquote:before { content: "Code for the left border"; }
-#legend dl.green dt:after { font-weight: normal; content: "Free licenses,
compatible with the GNU GPL or FDL"; }
-#legend dl.orange dt:after { font-weight: normal; content: "Free licenses,
incompatible with the GNU GPL and FDL"; }
-#legend dl.red dt:after { font-weight: normal; content: "Nonfree licenses"; }
-#legend dl.blue dt:after { font-weight: normal; content: "Licenses for works
stating a viewpoint"; }
+</style>
+<style type="text/css" media="print,screen">
+#legend dl.green dt:after {
+ content: "Free licenses, compatible with the GNU GPL or FDL";
+}
+</style>
+<style type="text/css" media="print,screen">
+#legend dl.orange dt:after {
+ content: "Free licenses, incompatible with the GNU GPL and FDL";
+}
+</style>
+<style type="text/css" media="print,screen">
+#legend dl.red dt:after { content: "Nonfree licenses"; }
+</style>
+<style type="text/css" media="print,screen">
+#legend dl.blue dt:after { content: "Licenses for works stating a viewpoint"; }
</style>
<!-- start of banner.html -->
@@ -2494,7 +2524,7 @@
<p></p><p class="unprintable">Updated:
<!-- timestamp start -->
-$Date: 2014/04/07 20:21:00 $
+$Date: 2014/04/08 06:31:13 $
<!-- timestamp end -->
</p>
</div>
Index: layout7.css
===================================================================
RCS file: /webcvs/www/www/server/staging/nav-bar/test9/layout7.css,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- layout7.css 7 Apr 2014 20:06:46 -0000 1.12
+++ layout7.css 8 Apr 2014 06:31:13 -0000 1.13
@@ -931,9 +931,9 @@
/* For license-list.html */
#content div.toc {
- width: 41em;
+ max-width: 42em;
padding-bottom: 1em;
- margin: 3em 1.5em 1em 0;
+ margin: 3em 0 1em 0;
background: #f0f2f4;
border: 1px solid #c9cccf;
}
@@ -954,7 +954,7 @@
display: inline-block;
font-size: 1.5em;
line-height: 1.3em;
- margin: .3em .3em .4em 0;
+ margin: .4em .3em .4em 0;
color: black;
}