styles.css
article, book {
margin:.5em;
}
title, subtitle {
font-family:sans-serif;
}
title {
font-weight:bolder;
margin-bottom:.5em;
}
section>*, chapter>*, bibliography>*, appendix>*, glossary>*, preface>*,
dedication>*, colophon>*, sect1>*, sect2>*, sect3>*, sect4>*, sect5>*,
bibliodiv>* {
margin-left:10%;
margin-right:10%;
}
warning, caution, important, tip, note {
margin-left: 15%;
margin-right: 15%;
}
section, title, sect1, sect2, sect3, sect4, sect5, bibliodiv {
margin-left:0;
margin-right:0;
}
book>title, article>title {
font-size:xx-large;
text-align:center;
border-bottom-style:solid;
}
appendix>title, bibliography>title, chapter>title, colophon>title, dedication>title, glossary>title, part>title, preface>title {
font-size:xx-large;
text-align:center;
}
section>title, sect1>title, bibliodiv>title {
font-size:xx-large;
}
section>section>title, sect2>title {
font-size:x-large;
margin-left:5%;
}
section>section>section>title, sect3>title {
font-size:large;
margin-left:7.5%;
}
section>section>section>section>title, sect4>title {
font-size:large;
margin-left:10%;
}
section>section>section>section>section>title, sect5>title {
font-size:inherit;
margin-left:10%;
}
biblioentry > title {
display: inline;
}
*+section, *+chapter, *+bibliography, *+bibliodiv, *+appendix, *+glossary {
margin-top: 3em;
}
section>*+section {
margin-top: 2em;
}
section>section>*+section {
margin-top: 1em;
}
*+para, *+formalpara, *+blockquote, *+glossentry, *+table, *+variablelist,
*+example, *+informalexample, *+programlisting, *+cmdsynopsis,
*+orderedlist, *+itemizedlist, *+figure,
*>warning, *>caution, *>important, *>tip, *>note {
margin-top:.5em;
}
*+biblioentry {
margin-top: 1em;
}
formalpara > * {
display: inline;
}
formalpara > title:after {
content: ".";
}
para, formalpara {
text-align: justify;
}
quote:before {
content: open-quote;
}
quote:after {
content: close-quote;
}
question, answer {
margin-top:.5em;
display:list-item;
}
question>para, answer>para {
display:inline;
}
question:before {
display:marker;
font-weight:bolder;
}
answer:before {
display:marker;
font-weight: bolder;
}
emphasis {
font-style:italic;
}
emphasis[role="strong"] {
font-weight:bolder;
}
emphasis[role="bold"] {
font-weight:bolder;
font-style:inherit;
}
emphasis[role="underline"] {
text-decoration:underline;
font-style:inherit;
}
emphasis[role="strikethrough"] {
text-decoration:line-through;
font-style:inherit;
}
emphasis>emphasis {
font-weight:bolder;
}
foreignphrase, wordasword, productname {
font-style:italic;
}
replaceable {
font-style:italic;
}
sgmltag[class="starttag"]:before, sgmltag[class="emptytag"]:before {
content: "<";
}
sgmltag[class="starttag"]:after, sgmltag[class="endtag"]:after {
content: ">";
}
sgmltag[class="endtag"]:before {
content: "</";
}
sgmltag[class="emptytag"]:after {
content: "/>";
}
sgmltag[class="attvalue"]:before, sgmltag[class="attvalue"]:after {
content: """;
}
sgmltag[class="genentity"]:before {
content: "&";
}
sgmltag[class="genentity"]:after {
content: ";";
}
sgmltag[class="sgmlcomment"]:before {
content: "<!--";
}
sgmltag[class="sgmlcomment"]:after {
content: "-->";
}
sgmltag[class="xmlpi"]:before {
content: "<?";
}
sgmltag[class="xmlpi"]:after {
content: "?>";
}
application, keycap, guimenu, guimenuitem, guisubmenu {
font-family: sans-serif;
}
author>* + *:before {
content: " ";
}
keycap {
padding-left: .2em;
padding-right: .2em;
border-style: solid;
border-top-width: 2px;
border-left-width: 3px;
border-right-width: 3px;
border-bottom-width: 4px;
border-top-color: #eeeecc;
border-left-color: #eeeecc;
border-right-color: #999977;
border-bottom-color: #999977;
background-color: #ddddbb;
font-size: smaller;
}
keycombo>keycap+keycap:before {
content: "-";
}
menuchoice>guimenu+guimenuitem:before,
menuchoice>guimenuitem+guimenuitem:before,
menuchoice>guimenuitem+guisubmenu:before {
content: "\2192";
}
guibutton {
border: 2px outset #dddddd;
background-color: #dddddd;
}
link, ulink, email {
color:#0000ff;
text-decoration:underline;
}
email:before {
content: "<";
}
email:after {
content: ">";
}
citation:before {
content: "[";
}
citation:after {
content: "]";
}
xref:after {
content: "\00a7" attr(linkend);
color:#0000ff;
text-decoration: underline;
}
blockquote {
padding-left:3em;
padding-bottom: 1em;
}
blockquote>attribution {
text-align:right;
font-style: italic;
}
blockquote>attribution:after {
content:":"
}
blockquote>para:before {
content: open-quote;
}
blockquote>para:after {
content: no-close-quote;
}
blockquote>para:last-child:after {
content: close-quote;
}
itemizedlist {
padding-left: 1em;
list-style-type: disc;
}
listitem+listitem {
padding-top: .5em;
}
itemizedlist itemizedlist {
list-style-type: circle;
}
itemizedlist itemizedlist itemizedlist {
list-style-type: square;
}
itemizedlist>listitem {
display:list-item;
}
orderedlist {
padding-left: 1.5em;
list-style-type: decimal;
}
orderedlist>listitem {
display:list-item;
}
calloutlist {
padding-left: 1em;
list-style-type: disc;
}
calloutlist>callout {
display:list-item;
}
itemizedlist[mark="opencircle"], listitem[override="opencircle"] {
list-style-type: circle;
}
itemizedlist[mark="bullet"], listitem[override="bullet"] {
list-style-type: disc;
}
varlistentry>listitem {
margin-left: 2em;
}
varlistentry+varlistentry {
margin-top: .5em;
}
simplelist[type=horiz] {
display: block;
}
simplelist[type=inline]>member+member:before {
content: ", ";
}
cmdsynopsis, code, command, computeroutput, envar, filename, keycode, keysym,
literal, option, parameter, sgmltag, systemitem {
font-family: monospace;
}
filename[class=directory]:after {
content: "/";
}
trademark:after {
content: "\2122"
}
trademark[class="copyright"]:after {
content: "\A9"
}
trademark[class="registered"]:after {
content: "\AE"
}
trademark[class="service"]:after {
content: "\2120"
}
example, informalexample, programlisting {
background-color:#dddddd;
padding: .5em;
border: 1px dashed black;
}
example programlisting, informalexample programlisting {
background-color: none;
padding: 0;
border: none;
}
warning, caution, tip, note, important {
border: 1px dashed gray;
padding: .5em;
}
warning>title, caution>title, tip>title, note>title, important>title {
display: inline;
}
warning:before, caution:before, tip:before, note:before, important:before {
font-weight: bolder;
font-family: sans-serif;
}
warning:before {
background-color: red;
}
caution:before {
background-color: yellow;
}
tip:before {
background-color: #aaaddd;
}
note:before {
background-color: #dddddd;
}
important:before {
background-color: plum;
}
thead > row > entry {
border-bottom: 2px solid black;
}
thead {
font-weight: bolder;
}
entry {
padding: .2em;
}
footnote {
position: relative;
cursor: help;
}
footnote:hover {
}
footnote>* {
display: none;
z-index: 100;
}
footnote:hover>* {
display: block;
position: fixed;
border: 2px dotted black;
background-color: #ffeeaa;
padding: .5em;
left: 0px;
bottom: 0px;
}
footnote:before {
content: "?";
background-color: #ffeeaa;
border: 2px dotted black;
font-size: smaller;
}
glossentry>glossterm {
font-weight: bolder;
font-style: italic;
}
userinput {
font-weight: bolder;
}
figure {
text-align: center;
}
imageobject {
display: block;
}
mediaobject>textobject {
font-size: smaller;
}