Notebook Stylesheets (CSS)

Notebook Stylesheets (CSS)

sagenb.notebook.css.css(color='default')

Return the CSS header used by the Sage Notebook.

INPUT:

  • color - string or pair of html colors, e.g., ‘gmail’ ‘grey’ ('#ff0000', '#0000ff')

EXAMPLES:

sage: import sagenb.notebook.css as c
sage: type(c.css()[0])
<type 'str'>

Previous topic

JavaScript (AJAX) Components of the Notebook

Next topic

HTML Templating for the Notebook

This Page