[LLVMdev] Letter-spacing in Sphinx CSS?

Michael Spencer bigcheesegs at gmail.com
Sun Sep 30 13:37:02 PDT 2012


On Sat, Sep 29, 2012 at 12:29 PM, Sean Silva <silvas at purdue.edu> wrote:
> Looking through the history with git, it looks like it was just
> grandfathered in from the original template that the current template
> is based off of. I don't think that it is going to hurt to remove it.
>
> Also, another problem with the current CSS is that some of the
> different heading types (IIRC in particular <h2> and <h3>) are very
> difficult to distinguish, which makes some documents very difficult to
> navigate. Any ideas about how to fix that? One easy way I tried was to
> bump the margin a bit on the <h3> to make it indented relative to the
> <h2>, making it distinguishable, but if you have a better and more
> aesthetically pleasing suggestion I'd like to do that instead.
>
> --Sean Silva
>
> On Sat, Sep 29, 2012 at 1:15 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
>> Hello,
>>
>> Why do we have letter-spacing: -0.01em in the CSS generated by Sphinx?
>>  Could we remove that?  It makes the main text font look really bad
>> for me (I can attach an image if anyone wishes to take a look).  Fonts
>> already have appropriate tracking built-in, so trying to change that,
>> especially without knowing the font name beforehand, is shooting
>> oneself into the foot.
>>
>> Dmitri
>>
>> --
>> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
>> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

I'm fine with removing the letter spacing and doing something to help
distinguish <h{2,3}>.

- Michael Spencer



More information about the llvm-dev mailing list