harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Svetlana Konovalova (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3364) [website][doc]Fixing markup and coding style in XML sources
Date Fri, 16 Mar 2007 09:41:09 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Svetlana Konovalova updated HARMONY-3364:
-----------------------------------------

    Attachment: TM_TOC_fix_to_check_new_css.patch
                March16_site.css.patch

Nadya, Alexey,

I was experimenting with the CSS file and tables of content to get rid of <blockqoute>
and save the 3d level heading in the TOC.

As you suggested, I use lists for TOC.

CSS file changes:
Added the following attributes and elements 
ol.TOCHeading 
{
    list-style-type:none;
    font-weight: bold;
    font-size: 105%;
    text-align: left;
    padding-left: 15px;
    margin-bottom: 5pt;
    margin-top: 5pt;
    margin-left: 5px;
    margin-right: 0pt;
}

ol.TOC {
    list-style-type:none;
    font-size: 100%;
    font-weight:lighter;
    text-indent: 15pt;
    padding-left: 15px;
    margin-left: 5px;
    margin-right: 0.00px;
    margin-top: 0px;
    margin-bottom: 0px;
}

ul.TOC {
    list-style-type:none;
    font-size: 95%;
    font-weight:normal;
    text-indent: 15pt;
    padding-left: 15px;
    margin-left: 5px;
    margin-right: 0.00px;
    margin-top: 0px;
    margin-bottom: 0px;
}


TOC changes:

<ol class="TOCHeading">
    <li><H1></li>
         <ol class="TOC">
            <li><H2></li>
                 <ul class="TOC">
                    <li><H3></li>
                    <li><H3></li>
                  </ul>
              <li><H2></li>
              <li><H2></li>                 
                 <ul class="TOC">
                    <li><H3></li>
                    <li><H3></li>
                  </ul>
           <li><H2></li>                 
        </ol>
    <li><H1></li> 
                  ..............................  
      </ol> 

IMHO such formatting is more compact than the current one.

For the sake of convenience, I attach  TM_TOC_fix_to_check_new_css.patch showing the modified
TOC of the TM doc.

I also removed the declaration 'text-transform: uppercase' to increase readability of <h3>
text.

your feedback is highly appeciated! 

> [website][doc]Fixing markup and coding style in XML sources
> -----------------------------------------------------------
>
>                 Key: HARMONY-3364
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3364
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Website/Documentation
>            Reporter: Svetlana Konovalova
>         Assigned To: Nadya Morozova
>         Attachments: Fixing_markup&coding_style.patch, March13_Fixing_markup&coding_style.patch,
March15_Fixing_markup.patch, March16_site.css.patch, TM_TOC_fix_to_check_new_css.patch
>
>
> Certain files have wrong coding style resulting in incorrect output. Redundant whitespaces
make site look slovenly. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message