changeset 71:c007b57d617c

The first line indentation in a paragraph which is used in Russian typographics isn't common for other languages. In HTML, even with Russian contents, paragraphs are usually separated with a vertical interval without the first line indentation. We will be following this convention as well.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 10 Oct 2011 08:23:43 +0000
parents 272d99af0c15
children 0987079ad08f
files xsls/content.xsls xsls/news.xsls xsls/security.xsls xsls/style.xsls
diffstat 4 files changed, 3 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/xsls/content.xsls	Sun Oct 09 21:19:52 2011 +0000
+++ b/xsls/content.xsls	Mon Oct 10 08:23:43 2011 +0000
@@ -30,12 +30,8 @@
 
     X:template = "para" { <p> !!; </p> }
 
-    X:template = "item/para" { <p class="noindent"> !!; </p> }
-
     X:template = "para[@align]" { <p align="{@align}"> !!; </p> }
 
-    X:template = "para[child::initial]" { <p class="noindent"> !!; </p> }
-
     X:template = "initial" { <span class="initial"><b> !!; </b></span> }
 
 
@@ -44,7 +40,7 @@
     X:template = "para/programlisting" {
 	X:text disable-output-escaping="yes" {&lt;/p&gt; }
 	<blockquote><pre> !!; </pre></blockquote>
-	X:text disable-output-escaping="yes" {&lt;p class="noindent"&gt; }
+	X:text disable-output-escaping="yes" {&lt;p&gt; }
     }
 
 
@@ -53,7 +49,7 @@
     X:template = "para/note" {
 	X:text disable-output-escaping="yes" {&lt;/p&gt; }
 	<blockquote class="note"> !!; </blockquote>
-	X:text disable-output-escaping="yes" {&lt;p class="noindent"&gt; }
+	X:text disable-output-escaping="yes" {&lt;p&gt; }
     }
 
     X:template = "list[@type='bullet']" { <ul> !!; </ul> }
--- a/xsls/news.xsls	Sun Oct 09 21:19:52 2011 +0000
+++ b/xsls/news.xsls	Mon Oct 10 08:23:43 2011 +0000
@@ -64,7 +64,4 @@
 }
 
 
-X:template = "event/para" { <p class="noindent"> !!; </p> }
-
-
 }
--- a/xsls/security.xsls	Sun Oct 09 21:19:52 2011 +0000
+++ b/xsls/security.xsls	Mon Oct 10 08:23:43 2011 +0000
@@ -42,7 +42,7 @@
 X:template = "security/item" {
 
     <li>
-    <p class="noindent">
+    <p>
 
     !{@title}<br/>
 
--- a/xsls/style.xsls	Sun Oct 09 21:19:52 2011 +0000
+++ b/xsls/style.xsls	Mon Oct 10 08:23:43 2011 +0000
@@ -6,8 +6,6 @@
         html             {-webkit-text-size-adjust: none}
         body             { font-family:  Georgia, serif; }
         p                { text-align:   justify; }
-        p                { text-indent:  20pt; }
-        p.noindent       { text-indent:  0pt; }
         div.directive    { background:   #EEEEEE;
                            padding:      10pt 10pt 10pt 20pt; }
         span.initial     { font-size:    200%;