Explorar o código

Updated to reflect new Spring Framework 1.0 styles.

Ben Alex %!s(int64=21) %!d(string=hai) anos
pai
achega
782bfe5a74
Modificáronse 2 ficheiros con 75 adicións e 10 borrados
  1. 30 1
      docs/reference/styles/fopdf.xsl
  2. 45 9
      docs/reference/styles/html.css

+ 30 - 1
docs/reference/styles/fopdf.xsl

@@ -45,7 +45,32 @@
                                 <xsl:value-of select="bookinfo/subtitle"/> 
                             </fo:block>
                             <fo:block font-family="Helvetica" font-size="12pt" padding="10mm">
-                                Version: <xsl:value-of select="bookinfo/releaseinfo"/>  
+                                <xsl:value-of select="bookinfo/releaseinfo"/>  
+                            </fo:block>
+                        </fo:table-cell>
+                    </fo:table-row>
+                    <fo:table-row>
+                        <fo:table-cell text-align="center">
+                            <fo:block font-family="Helvetica" font-size="14pt" padding="10mm">
+                                <xsl:value-of select="bookinfo/pubdate"/> 
+                            </fo:block>
+                        </fo:table-cell>
+                    </fo:table-row>
+                    <fo:table-row>
+                        <fo:table-cell text-align="center">
+                            <fo:block font-family="Helvetica" font-size="12pt" padding="10mm">
+                                <xsl:text>Copyright (c) 2004  -  </xsl:text>
+                                <xsl:for-each select="bookinfo/authorgroup/author">
+                                    <xsl:if test="position() > 1">
+                                        <xsl:text>, </xsl:text>
+                                    </xsl:if>
+                                    <xsl:value-of select="firstname"/>
+                                    <xsl:text> </xsl:text>
+                                    <xsl:value-of select="surname"/>
+                                </xsl:for-each>
+                            </fo:block>
+                            <fo:block font-family="Helvetica" font-size="10pt" padding="1mm">
+                                <xsl:value-of select="bookinfo/legalnotice"/>  
                             </fo:block>
                         </fo:table-cell>
                     </fo:table-row>
@@ -255,6 +280,10 @@
                    Fonts & Styles
     ################################################### -->      
 
+    <!-- Left aligned text and no hyphenation -->
+    <xsl:param name="alignment">left</xsl:param>
+    <xsl:param name="hyphenate">false</xsl:param>
+
     <!-- Default Font size -->
     <xsl:param name="body.font.master">11</xsl:param>
     <xsl:param name="body.font.small">8</xsl:param>

+ 45 - 9
docs/reference/styles/html.css

@@ -24,11 +24,23 @@ OL, UL, P {
 }
 
 P, BLOCKQUOTE {
-    font-size: 80%;
+    font-size: 90%;
+}
+
+P.releaseinfo {
+    font-size: 120%; font-weight: bold; 
+    font-family: Arial, helvetica, sans-serif;
+    padding-top: 10px;
 }
 
+P.pubdate {
+    font-size: 120%; font-weight: bold; 
+    font-family: Arial, helvetica, sans-serif;
+}
+
 td {
-    font-size: 80%;
+    font-size: 80%;
+}
 
 
 TD, TH, SPAN {
@@ -39,7 +51,6 @@ BLOCKQUOTE {
     margin-right: 0px;
 }
 
-
 H1, H2, H3, H4, H5, H6    {
     color: #000000;
     font-weight:500;
@@ -49,6 +60,25 @@ H1, H2, H3, H4, H5, H6    {
     margin-bottom: 0px;
 }
 
+H2.title {
+    font-weight:800;
+    margin-bottom: 8px;
+}
+
+H2.subtitle {
+    font-weight:800;
+    margin-bottom: 20px;
+}
+
+H3.author {
+    color: #000000;
+    font-weight:500;
+    margin-top:0px;
+    padding-top:0px;
+    font-family: Arial, helvetica, sans-serif;
+    margin-bottom: 0px;
+}
+
 TABLE  {
     border-collapse: collapse;
     border-spacing:0;
@@ -61,7 +91,7 @@ TD  {
 }
 
 H1 { 
-    font-size: 130%; 
+    font-size: 150%; 
 }
 H2 { 
     font-size: 110%; 
@@ -80,7 +110,7 @@ H6 {
 }
 
 TT {
-font-size: 90%;
+    font-size: 90%;
     font-family: "Courier New", Courier, monospace;
     color: #000000;
 }
@@ -90,7 +120,7 @@ font-size: 90%;
 }
 
 PRE {
-    font-size: 70%;
+    font-size: 90%;
     padding: 5px;
     border-style: solid;
     border-width: 1px;
@@ -116,7 +146,7 @@ HR  {
     padding-bottom:10; 
     margin:0;
 }
-
+
 /*(.itemizedlist, UL { 
     padding-top: 0; 
     padding-bottom:0; 
@@ -126,7 +156,13 @@ HR  {
 .term { 
     font-weight:bold;
 }
+
+.mediaobject {
+    padding-top: 30px; 
+    padding-bottom: 30px; 
+}
 
-
-
+.legalnotice {
+    font-size: 70%;
+}