ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r961585 - in /ant/ivy/site/style: print-style.css shell.css style.css
Date Thu, 08 Jul 2010 06:26:04 GMT
Author: maartenc
Date: Thu Jul  8 06:26:04 2010
New Revision: 961585

URL: http://svn.apache.org/viewvc?rev=961585&view=rev
Log:
DOCUMENTATION: Limit the width of running text in documentation (IVY-1030)

Modified:
    ant/ivy/site/style/print-style.css
    ant/ivy/site/style/shell.css
    ant/ivy/site/style/style.css

Modified: ant/ivy/site/style/print-style.css
URL: http://svn.apache.org/viewvc/ant/ivy/site/style/print-style.css?rev=961585&r1=961584&r2=961585&view=diff
==============================================================================
--- ant/ivy/site/style/print-style.css (original)
+++ ant/ivy/site/style/print-style.css Thu Jul  8 06:26:04 2010
@@ -24,7 +24,6 @@
 @import "shell.css";
 
 #body  {
-  display: table;
   padding: 0;
 }
 #body  {
@@ -109,7 +108,6 @@ blockquote {
 pre {
   padding: 0.75em 1.5em;
   font-size: 1em;
-  overflow: auto;
 }
 .form-item {
   margin-top: 1em;

Modified: ant/ivy/site/style/shell.css
URL: http://svn.apache.org/viewvc/ant/ivy/site/style/shell.css?rev=961585&r1=961584&r2=961585&view=diff
==============================================================================
--- ant/ivy/site/style/shell.css (original)
+++ ant/ivy/site/style/shell.css Thu Jul  8 06:26:04 2010
@@ -17,15 +17,22 @@
  */
 
 /* the class shell is used when a copy of the content of a shell or DOS window is made */
+
 .shell {
-	background-color: black; 
-	color: white; 
-	border: medium gray solid;
-	overflow: auto;
+  background-color: black; 
+  color: white; 
+  border: medium gray solid;
 }
 .shell pre {
-	background-color: black; 
-	border: none; 
-	font-size: small; 
-	overflow: visible;
+  background-color: black; 
+  border: none; 
+  font-size: small; 
+  white-space: pre; /* CSS2 */
+  white-space: -moz-pre-wrap; /* Mozilla */
+  white-space: -hp-pre-wrap; /* HP printers */
+  white-space: -o-pre-wrap; /* Opera 7 */
+  white-space: -pre-wrap; /* Opera 4-6 */
+  white-space: pre-wrap; /* CSS 2.1 */
+  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
+  word-wrap: break-word; /* IE */
 }

Modified: ant/ivy/site/style/style.css
URL: http://svn.apache.org/viewvc/ant/ivy/site/style/style.css?rev=961585&r1=961584&r2=961585&view=diff
==============================================================================
--- ant/ivy/site/style/style.css (original)
+++ ant/ivy/site/style/style.css Thu Jul  8 06:26:04 2010
@@ -37,6 +37,7 @@ body  {
   display: table;
   margin: 8px auto;
   padding: 0;
+  width: 98%;
 }
 body, p, td, li, ul, ol  {
   font-family: Verdana, Helvetica, Arial, sans-serif;
@@ -96,7 +97,6 @@ blockquote {
 pre {
   padding: 0.75em 1.5em;
   font-size: 1em;
-  overflow: auto;
 }
 .form-item {
   margin-top: 1em;
@@ -152,7 +152,7 @@ pre {
 }
 
 #sidebar-left, #sidebar-right {
-  width: 200px;
+  width: 300px;
   /* padding in px not ex because IE messes up 100% width tables otherwise */
   padding: 15px 5px 75px 10px;
   vertical-align: top;
@@ -160,6 +160,9 @@ pre {
 #sidebar-left li, #sidebar-right li {
   font-size: 1em;
 }
+#content {
+  table-layout:fixed;
+}
 .block h2 {
   margin: 5px 0px 0px 0px;
   padding: 1px 5px 1px 30px;



Mime
View raw message