# HG changeset patch # User Igor Sysoev # Date 1314300846 0 # Node ID 2f7420346aee83bdeecf993482538b7ce1d1a243 # Parent 22b3cd717e559cc2644c20be2679a9a8c2621d20 Initial emphasizing support. Using it for "Q:" and "A:" letter in FAQ. diff -r 22b3cd717e55 -r 2f7420346aee xml/en/docs/welcome_nginx_facebook.xml --- a/xml/en/docs/welcome_nginx_facebook.xml Thu Aug 25 19:32:00 2011 +0000 +++ b/xml/en/docs/welcome_nginx_facebook.xml Thu Aug 25 19:34:06 2011 +0000 @@ -8,8 +8,7 @@
- -Q: + I am trying to open Facebook (Yahoo!, Google, etc.) or some other well known web site and instead I am getting a blank web page with a message referring to nginx “Welcome to nginx!” or @@ -27,8 +26,7 @@   - -A: + nginx is among the 3 most popular web servers in the world. It is a free open source software which is absolutely legitimate and has nothing to do with any kind of threatening or malicious activity per se. diff -r 22b3cd717e55 -r 2f7420346aee xsls/content.xsls --- a/xsls/content.xsls Thu Aug 25 19:32:00 2011 +0000 +++ b/xsls/content.xsls Thu Aug 25 19:34:06 2011 +0000 @@ -18,6 +18,13 @@ X:template = "para[@align]" {

!!;

} +X:template = "para[@initial]" { +

+ !{@initial} X:text{ } + !!; +

+} + X:template = "programlisting" {
 !!; 
} diff -r 22b3cd717e55 -r 2f7420346aee xsls/style.xsls --- a/xsls/style.xsls Thu Aug 25 19:32:00 2011 +0000 +++ b/xsls/style.xsls Thu Aug 25 19:34:06 2011 +0000 @@ -8,6 +8,7 @@ p { text-align: justify; } p { text-indent: 20pt; } p.noindent { text-indent: 0pt; } + span.initial { font-size: 200%; float: left; padding-right: 5pt;} li { text-align: justify; } td.list { background: #EEEEEE; } blockquote.note { text-align: justify; }