[IPython-User] Styling Notebook

Darren Govoni darren@ontrenet....
Tue Aug 7 13:46:41 CDT 2012


Hi,
  I'm trying to theme my ipython notebook. I can't find the directory:


On Mon, 2012-07-02 at 06:18 +0100, Carl Smith wrote:

> This is cool. Have you mentioned it on github or IPython Dev?
> 
> 
> On Jul 2, 2012 2:27 AM, "klo uo" <klonuo@gmail.com> wrote:
> 
>         Initially I thought to try and roll my own CSS, but when I
>         looked
>         closer it's probably bad idea.
>         What I managed to do is distill missing elements from "base"
>         css style
>         and then include main css from themes available here:
>         http://jqueryui.com/themeroller
>         
>         In short, you download theme and copy theme folder (it's in
>         css
>         subfolder in downloaded theme archive) in
>         "..\frontend\html\notebook\static\jquery\css\themes", then
>         just put
>         there (in new theme folder) my attached css file, and change
>         line 9 in
>         "..\frontend\html\notebook\templates\page.html" accordingly.
>         This can be simplified with entry in ipython notebook config
>         file I guess.
>         
>         Screenshots:
>         http://i.imgur.com/KbxfU.png
>         http://i.imgur.com/5NUmK.png
>         
>         Attached css file is not "least common denominator" and can be
>         further
>         reduced, and I think it works fine from what I tested. With
>         dark
>         themes it doesn't work. I also wonder why the author of these
>         changes
>         didn't create new css file and then include original css in
>         it, so
>         that this kind of reversing could have been avoided, and
>         changing the
>         theme would have been easier.
>         
>         Whatever, if you think it's interesting I could include
>         detailed
>         walkthrough in wiki, although procedure is simple but maybe
>         not
>         obvious to all. Also if I missed something I would like to
>         know. Don't
>         tell me there is already way to do this :D
>         
>         Cheers
>         
>         _______________________________________________
>         IPython-User mailing list
>         IPython-User@scipy.org
>         http://mail.scipy.org/mailman/listinfo/ipython-user
>         
> 
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20120807/38a9bf97/attachment.html 


More information about the IPython-User mailing list