/*
      Copyright (c) 2002 by the contributors.
      
      Permission is granted to copy, distribute and/or modify this
      document
      under the terms of the GNU Free Documentation License, Version
      1.1
      or any later version published by the Free Software Foundation;
      with the Invariant Sections being no Invariant Sections, and
      with no
      Front-Cover Texts or Back-Cover Texts.

      A copy of the license is avaliable at
      http://www.gnu.org/licenses/fdl.html

      Contributors:
      Steve Muench, Building Oracle XML Applications
      (http://www.oreilly.com/catalog/orxmlapp/)
      Micah Dubinko, XForms (URL TBD)
*/


/* This stylesheet is designed to be used by the O'Reilly DocBook lite
(dblite)
   XML vocabulary, specifically within SoftQuad XMetaL, although it
   should work
   with any application that supports CSS.
   
   The dblite dtd is available at
   ftp://ftp.ora.com/pub/dblite/dblite_0.2.tar.gz
*/
   
$DOCUMENT {
  font-family: Georgia, Times, serif;
  font-size: 11pt;
  margin-top: 5px;
  margin-left: 5px;
}

$COMMENT {
  display: block;
  color: purple;
  white-space: pre;
}

$PROCINS {
  color: black;
  background-color: #c0c0c0;
}

graphic, abbrev, abstract, ackno, acronym, address, affiliation, alt,
answer, appendix, areaset, areaspec, arg, artheader, article,
artpagenums, attribution, audioobject, author, authorblurb,
authorgroup, authorinitials, bibliodiv, biblioentry, bibliography,
bibliomisc, bibliomixed, biblioset, blockquote, book, bookbiblio,
bookinfo, bridgehead, callout, calloutlist, caption, caution, chapter,
citerefentry, citetitle, cmdsynopsis, collab, collabname, colophon,
command, comment, confdates, confgroup, confnum, confsponsor,
conftitle, contractnum, contractsponsor, contrib, copyright,
corpauthor, corpname, date, dedication, docinfo, edition, editor,
entry, entrytbl, epigraph, equation, example, figure, firstname,
footnote, formalpara, funcdef, funcprototype, funcsynopsis,
funcsynopsisinfo, glossary, glossdef, glossdiv, glossentry, glosslist,
glosssee, glossseealso, glossterm, graphicco, group, guibutton,
guiicon, guilabel, guimenu, guimenuitem, guisubmenu, highlights,
holder, honorific, imageobject, imageobjectco, important, index,
indexdiv, indexentry, indexterm, informalequation, informalexample,
informalfigure, informaltable, inlineequation, inlinemediaobject,
interface, invpartnumber, isbn, issn, issuenum, itemizedlist,
itermset, jobtitle, keycap, keycombo, keysym, keyword, keywordset,
label, legalnotice, lineage, link, literallayout, lot, lotentry,
manvolnum, mediaobject, mediaobjectco, member, menuchoice, modespec,
mousebutton, msg, msgaud, msgentry, msgexplan, msginfo, msglevel,
msgmain, msgorig, msgrel, msgset, msgsub, msgtext, note, objectinfo,
olink, option, orderedlist, orgdiv, orgname, othercredit, othername,
pagenums, para, paramdef, part, partintro, phrase, preface, primary,
primaryie, printhistory, procedure, productname, productnumber,
programlisting, programlistingco, pubdate, publisher, publishername,
pubsnumber, qandadiv, qandaentry, qandaset, question, refclass,
refdescriptor, refentry, refentrytitle, reference, refmeta,
refmiscinfo, refname, refnamediv, refpurpose, refsect1, refsect1info,
refsect2, refsect2info, refsect3, refsect3info, refsynopsisdiv,
refsynopsisdivinfo, releaseinfo, replaceable, revhistory, revision,
revnumber, revremark, row, screen, screenco, screeninfo, screenshot,
secondary, secondaryie, sect1, sect1info, sect2, sect2info, sect3,
sect3info, sect4, sect4info, sect5, sect5info, section, sectioninfo,
see, seealso, seealsoie, seeie, seg, seglistitem, segmentedlist,
segtitle, seriesinfo, seriesvolnums, set, setindex, setinfo,
shortaffil, shortcut, sidebar, simpara, simplelist, simplesect, step,
subject, subjectset, subjectterm, substeps, subtitle, surname,
synopfragment, synopfragmentref, synopsis, table, tbody, term,
tertiary, tertiaryie, textobject, tfoot, tgroup, thead, tip, title,
titleabbrev, toc, tocback, tocchap, tocentry, tocfront, toclevel1,
toclevel2, toclevel3, toclevel4, toclevel5, tocpart, ulink,
variablelist, varlistentry, videoobject, volumenum, warning, year {
  display: block;
}

simplesect {
  margin: 1em;
}

programlisting, programlistingco {
  display: block;
  font-weight: bold;
  font-family: "Andale Mono", Courier, monospace;
  font-size: 9pt;
  white-space: pre;
  border: thin navy inset;
}

