view xsls/style.xsls @ 17:1fc034261cf4

Refactoring r16: "initial" should be property of text but not of paragraph.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 26 Aug 2011 04:47:48 +0000
parents 2f7420346aee
children 9d3403f5204d
line wrap: on
line source

X:stylesheet {

X:template style (lang) {

    <style>!{ normalize-space('
        html             {-webkit-text-size-adjust:none}
        body             { font-family:  Georgia, serif; }
        p                { text-align:   justify; }
        p                { text-indent:  20pt; }
        p.noindent       { text-indent:  0pt; }
        span.initial     { font-size:    200%;
                           float: left; padding-right: 10pt;}
        li               { text-align:   justify; }
        td.list          { background:   #EEEEEE; }
        blockquote.note  { text-align:   justify; }
        blockquote.note  { background:   #EEEEEE; border: none; }
        blockquote.note  { padding:      10pt 10pt 10pt 10pt; }
        ') }

    X:if "$lang = 'he'" {
        !{ normalize-space('
        pre              { text-align:   left; direction: ltr; }
        code             { direction:    ltr; unicode-bidi: embed;}
        .ltr             { direction:    ltr; unicode-bidi: embed;}
        ') }
    }

    </style>
}

}