7d6915b4d0
DocBookCSS is a mostly-pure-CSS2 implementation of the DocBook standard. Unlike DocBookXSL which relies on transforming the XML, it utilizes the XML-styling features of modern web browsers to display the DocBook. Its appearance still is a long way from the Haiku Book and Userguide, but it looks (mostly) the same as the old DocBookXSL so we can stop using that. Eventually we just need to make DocBookCSS use our styling.
45 lines
867 B
CSS
45 lines
867 B
CSS
/*
|
|
* mozilla.css
|
|
*
|
|
* Copyright (c) 2004 David Holroyd, and contributors
|
|
* See the file 'COPYING' for terms of use
|
|
*
|
|
* Part of the Docbook-CSS stylesheet
|
|
* http://www.badgers-in-foil.co.uk/projects/docbook-css/
|
|
*
|
|
* This file contains CSS specific to mozilla.org's Gecko rendering engine.
|
|
*
|
|
* Some of the rules here will take effect even if you aren't using a Mozilla-
|
|
* based browser.
|
|
*/
|
|
|
|
|
|
/* make <ulink>s clickable */
|
|
ulink {
|
|
-moz-binding:url('db-bindings.xml#ulink');
|
|
cursor: pointer;
|
|
-moz-user-focus: normal;
|
|
}
|
|
|
|
ulink:active {
|
|
color: red;
|
|
}
|
|
|
|
ulink:focus {
|
|
-moz-outline: 1px dotted invert;
|
|
}
|
|
|
|
imagedata {
|
|
-moz-binding:url('db-bindings.xml#image');
|
|
}
|
|
|
|
|
|
guimenu, guimenuitem, guisubmenu {
|
|
font: menu;
|
|
}
|
|
|
|
orderedlist, itemizedlist, procedure {
|
|
/* this seems to be required to make auto-numbering work */
|
|
-moz-counter-reset: -html-counter 0;
|
|
}
|