playing with About Ubuntu

Bhuvaneswaran bhuvaneswaran at gmail.com
Fri Nov 25 05:01:27 UTC 2005


> One important thing: can someone please help me with how to remove that
> ghastly <hr> at the top. Obviously we could do it by hand, but I'd like
> to know how to do it from the xsl stylesheets.

Seems, <hr> would be printed when we use article. It's grusome because
we've added border-bottom for h2 titles. I've addressed it. I did put
the title in <artheader>, made it as h1! Here's the patch, please
check and apply, thankx.

--
Regards,
Bhuvaneswaran
www.symonds.net/~bhuvan/
-------------- next part --------------
Index: libs/aboutubuntu.css
===================================================================
--- libs/aboutubuntu.css	(revision 2124)
+++ libs/aboutubuntu.css	(working copy)
@@ -105,6 +105,11 @@
 
 /* Headings */
 
+h1
+{
+        color: #6d4c07; /* ubuntu dark brown */
+}
+
 h2, h3, h4, h5, h6
 {
         margin: 1.5em 0 0 0;
Index: aboutubuntu/C/about-ubuntu.xml
===================================================================
--- aboutubuntu/C/about-ubuntu.xml	(revision 2124)
+++ aboutubuntu/C/about-ubuntu.xml	(working copy)
@@ -12,7 +12,9 @@
 <!ENTITY language "&EnglishAmerican;">
 ]>
 <article id="art-about-ubuntu" status="complete" lang="&language;">
+    <artheader>
     <title>About Ubuntu</title>
+    </artheader>
     <para id="about1">
         <inlinemediaobject>
             <imageobject>


More information about the ubuntu-doc mailing list