[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: docbook v5 css with xlink
Can anyone provide a link to docbook v5 examples using css. Version 4 examples can be found at: http://www.badgers-in-foil.co.uk/projects/docbook-css/tests/links.xml The link, as I have it, in the attached file doesn't work, css also included. Any help would be gratefully appreciated Paul
<?xml version="1.0" encoding="UTF-8" ?> <?xml-stylesheet type="text/css" href="docbook_pct.css" ?> <book version="5.0" xmlns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:html="http://www.w3.org/1999/xhtml"> <title>DocBook</title> <info> <link xlink:href="http://docbook.org"> <para>DocBook.org</para> </link> </info> <dedication> <para> </para> </dedication> </book>
/* added to sdocbook.css edited by pcthoms AT gmail DOT com */ book { display: block; background-color: #008000; margin-left: 2%; margin-top: 2%; margin-right: 2%; margin-bottom: 2%; font-family: Times, sans-serif, serif, arial } chapter, dedication, preface, appendix, index { display: block; background-color: #FFFFFF; margin-left: 2%; margin-top: 2%; margin-right: 2%; margin-bottom: 2%; padding: 2%; } info { display: block; text-align: center; } section { display: block; background-color: #FFFFFF; margin-left: 2%; margin-top: 2%; margin-right: 2%; margin-bottom: 2%; padding: 2%; } beginpage { display: none; } caption { display: block; text-align: center; } para { display: block; text-indent: 0.25in; } subtitle { display: block; font-weight: bold; font-size: 130%; text-align: center; margin-top: 2%; margin-bottom: 2%; } title { display: block; font-weight: bold; font-size: 150%; text-align: center; margin-top: 3%; margin-bottom: 3%; } tocentry { display: block; font-size: 120%; font-weight: bold; } /* classes created */ .center { text-align: center; } .hg-indent {margin-left: 5%; text-indent: -5%;} .right { text-align: right; } /* personname elements by pcthoms AT gmail dot com */ author { display: inline; } authorgroup { display: inline; } personname { display: inline; } firstname { display: inline; } othername { display: inline; } surname { display: inline; } authorinitials { display: inline; } /* set blockquote by pct */ blockquote { display: block; margin-left: 5%; margin-top: 2%; margin-right: 5%; margin-bottom: 2%; } caption { display: none; } citetitle { display: inline; font-style: italic; } copyright { display: inline; } editor { display: inline; } emphasis { display: inline; font-style: italic; } entry { display: table-cell; } footnote { display: inline; } holder { display: inline; } honorific { display: inline; } keyword { display: inline; } /* link trails */ link { display: inline; color:#0000ff; /* text-decoration:underline; */ cursor: pointer; } link:active { color: red; } ulink { display: inline; color:#0000ff; } ulink { display: inline; -moz-binding:url('db-bindings.xml#ulink'); cursor: pointer; -moz-user-focus: normal; } ulink:active { color: red; } ulink:focus { -moz-outline: 1px dotted invert; } xref { display: inline; } section title { font-size: 130%: font-weight: bold; display: block; } section section title { font-size: 120%: font-weight: bold; display: block; } section section section title { font-size: 115%: font-weight: bold; display: block; } section section section section title { font-size: 110%: font-weight: bold; display: block; } section section section section section title { font-size: 105%: font-weight: bold; display: block; } section section section section section section title { font-size: 100%: font-weight: bold; display: block; } appendix title { font-size: 130%: font-weight: bold; display: block; } appendix section title { font-size: 125%; font-weight: bold; display: block; } appendix section section title { font-size: 115%: font-weight: bold; display: block; } appendix section section section title { font-size: 110%: font-weight: bold; display: block; } appendix section section section section title { font-size: 105%: font-weight: bold; display: block; } appendix section section section section section title { font-size: 100%: font-weight: bold; display: block; }
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]