literal {
  font-family: monospace;
  color: olive;
  font-weight: normal;
  font-size: 90%;
}

replaceable {
  font-style: italic;
  font-family: monospace;
  display: inline;
}

listitem {
  display: list-item;
}

orderedlist {
  display: block;
  margin-left: 20pt;
  list-style-type: decimal;
}

itemizedlist {
  display: block;
  list-style-type: disc;
  margin-left: 20pt;
}

title {
  font-size: 120%;
  display: block;
  text-decoration: underline;
}

para {
  margin-top: 10px;
  margin-bottom: 10px;
}

sgmltag {
  font-family: monospace;
  color: purple;
  font-size: 90%;
}

question:before {
  content: "Q:";
  font-weight: bold;
  border: thin navy inset;
}

answer:before {
  content: "A:";
  font-weight: bold;
  border: thin navy inset;
}

sgmltag:before {
  content: "<";
}

sgmltag:after {
  content: ">";
}

programlisting {
  white-space: pre;
  font-family: monospace;
  font-weight: normal;
  display: block;
  margin-left: 20pt;
  background-color: #e0e0e0;
}

$MARKSEC {
  display: inline;
  background-image: url(C:\xmlbook\src\xml\bg.gif);
}

sect1 title, section title {
  color: blue;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 150%;
}

chapter title {
  color: blue;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 130%;
}

sect2 title, section section title {
  color: red;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 120%;
}

sect3 title, section section section title {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 110%;
}

figure title {
  margin-top: 10px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 110%;
  color: red;
}

figure title:before {
  content: "Figure: ";
  color: blue;
}

table title:before {
  content: "Table: ";
  color: blue;
}

example title:before {
  content: "Example: ";
  color: blue;
}

example title {
  margin-top: 10px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 110%;
  color: red;
}

table title {
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 110%;
  color: red;
}

table {
  display: block;
}

example {
  display: block;
  border-left: none;
}

figure {
  display: block;
}

emphasis {
  font-style: italic;
}

xref {
  display: none;
}

xref:before {
  prefix-format: "(Ref: [ %attribute linkend; ])";
}

note {
  margin-left: 30pt;
  display: block;
  margin-top: 10pt;
  margin-bottom: 10pt;
  border: thin black solid;
  /* Cascade for things that don't understand border-XXXX */
  border-top: thin black solid;
  border-bottom: thin black solid;
  border-left: none;
  border-right: none;
}

note:before {
  content: "Note";
  font-weight: bold;
  color: navy;
  text-decoration: underline;
  margin-top: 10pt;
  margin-bottom: 10pt;
}

ulink {
  display: inline;
  text-decoration: underline;
  color: blue;
}

sect1, section {
  margin-left: 25pt;
  border: 0pt none;
}

sect2, section section {
  margin-left: 25pt;
  border: 1pt teal;
}

sect3, section section section {
  margin-left: 25pt;
  border: 1pt teal solid;
}

date {
  font-style: normal;
  font-variant: normal;
  font-weight: bold;
  font-size: small;
  color: purple;
  text-decoration: none;
}

link {
  display: inline;
  text-decoration: underline;
  color: blue;
}

note para {
  background-color: #EBFED6;
}

tip para {
  background-color: #EBFED6;
}

blockquote para {
  background-color: #EBFED6;
}

listitem para emphasis {
  text-decoration: underline;
}

warning para {
  background-color: yellow;
}

note[role="tip"] {
  margin-left: 30pt;
  display: block;
  margin-top: 10pt;
  margin-bottom: 10pt;
}

note[role="tip"]:before {
  content: "Tip";
  font-weight: bold;
  color: red;
  text-decoration: underline;
  margin-top: 10pt;
  margin-bottom: 10pt;
}

note[role="todo"] {
  background-color: red;
}

tip:before {
  content: "Tip";
  font-weight: bold;
  color: red;
  text-decoration: underline;
  margin-top: 10pt;
  margin-bottom: 10pt;
}

warning:before {
  content: "WARNING";
  font-weight: bold;
  color: red;
  text-decoration: underline;
  margin-top: 10pt;
  margin-bottom: 10pt;
}

informalexample {
  display: block;
}

superscript {
  font-size: 80%;
  vertical-align: top;
}

systemitem[role="url"] {
  text-decoration: underline;
  color: blue;
}

acronym {
  display: inline;
}

tip {
  margin-top: 10pt;
}

warning {
  margin-top: 10pt;
  border: thin black solid;
  /* Cascade for things that don't understand border-XXXX */
  border-top: thin black solid;
  border-bottom: thin black solid;
  border-left: none;
  border-right: none;
}

sect4 {
  margin-left: 20pt;
  border: 1pt teal solid;
}

command {
  display: inline;
}

qandaset {
  display: block;
  list-style-type: disc;
}

qandaentry {
  display: list-item;
  margin-left: 40pt;
}

question {
  display: block;
}

answer {
  display: block;
}

blockquote {
}

sidebar {
  border: thin black dashed;
  background-color: #EEEEEE;
}

parameter {
  font-family: monospace;
  color: blue;
}





