Thank you Komiya. I am kind of beginner level. Where should I put the CSS background color style in Sphinx-Doc?
On Wednesday, August 24, 2016 at 10:05:50 PM UTC-5, Komiya Takeshi wrote: > > Hi, > > It seems the jellybeans theme sets the background color of tokens to > #151515 (nearly black). > > https://github.com/cstrahan/pygments-styles/blob/master/themes/jellybeans.py > > But alabaster; the default theme of sphinx uses white as a background > color of code-blocks. > Maybe, you should change it using CSS. > How about following styles? > > div.highlight { > background-color: #151515; > } > > Thanks, > Takeshi KOMIYA > > 2016年8月25日木曜日 8時38分25秒 UTC+9 Christian: >> >> I am trying to use pygment style Jellybeans for some of my source code in >> C. And it does not look right. >> Here is what I am using in conf.py. >> >> pygments_style = 'jellybeans' >> >> >> It seems that white background styles work, but the dark backgrounds do >> not. >> >> Check out the attached file for a screenshot. Please Help. >> >> >> <https://lh3.googleusercontent.com/-_VbVSdp4MkU/V7253O_0wTI/AAAAAAABM3Q/yK4tKDCVXHUXXWnvQAGHkg68ec9wydoIgCLcB/s1600/d11.png> >> >> -- You received this message because you are subscribed to the Google Groups "sphinx-users" 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 https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
