svn commit: r716 - in logback/trunk/logback-skin/src/main/resources: META-INF/maven css

Author: seb Date: Thu Oct 19 16:40:01 2006 New Revision: 716 Modified: logback/trunk/logback-skin/src/main/resources/META-INF/maven/site.vm logback/trunk/logback-skin/src/main/resources/css/print.css logback/trunk/logback-skin/src/main/resources/css/site.css Log: Corrected printing bug in IE (yes! :) Modified table styles to ease read when doc is printed Modified site.vm to create XHTML Strict pages and link css stylesheets correctly Modified: logback/trunk/logback-skin/src/main/resources/META-INF/maven/site.vm ============================================================================== --- logback/trunk/logback-skin/src/main/resources/META-INF/maven/site.vm (original) +++ logback/trunk/logback-skin/src/main/resources/META-INF/maven/site.vm Thu Oct 19 16:40:01 2006 @@ -1,4 +1,4 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> #macro ( banner $banner $id ) #if ( $banner ) @@ -273,9 +273,8 @@ <html> <head> <title>$title</title> - <style type="text/css" media="all"> - @import url("$relativePath/css/site.css"); - </style> + + <link rel="stylesheet" href="$relativePath/css/site.css" type="text/css" media="all" /> <link rel="stylesheet" href="$relativePath/css/print.css" type="text/css" media="print" /> #foreach( $author in $authors ) <meta name="author" content="$author" /> Modified: logback/trunk/logback-skin/src/main/resources/css/print.css ============================================================================== --- logback/trunk/logback-skin/src/main/resources/css/print.css (original) +++ logback/trunk/logback-skin/src/main/resources/css/print.css Thu Oct 19 16:40:01 2006 @@ -1,12 +1,14 @@ /* - Print css. + * Print css. + * */ body { margin: 0px; padding: 0px 0px 2px 0px; + line-height: 1.3em; + font-size: 12px; } - #leftColumn { width: 0px; height: 0px; @@ -14,7 +16,15 @@ } #bodyColumn { - max-width: 100%; margin-right: 1.5em; margin-left: 0px; /*was: 197*/ +} + +table.bodyTable td { + vertical-align: text-top; +} + +table.bodyTable th { + vertical-align: text-top; + text-align:center; } \ No newline at end of file Modified: logback/trunk/logback-skin/src/main/resources/css/site.css ============================================================================== --- logback/trunk/logback-skin/src/main/resources/css/site.css (original) +++ logback/trunk/logback-skin/src/main/resources/css/site.css Thu Oct 19 16:40:01 2006 @@ -1,9 +1,12 @@ /* - Logback CSS Theme for Maven 2, from LB-Skin + * Logback CSS Theme for Maven 2, from LB-Skin + * */ body { margin: 0px; padding: 0px 0px 10px 0px; + line-height: 1.3em; + font-size: small; } img { @@ -111,10 +114,10 @@ font-size: normal; } -p { +/*p { line-height: 1.3em; font-size: small; -} +}*/ #bannerLeft,#bannerRight { font-size: xx-large; @@ -248,9 +251,7 @@ padding-bottom: 0.5ex; padding-top: 0.5ex; padding-left: 1ex; - white-space: pre; - width: 55em; - + /*white-space: pre;*/ } .source pre { @@ -358,5 +359,5 @@ } .greenBold { color: green; - font-weight: bold; + font-weight: bold; } \ No newline at end of file
participants (1)
-
noreply.seb@qos.ch