www-commits
[Top][All Lists]
Advanced

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

www style.css server/banner.html print.css


From: Matt Lee
Subject: www style.css server/banner.html print.css
Date: Sat, 01 Dec 2007 02:15:58 +0000

CVSROOT:        /web/www
Module name:    www
Changes by:     Matt Lee <mattl>        07/12/01 02:15:58

Modified files:
        .              : style.css 
        server         : banner.html 
Added files:
        .              : print.css 

Log message:
        added print stylesheet, fixed overflow bug

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/style.css?cvsroot=www&r1=1.1&r2=1.2
http://web.cvs.savannah.gnu.org/viewcvs/www/print.css?cvsroot=www&rev=1.1
http://web.cvs.savannah.gnu.org/viewcvs/www/server/banner.html?cvsroot=www&r1=1.39&r2=1.40

Patches:
Index: style.css
===================================================================
RCS file: /web/www/www/style.css,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- style.css   1 Dec 2007 02:00:37 -0000       1.1
+++ style.css   1 Dec 2007 02:15:28 -0000       1.2
@@ -1,5 +1,5 @@
 /*
-gnu-new.css -- css stylesheet used on www.gnu.org
+style.css -- css stylesheet used on www.gnu.org
 
 Copyright (C) 2006, 2007 Free Software Foundation
 
@@ -17,7 +17,6 @@
 
 */
 
-
 @import url('reset.css');
 
 html, body{
@@ -54,7 +53,7 @@
 #header{ position: relative; background-color: white; height: 101px;}
 
 #links{ position: absolute; top: 5px; right: 1em; border-left: 1px
- solid #333; padding-left: 1em;height: 90px; width: 190px; }
+ solid #333; padding-left: 1em;height: 90px; width: 190px;  overflow: auto }
 
 #links ul{ padding-left: 1em; padding-top: 1em; }
 
@@ -214,11 +213,11 @@
 
 #print-this-article p{ text-align: center; }
 
-#footer { background-color: #999; height: 10em; border-bottom: 20px solid 
#bd0000; border-top: 5px solid #444; padding:1em; color: #111; }
+#footer { background-color: #999; border-bottom: 20px solid #bd0000; 
border-top: 5px solid #444; padding:1em; color: #111; }
 
 #footer a{ color: yellow; }
 
-#footer p{ font-size: 0.9em; }
+#footer p{ font-size: 0.9em; margin-bottom: 0.7em; }
 
 #content ul{ list-style: square; margin-left: 1.4em; }
 
@@ -238,3 +237,4 @@
 #bottom-links{ background-color: #fff; font-size: 0.8em;}
 
 #bottom-links li{ display: inline; margin-right: 1em; line-height: 2em; }
\ No newline at end of file
+

Index: server/banner.html
===================================================================
RCS file: /web/www/www/server/banner.html,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40
--- server/banner.html  1 Dec 2007 02:01:04 -0000       1.39
+++ server/banner.html  1 Dec 2007 02:15:38 -0000       1.40
@@ -1,5 +1,10 @@
-<link rel="stylesheet" type="text/css" href="/style.css" />
-
+<style type="text/css" media="all">
address@hidden url('/style.css');
+</style>
+
+<style type="text/css" media="print">
address@hidden url('/print.css');
+</style>
 </head>
 
 <body>

Index: print.css
===================================================================
RCS file: print.css
diff -N print.css
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ print.css   1 Dec 2007 02:15:28 -0000       1.1
@@ -0,0 +1,78 @@
+/*
+print.css -- css stylesheet used on www.gnu.org
+
+Copyright (C) 2006, 2007 Free Software Foundation
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+*/
+
+#header, #navigation, #links{ display: none !important; }
+
+.inner{ width: 100%; }
+
+body {
+    font-family: Baskerville, Georgia, Garamond, Times, serif;
+    font-size: 11pt !important;
+    border: 0;
+}
+
+h1, h2, h3, h4, h5, h6
+{
+    border: none;
+    font-family: Baskerville, Georgia, Garamond, Times, serif;
+}
+
+div, p, ul, dl, ol {
+    width: auto !important;
+}
+
+ul, ol, dl {
+    padding-right: 0.5em;
+}
+
+ul {
+    list-style-type: square;
+}
+
+
+.documentDescription {
+    font-weight: bold;
+}
+
+pre {
+    border: 1pt dotted black;
+    white-space: pre;
+    font-size: 8pt;
+    overflow: auto;
+    padding: 1em 0;
+}
+
+table.listing,
+table.listing td {
+    border: 1pt solid black;
+    border-collapse: collapse;
+}
+
+a {
+    color: Black !important;
+    padding: 0 !important;
+    text-decoration: none !important;
+}
+
+a:link, a:visited {
+    color: #520;
+    background: transparent;
+}
+
+#footer{ border: 0; font-family: monospace; }
\ No newline at end of file




reply via email to

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