► |  | Scribble: The Racket Documentation Tool

1 | Getting Started
2 | @ Syntax
3 | High-Level Scribble API
4 | Scribbling Documentation
5 | Literate Programming
6 | Low-Level Scribble API
7 | Running scribble
| Index

► | 6 | Low-Level Scribble API

6.1 | Scribble Layers
6.2 | @ Reader Internals
6.3 | Structures And Processing
6.4 | Renderers
6.5 | Decoding Text
6.6 | Document Language
6.7 | Document Reader
6.8 | Cross-Reference Utilities
6.9 | Tag Utilities
6.10 | Blue Boxes Utilities
6.11 | Extending and Configuring Scribble Output

▼ | 6.11 | Extending and Configuring Scribble Output

6.11.1 | Implementing Styles
6.11.2 | Configuring Output
6.11.3 | Base CSS Style Classes
6.11.4 | Manual CSS Style Classes
6.11.5 | Base Latex Macros
6.11.6 | Latex Prefix Support

top ← prev up next →

##### 6.11.3`` Base CSS Style Classes

The following renderings of "demo.scrbl" demonstrate all of the CSS style classes used by scribble/base forms and functions:

- S1 All-Styles Document, Title in “H2” shows the default style in a single-page rendering without a search box.

- M1 All-Styles Document, Title in “H2” shows the default style in a multi-page rendering without a search box.

- S2 All-Styles Document, Title in “H2” shows the current manual style’s adjustments in a single-page rendering with a search box.

- M2 All-Styles Document, Title in “H2” shows the current manual style’s adjustments in a multi-page rendering with a search box.

The style classes:

| maincolumn |  | Outer wrapper for all content in the main column.
| main |  | Inner wrapper for all content in the main column, including navigation bars.
| refpara |  | Outer wrapper for right-hand margin-note notes.
| refparaleft |  | Outer wrapper for left-hand margin-note notes.
| refelem |  | Outer wrapper for right margin-note* notes.
| refelemleft |  | Outer wrapper for left-hand margin-note* notes.
| refcolumn |  | Middle wrapper for right-hand margin-note and margin-note* notes.
| refcolumnleft |  | Middle wrapper for left-hand margin-note and margin-note* notes.
| refcontent |  | Inner wrapper for margin-note and margin-note* notes.
| tocset |  | Groups table-of-contents panels: main and “on this page.”
| tocview |  | Wraps the main (multi-page mode) or only (single-page mode) table-of-contents panel.
| tocviewlist |  | A hierarchical layer of content in a main table-of-contents panel.
| tocviewlisttopspace |  | With tocviewlist for the first layer.
| tocviewtoggle |  | The always-visible name of a layer.
| tocviewtitle |  | With tocviewtoggle for the first layer.
| tocviewsublist |  | An item in a layer that has multiple items and more items before and after.
| tocviewsublistonly |  | An item in a single-item layer.
| tocviewsublisttop |  | The first item in a multi-item layer.
| tocviewsublistbottom |  | The last item in a multi-item layer.
| tocviewlink |  | Inner wrapper for an item in a layer when linked to a different page.
| tocviewselflink |  | Inner wrapper for every item in a layer when linked to the same page.
| tocsub |  | Wraps the “on this page” (multi-page mode only) table-of-contents panel.
| tocsubtitle |  | Wraps the words “on this page”.
| tocsublist |  | Inner table for the “on this page” panel.
| tocsublinknumber |  | Number for an entry in an “on this page” panel.
| tocsubseclink |  | Title for a section entry in an “on this page” panel.
| tocsubnonseclink |  | Title for a non-section entry in an “on this page” panel that has some section links.
| tocsublink |  | Title for a non-section entry in an “on this page” panel that has no section links.
| toctoplink |  | Top-level entry in an inline (not the panel) table of contents.
| toclink |  | Nested entry in an inline (not the panel) table of contents.
| versionbox |  | Outer wrapper for version
| version |  | Inner wrapper for version in the case of search box and/or navigation.
| versionNoNav |  | Inner wrapper for version in the acse of no search box and navigation.
| SAuthorListBox |  | Outer wrapper for the author list.
| SAuthorList |  | Inner wrapper for the author list.
| author |  | Wrapper for an individual author.
| navsettop |  | Wraps the top navigation bar (in multi-page mode or when a search bar is present).
| navsetbottom |  | Wraps the bottom navigation bar (in multi-page mode or when a search bar is present).
| navleft |  | Wraps left-side elements within a navigation bar.
| navright |  | Wraps right-side elements within a navigation bar.
| nonavigation |  | Disabled links within a navigation bar.
| searchform |  | Outer wrapper for a search box within the top navigation bar.
| searchbox |  | Inner wrapper for a search box within the top navigation bar.
| nosearchform |  | Takes the place of an absent search box within the top navigation bar.
| SSubSubSubSection |  | Deeply nested subsection (below <h5>).
| SIntrapara |  | Used with <div> instead of <p> for a paragraph within a compound-paragraph.
| SubFlow |  | For a nested-flow with no style name: no inset.
| SCodeFlow |  | For a nested-flow with the 'code-inset style name: inset suitable for code.
| SVInsetFlow |  | For a nested-flow with the 'vertical-inset style name: add space before and after suitable for code.
| SCentered |  | For a nested-flow created by centered: horizontally centered.
| boxed |  | For a table with the 'boxed style name: as a definition box.
| compact |  | For an itemlist with the 'compact style name.
| techoutside |  | Outer wrapper for a technical-term reference.
| techinside |  | Inner wrapper for a technical-term reference.
| indexlink |  | For an entry in the index.
| stt |  | Fixed-width text.
| sroman |  | Serif text.
| ssanserif |  | Sans serif text.
| slant |  | Oblique (as opposed to italic) text.
| Smaller |  | Smaller text (as created by smaller).
| Larger |  | Smaller text (as created by larger).
| hspace |  | For whitespace produced by hspace.
| nobreak |  | Disable link breaks.
| badlink |  | Broken cross-reference.
| plainlink |  | Hyperlink without an underline.

In addition, the SIEHidden style class is built in to all Scribble HTML output to hide an element on Internet Explorer 6.

top ← prev up next →