Ticket #11930: djangoproject_css.diff

File djangoproject_css.diff, 2.8 KB (added by cogat, 5 years ago)

Typography fixes for h3/h4

  • .css

    diff --git a/base_orig.css b/base.css
    index ef739f9..4759d4c 100644
    old new a:hover { color:#ffe761; } 
    5555
    5656/* CONTENT */
    5757
    58 h1,h2,h3 { margin-top:.8em; font-family:"Trebuchet MS",sans-serif; font-weight:normal; }
     58h1,h2,h3,h4 { margin-top:.8em; font-family:"Trebuchet MS",sans-serif; font-weight:normal; }
    5959h1 { font-size:218%; margin-top:.6em; margin-bottom:.6em; color:#092e20; line-height:1.1em; }
    60 h2 { font-size:150%; margin-top:1em; margin-bottom:.2em; line-height:1.2em; color:#092e20; }
     60h2 { font-size:150%; margin-top:1em; margin-bottom:.2em; line-height:1.2em; color:#487858; }
    6161#homepage h2 { font-size:140%; }
    62 h3 { font-size:125%; font-weight:bold; margin-bottom:.2em; color:#487858; }
    63 h4 { font-size:100%; font-weight:bold; margin-bottom:-3px; margin-top:1.2em; text-transform:uppercase; letter-spacing:1px; }
     62h3 { font-size:125%; font-weight:bold; margin-bottom:.2em; color:#092e20; }
     63h4 { font-size:110%; font-weight:bold; margin-bottom:-2px; margin-top:1.2em; color:#234D32;}
    6464h4 pre, h4 tt, h4 .literal { text-transform:none; }
    6565h5 { font-size:1em; font-weight:bold; margin-top:1.5em; margin-bottom:3px; }
    6666p, ul, dl { margin-top:.6em; margin-bottom:.8em; }
    textarea.codedump { font-size:10px; color:#234f32; width:100%; background:#E0FFB 
    119119/* NOTES & ADMONITIONS */
    120120
    121121.note, .admonition, .caution { padding:.8em 1em .8em; margin: 1em 0; border:1px solid #94da3a; }
    122 .admonition-title { font-weight:bold; margin-top:0 !important; margin-bottom:0 !important;}
     122.admonition-title { font-weight:bold; margin-top:0 !important; margin-bottom:0 !important; color:#487858}
    123123.admonition .last { margin-bottom:0 !important; }
    124124.admonition, .admonition-note, .caution { padding-left:65px; background:url(../img/doc/icons/docicons-note.gif) .8em .8em no-repeat;}
    125125div.admonition-philosophy { padding-left:65px; background:url(../img/doc/icons/docicons-philosophy.gif) .8em .8em no-repeat;}
    table.docutils thead th { border-bottom:2px solid #dfdfdf; text-align:left; } 
    135135table.docutils td, table.docutils th { border-bottom:1px solid #dfdfdf; padding:4px 2px;}
    136136table.docutils td p { margin-top:0; margin-bottom:.5em; }
    137137#documentation #content-related .literal { background:transparent !important; }
    138 div.versionadded span.title, div.versionchanged span.title { font-weight: bold; }
     138div.versionadded, div.versionchanged { font-size: 92%; color:#555;}
     139div.versionadded span.title, div.versionchanged span.title { font-style: italic;}
     140/* Verdana bold is too bold; lighten it to compensate */
     141#documentation #content-main p > strong, #documentation #content-main p > b { color: #555; }
    139142
    140143/* Sphinx-specific fixes */
    141144#documentation a.headerlink { color: #c60f0f; font-size: 0.8em; padding: 0 4px 0 4px; text-decoration: none; visibility: hidden; }
Back to Top