epydoc.css

Package epydoc :: Module css |
[show private | hide private]
[frames | no frames]

## Module epydoc.css

Predefined CSS stylesheets for the HTML outputter (`epydoc.html`).

Function Summary
`string` | ``_rv`(match)` Given a regexp match for a color, return the reverse-video version of that color.

Variable Summary
`dictionary` from `string` to `(string, string)` | `STYLESHEETS`: A dictionary mapping from stylesheet names to CSS stylesheets and descriptions.
`str` | `_BLACK` = `'\n/* Body color */ \nbody { back...`
`str` | `_BLUE` = `'\n/* Body color */\nbody { backgr...`
`SRE_Pattern` | `_COLOR_RE` = `#(..)(..)(..)`
`str` | `_GRAYSCALE` = `'\n/* Body color */ \nbody { ...`
`str` | `_GREEN` = `'\n/* Body color */\nbody { backg...`
`str` | `_OLD_BLUE` = `'\n/* Body color */ \nbody { b...`
`str` | `_OLD_GREEN` = `'\n/* Body color */ \nbody { ...`
`str` | `_WHITE` = `'\n/* Body color */ \nbody { back...`

Function Details

### _rv(match) Given a regexp match for a color, return the reverse-video version of that color. Parameters: `match` - A regular expression match. (type=`Match`) Returns: The reverse-video color. (type=`string`)

Variable Details

    ### STYLESHEETS A dictionary mapping from stylesheet names to CSS stylesheets and descriptions. A single stylesheet may have multiple names. Currently, the following stylesheets are defined: `default`: The default stylesheet (synonym for `white`). `white`: Black on white, with blue highlights (similar to javadoc). `blue`: Black on steel blue. `green`: Black on green. `black`: White on black, with blue highlights `grayscale`: Grayscale black on white. `none`: An empty stylesheet. Type: `dictionary` from `string` to `(string, string)` Value:
        {'black': ('\n/* Body color */ \nbody               { background: #000\
        000; color: #ffffff; } \n \n/* Tables */ \ntable.summary, table.detail\
        s, table.index\n                   { background: #070f17; color: #ffff\
        ff; } \ntr.summary, tr.details, tr.index\n                   { backgro\
        und: #0f4f8f; color: #ffffff;  \n                     text-align: left\
        ; font-size: 120%; } \ntr.group           { background: #071f3f; color\
        : #ffffff;\n                     text-align: left; font-size: 120%;\n \
                            font-style: italic; } \n\n/* Documentation page ti\
        ...

    ### _BLACK Type: `str` Value:
        '''
        /* Body color */
        body               { background: #000000; color: #ffffff; }

        /* Tables */
        table.summary, table.details, table.index
                           { background: #070f17; color: #ffffff; }
        tr.summary, tr.details, tr.index
        ...

    ### _BLUE Type: `str` Value:
        '''
        /* Body color */
        body               { background: #b0c8d0; color: #000000; }

        /* Tables */
        table.summary, table.details, table.index
                           { background: #c8e0e8; color: #000000; }
        tr.summary         { background: #dcf4fc; color: #000000;
        ...

    ### _COLOR_RE Type: `SRE_Pattern` Value:
        #(..)(..)(..)

    ### _GRAYSCALE Type: `str` Value:
        '''
        /* Body color */
        body               { background: #ffffff; color: #000000; }

        /* Tables */
        table.summary, table.details, table.index
                           { background: #f0f0f0; color: #000000; }
        tr.summary, tr.details, tr.index
        ...

    ### _GREEN Type: `str` Value:
        '''
        /* Body color */
        body               { background: #b0d0c8; color: #000000; }

        /* Tables */
        table.summary, table.details, table.index
                           { background: #c8e8e0; color: #000000; }
        tr.summary         { background: #dcfcf4; color: #000000;
        ...

    ### _OLD_BLUE Type: `str` Value:
        '''
        /* Body color */
        body               { background: #88a0a8; color: #000000; }

        /* Tables */
        table.summary, table.details, table.index
                           { background: #a8c0c8; color: #000000; }
        tr.summary         { background: #c0e0e0; color: #000000;
        ...

    ### _OLD_GREEN Type: `str` Value:
        '''
        /* Body color */
        body               { background: #88a8a0; color: #000000; }

        /* Tables */
        table.summary, table.details, table.index
                           { background: #a8c8c0; color: #000000; }
        tr.summary         { background: #c0e0e0; color: #000000;
        ...

    ### _WHITE Type: `str` Value:
        '''
        /* Body color */
        body               { background: #ffffff; color: #000000; }

        /* Tables */
        table.summary, table.details, table.index
                           { background: #e8f0f8; color: #000000; }
        tr.summary, tr.details, tr.index
        ...

Generated by Epydoc 2.1 on Sat Mar 20 17:46:21 2004 | http://epydoc.sf.net