#
# xhtml-deprecated-css.conf
#
# DEPRECATED: Asciidoc 6 xhtml backend.
# Included in xhtml-deprecated.conf
#

[tags]
# Add title class.
ilist={id?<a name="{id}"></a>}{title?<p class="listtitle"><b>{title}</b></p>}<ul>|</ul>
olist={id?<a name="{id}"></a>}{title?<p class="listtitle"><b>{title}</b></p>}<ol>|</ol>
vlist={id?<a name="{id}"></a>}{title?<p class="listtitle"><b>{title}</b></p>}<dl>|</dl>
hlist={id?<a name="{id}"></a>}{title?<p class="listtitle"><b>{title}</b></p>}<table class="hlist">|</table>
qlist={id?<a name="{id}"></a>}{title?<p class="listtitle"><b>{title}</b></p>}<ol>|</ol>
colist={id?<a name="{id}"></a>}{title?<p class="listtitle"><b>{title}</b></p>}<ol>|</ol>

[image-inlinemacro]
<a class="imagelink" href="{link}">
# border="0" so broken IE6 does not put border round linked image.
  <img src="{target}" alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"} border="0"/>
{link#}</a>

[image-blockmacro]
<div class="image">
  <a name="{id}"></a>
  <p>{link?<a class="imagelink" href="{link}">}
# border="0" so broken IE6 does not put border round linked image.
    <img src="{target}" alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"} border="0"/>
  {link?</a>}</p>
  <p class="imagetitle"><b>Figure:</b> {title}</p>
</div>

# Paragraph substitution.
[literalparagraph]
<a name="{id}"></a>
<p class="blocktitle"><b>Example:</b> {title}</p>
<div class="literalparagraph"><pre>|</pre></div>

# Admonition paragraphs.
[admonitionparagraph]
<div class="admonition">
<a name="{id}"></a>
# For backward compatibility still accept deprecated imagesdir attribute.
{icons#}<div class="icon"><img src="{imagesdir={iconsdir}}/{name}.png" alt="{caption}" /></div>
<div class="text"><p><b>{style}:</b> |</p></div>
<div class="clear"></div>
</div>

# Delimited block substitution.
[literalblock]
<a name="{id}"></a>
<p class="blocktitle"><b>Example:</b> {title}</p>
<div class="literalblock"><pre>
|
</pre></div>

[listingblock]
<a name="{id}"></a>
<p class="blocktitle"><b>Example:</b> {title}</p>
<div class="listingblock"><pre>
|
</pre></div>

[sidebarblock]
<div class="sidebarblock">
<a name="{id}"></a>
<p class="sidebartitle">{title}</p>
|
</div>

[passthroughblock]
|

[exampleblock]
<a name="{id}"></a>
<p class="blocktitle"><b>Example:</b> {title}</p>
<div class="exampleblock">
|
</div>

# Admonition blocks.
[admonitionblock]
<div class="admonition">
<a name="{id}"></a>
# For backward compatibility still accept deprecated imagesdir attribute.
{icons#}<div class="icon"><img src="{imagesdir={iconsdir}}/{name}.png" alt="{caption}" /></div>
<div class="text">
<p><b>{title={style}}</b></p>
|</div>
<div class="clear"></div>
</div>

[verseblock]
<p class="verseblock">{id?<a name="{id}"></a>}{title?<b>{title}</b><br />}
|
</p>

[table]
# Table captions not used because IE6 is broken.
<p class="tabletitle"><b>Table:</b> {title}</p>
# If you want styled table borders in IE use the following table tag:
# 1. Border style specified here rather than in CSS because IE6 is broken.
# 2. bordercolor attribute is IE specific and not valid XHTML 1.0.
#<table rules="groups" border="2" bordercolor="green" frame="hsides"
# cellspacing="0" cellpadding="4">
#
# Use this in preference to be strictly XHTML 1.0 conformant.
<a name="{id}"></a>
<table class="tableblock" rules="{grid=none}"
frame="{frame%hsides}"
frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
cellspacing="0" cellpadding="4">
{headrows#}<thead{noborders? style="border-width: 0;"}>
{headrows}
{headrows#}</thead>
{footrows#}<tfoot{noborders? style="border-width: 0;"}>
{footrows}
{footrows#}</tfoot>
<tbody{noborders? style="border-width: 0;"}>
{bodyrows}
</tbody>
</table>

[preamble]
# Untitled elements between header and first section title.
<div id="preamble">
<a name="{id}"></a>
|
</div>

[sect0]
<h2 class="sect0">{id?<a name="{id}"></a>}{title}</h2>
|

[sect1]
<h2>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h2>
|

[sect2]
<h3>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h3>
|

[sect3]
<h4>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h4>
|

[sect4]
<h5>{id?<a name="{id}"></a>}{title}</h5>
|

[footer]
<div id="footer">
<p>
Version {revision}<br />
Last updated {localdate} {localtime}
</p>
</div>
</div>
</body>
</html>

#-------------------------
# article and book document types
# Both use the article.css stylesheet
#-------------------------
ifndef::doctype-manpage[]

[header]
<!DOCTYPE html {dtddecl}>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={encoding=ISO-8859-1}" />
<meta name="generator" content="AsciiDoc {asciidoc-version}" />
ifdef::linkcss[]
<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}.css" type="text/css" />
endif::linkcss[]
ifndef::linkcss[]
<style type="text/css">
include1::./stylesheets/{theme={backend}}.css[]
</style>
endif::linkcss[]
<title>{doctitle}</title>
</head>
<body>
<div id="content">
<h1>{doctitle}</h1>
<p>
<span id="author">by {author}</span><br />
<tt>&lt;<a href="mailto:{email}">{email}</a>&gt;</tt><br />
v{revision}{date?,}
{date}
</p>

endif::doctype-manpage[]

#-------------------------
# manpage document type
#-------------------------
ifdef::doctype-manpage[]

[header]
<!DOCTYPE html {dtddecl}>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={encoding=ISO-8859-1}" />
<meta name="generator" content="AsciiDoc {asciidoc-version}" />
ifdef::linkcss[]
<link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}.css" type="text/css" />
<link rel="stylesheet" href="{stylesdir=.}/{backend}-manpage.css" type="text/css" />
endif::linkcss[]
ifndef::linkcss[]
<style type="text/css">
include1::./stylesheets/{theme={backend}}.css[]
include1::./stylesheets/{theme={backend}}-manpage.css[]
</style>
endif::linkcss[]
<title>{mantitle}</title>
</head>
<body>
<div id="content">
<h1>{doctitle} Manual Page</h1>
<h2>NAME</h2>
<p>{manname} -
   {manpurpose}
</p>

# Section macros
[sect-synopsis]
<div id="synopsis">
<a name="{id}"></a>
<h2>SYNOPSIS</h2>
|
</div>

endif::doctype-manpage[]
