On Tuesday, January 28, 2014 4:22:13 PM UTC-5, Fred Gruber wrote:
>
> Hi
> According to many instruction online we are suppose to be able to change
> the style of the notebook by changing the notebook.css on the .sage
> directory
>
> I'm using sage 6.0. I set the variable DOT_SAGE to .sage and added a
> sample notebook.css
>
> However, when I go to the notebook it just ignores the stylesheet.
>
> <http://nbviewer.ipython.org/github/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/blob/master/Chapter1_Introduction/Chapter1_Introduction.ipynb>
>
Hi! If I create this file with contents
a {
color: green;
}
then the words "The Sage Notebook" are green, but nothing else. So it may
have to do with your inheritance of selectors. Hopefully someone else can
give a more detailed answer, but I hope this helps you find the right
thing. When I use the inspector in my browser it indicates that most of
the rules in notebook.css (which is apparently taken up into main.css) are
overridden by other, more specific rules in main.css. So you may need to
be fairly specific. However, Firebug or Web Inspector or what have you
should show you the way to what selectors to use for whatever customization
you want.
- kcrisman
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.