[Python-checkins] r88932 - in tracker/instances/python-dev/html: page.html style.css

ezio.melotti python-checkins at python.org
Tue Jan 17 09:15:50 CET 2012


Author: ezio.melotti
Date: Tue Jan 17 09:15:49 2012
New Revision: 88932

Log:
Improve the print css and merge it with the default one.

Modified:
   tracker/instances/python-dev/html/page.html
   tracker/instances/python-dev/html/style.css

Modified: tracker/instances/python-dev/html/page.html
==============================================================================
--- tracker/instances/python-dev/html/page.html	(original)
+++ tracker/instances/python-dev/html/page.html	Tue Jan 17 09:15:49 2012
@@ -5,7 +5,6 @@
 <title metal:define-slot="head_title">title goes here</title>
 <link rel="shortcut icon" href="@@file/favicon.ico" />
 <link media="screen" href="http://python.org/styles/screen-switcher-default.css" type="text/css" id="screen-switcher-stylesheet" rel="stylesheet" />
-<link media="print" href="http://python.org/styles/print.css" type="text/css" rel="stylesheet" />
 <link rel="stylesheet" type="text/css" href="@@file/style.css" />
 <link rel="search" type="application/opensearchdescription+xml"
       href="@@file/osd.xml"

Modified: tracker/instances/python-dev/html/style.css
==============================================================================
--- tracker/instances/python-dev/html/style.css	(original)
+++ tracker/instances/python-dev/html/style.css	Tue Jan 17 09:15:49 2012
@@ -577,3 +577,33 @@
     padding-left: 1em;
     cursor: help;
 }
+
+
+/* styles for printing */
+ at media print {
+
+#left-hand-navigation, #google, #document-navigation,
+#border-corner, #smallcorner, #searchcorner, #logo,
+#search, #utility-menu, #skiptonav, #footer, iframe {
+    display:none;
+}
+
+#content-body {
+    font-family: Georgia, "Bitstream Vera Serif", "New York", Palatino, serif;
+    font-size: 11pt;
+}
+
+#content-body a {
+    color: #000000;
+    text-decoration: none;
+}
+
+#body-main {
+    margin: 0;
+}
+
+#body-main a {
+    font-weight: bold;
+}
+
+}


More information about the Python-checkins mailing list