Code

Ticket #11930: djangoproject_css.diff

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

Typography fixes for h3/h4

Line 
1diff --git a/base_orig.css b/base.css
2index ef739f9..4759d4c 100644
3--- a/base_orig.css
4+++ b/base.css
5@@ -55,12 +55,12 @@ a:hover { color:#ffe761; }
6 
7 /* CONTENT */
8 
9-h1,h2,h3 { margin-top:.8em; font-family:"Trebuchet MS",sans-serif; font-weight:normal; }
10+h1,h2,h3,h4 { margin-top:.8em; font-family:"Trebuchet MS",sans-serif; font-weight:normal; }
11 h1 { font-size:218%; margin-top:.6em; margin-bottom:.6em; color:#092e20; line-height:1.1em; }
12-h2 { font-size:150%; margin-top:1em; margin-bottom:.2em; line-height:1.2em; color:#092e20; }
13+h2 { font-size:150%; margin-top:1em; margin-bottom:.2em; line-height:1.2em; color:#487858; }
14 #homepage h2 { font-size:140%; }
15-h3 { font-size:125%; font-weight:bold; margin-bottom:.2em; color:#487858; }
16-h4 { font-size:100%; font-weight:bold; margin-bottom:-3px; margin-top:1.2em; text-transform:uppercase; letter-spacing:1px; }
17+h3 { font-size:125%; font-weight:bold; margin-bottom:.2em; color:#092e20; }
18+h4 { font-size:110%; font-weight:bold; margin-bottom:-2px; margin-top:1.2em; color:#234D32;}
19 h4 pre, h4 tt, h4 .literal { text-transform:none; }
20 h5 { font-size:1em; font-weight:bold; margin-top:1.5em; margin-bottom:3px; }
21 p, ul, dl { margin-top:.6em; margin-bottom:.8em; }
22@@ -119,7 +119,7 @@ textarea.codedump { font-size:10px; color:#234f32; width:100%; background:#E0FFB
23 /* NOTES & ADMONITIONS */
24 
25 .note, .admonition, .caution { padding:.8em 1em .8em; margin: 1em 0; border:1px solid #94da3a; }
26-.admonition-title { font-weight:bold; margin-top:0 !important; margin-bottom:0 !important;}
27+.admonition-title { font-weight:bold; margin-top:0 !important; margin-bottom:0 !important; color:#487858}
28 .admonition .last { margin-bottom:0 !important; }
29 .admonition, .admonition-note, .caution { padding-left:65px; background:url(../img/doc/icons/docicons-note.gif) .8em .8em no-repeat;}
30 div.admonition-philosophy { padding-left:65px; background:url(../img/doc/icons/docicons-philosophy.gif) .8em .8em no-repeat;}
31@@ -135,7 +135,10 @@ table.docutils thead th { border-bottom:2px solid #dfdfdf; text-align:left; }
32 table.docutils td, table.docutils th { border-bottom:1px solid #dfdfdf; padding:4px 2px;}
33 table.docutils td p { margin-top:0; margin-bottom:.5em; }
34 #documentation #content-related .literal { background:transparent !important; }
35-div.versionadded span.title, div.versionchanged span.title { font-weight: bold; }
36+div.versionadded, div.versionchanged { font-size: 92%; color:#555;}
37+div.versionadded span.title, div.versionchanged span.title { font-style: italic;}
38+/* Verdana bold is too bold; lighten it to compensate */
39+#documentation #content-main p > strong, #documentation #content-main p > b { color: #555; }
40 
41 /* Sphinx-specific fixes */
42 #documentation a.headerlink { color: #c60f0f; font-size: 0.8em; padding: 0 4px 0 4px; text-decoration: none; visibility: hidden; }