[IPython-User] Styling Notebook

Darren Govoni darren@ontrenet....
Tue Aug 7 13:51:56 CDT 2012


It's not there. Unfortunately, the nice wiki entry overlooks this
information... :(

On Tue, 2012-08-07 at 19:50 +0100, Carl Smith wrote:

> I'm on my phone, but I think you need to look in the hidden IPy dir
> which is your home dir.
> ~/.ipython
> 
> 
> On Aug 7, 2012 7:47 PM, "Darren Govoni" <darren@ontrenet.com> wrote:
> 
>         Hi,
>           I'm trying to style my ipython notebook, but can't find the
>         directory:
>         
>         "..\frontend\html\notebook\static\jquery\css\themes"
>         
>         Where is it located? I use linux.
>         
>         Darren
>         
>         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
>         
>         
>         
>         
>         
>         _______________________________________________
>         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/a21aa8bf/attachment-0001.html 


More information about the IPython-User mailing list