velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r660673 - in /velocity/tools/trunk/xdocs: css/style.css site.dvsl
Date Tue, 27 May 2008 19:55:24 GMT
Author: nbubna
Date: Tue May 27 12:55:22 2008
New Revision: 660673

URL: http://svn.apache.org/viewvc?rev=660673&view=rev
Log:
update the look of subsections

Modified:
    velocity/tools/trunk/xdocs/css/style.css
    velocity/tools/trunk/xdocs/site.dvsl

Modified: velocity/tools/trunk/xdocs/css/style.css
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/xdocs/css/style.css?rev=660673&r1=660672&r2=660673&view=diff
==============================================================================
--- velocity/tools/trunk/xdocs/css/style.css (original)
+++ velocity/tools/trunk/xdocs/css/style.css Tue May 27 12:55:22 2008
@@ -14,10 +14,19 @@
     border-bottom: none;
     margin-top: 10px;
 }
-
-h3 {
-    margin: 32px 0px 0px 20px;
-    background-color: whiteSmoke;
+.subsection h3 {
+    border: 0px;
+    padding: 0px;
+    margin: 25px 0px -10px 0px;
+}
+.subsection h3 a {
+    border-bottom: 1px dotted black;
+    display: block;
+    font-size: 1.2em;
+}
+.subsection h3 a.nolink, .subsection h3 a.nolink:hover {
+    text-decoration: none;
+    color: black;
 }
 
 .note {

Modified: velocity/tools/trunk/xdocs/site.dvsl
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/xdocs/site.dvsl?rev=660673&r1=660672&r2=660673&view=diff
==============================================================================
--- velocity/tools/trunk/xdocs/site.dvsl (original)
+++ velocity/tools/trunk/xdocs/site.dvsl Tue May 27 12:55:22 2008
@@ -274,13 +274,10 @@
  *  process a documentation subsection
  *#
 #match( "subsection" )
-<a name="$attrib.name"></a>##
 <div class="subsection">##
-#if( $attrib.href )
-<a href="$attrib.href"><h3>$attrib.name</h3></a>
-#else
-<h3>$attrib.name</h3>
-#end
+<h3><a name="$!attrib.name.replace(' ','_')"#*
+   *##if( $attrib.href ) href="$attrib.href"#*
+   *##else class="nolink"#end>$attrib.name</a></h3>
     $context.applyTemplates("*")
 </div>
 #end



Mime
View raw message