It doesn't seem to be getting picked up. I'm running iPython 0.14 on OS X 10.8.1, browsing from Safari.<div><br></div><div>Just to make sure I'm not being overly literal in interpreting your response:</div><div>
<br></div><div>My configuration directory is ~/.ipython</div><div><br></div><div>I've put a file called 'custom.css' into ~/.ipython/profile_default/static/css/</div><div><br></div><div>I also created a directory tree at ~/.ipython/profile/profile_default/static/css/ but that also didn't work. I believe the tree at ~/.ipython/profile_default/ is the correct one, but I'd like to confirm that.</div>
<div><br></div><div>In custom.css, I put a simple:</div><div>h3 {font-style:italic;}</div><div><br></div><div>Looking at the page as loaded, the h3 elements do not carry the italic style, and the custom.css style doesn't seem to be included at all. Do I need to change a configuration parameter somewhere to tell iPython to look for custom.css?</div>
<div><br></div><div>I've closed the open notebook pages and shut down the notebook server and the relaunched the server, which opens a fresh page. Do I need to do all that, or just refresh the page to pick up a new custom.css?</div>
<div><br></div><div>I'm pretty much new to everything I'm doing here-- I'm not a seasoned Python developer, I've been using iPython for days, I've only toyed with HTML and CSS in the past... It's quite likely that I'm doing something wrong at a very basic level.</div>
<div><br></div><div>Any ideas? Thanks for the patience...</div><div><br></div><div>Thanks--</div><div> Greg<br></div><br><div class="gmail_quote">On Fri, Aug 24, 2012 at 1:14 AM, Matthias BUSSONNIER <span dir="ltr"><<a href="mailto:bussonniermatthias@gmail.com" target="_blank">bussonniermatthias@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Le 24 août 2012 à 01:36, G B a écrit :<br>
<div class="im"><br>
> Is there a way to modify the notebook stylesheet? I'd like to emphasize the markdown cells and de-emphasize the code cells to make for a more human readable document... The config file doesn't seem to list a parameter for the stylesheet though.<br>
</div>Which version are you using ?<br>
In 0.12-0.13 the easiest is to write CSS in a markdown cell.<br>
In 0.14 you can overwrite the default css or ad your own on a per profile basis<br>
by creating a .ipython/profile/profile_xxx/static/css/custom.css file with the rules you want inside.<br>
--<br>
Matthias<br>
<br>
<br>
><br>
> Thanks!<br>
> Greg<br>
><br>
> _______________________________________________<br>
> IPython-User mailing list<br>
> <a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
> <a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
<br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</blockquote></div><br>