CSS Styles Default Styles These are the styles that come with Natural Docs. They all follow the same color scheme and general layout; the choices are more so that you can choose the style of text you want. You choose which style you want for your project by adding “
Customizing There are two ways to customize the CSS files. One is to build your own file from scratch, and the other is to make a touch-up file that gets applied after one of the default styles. Either way you want to create your own CSS file in your project directory (the one you use with To use a custom file, no matter where you put it, you just use it with The CSS Guide documents the page structure and CSS styles of Natural Docs’ output. Always remember to check its revisions section every time you upgrade Natural Docs because it may change between releases. Visit our message board if you need help. If you create a new style and would like to make it available for everyone to download, e-mail it to me. Common Customizations Web-Style Paragraphs Natural Docs defaults to print-style paragraphs like the one you are reading. Each one is indented and there are no blank lines between them. To switch to web-style paragraphs, which have blank lines and no indents, add this to your custom CSS file: p { text-indent: 0; margin-bottom: 1em; } Prototype Colors If you’ve added a custom topic type and have it finding prototypes for you, you may want to have them appear in a different color than the default black and white. Add this to your custom CSS file: .C[type] .Prototype { Replace | |||||||||||
Copyright © 2003-2005 Greg Valure |