switch code font to pure monospace (sans serif).

also add proper margins for elements nested in lists

Change-Id: I1c2914904da63d21359283de945c9805f5d4af93
This commit is contained in:
Scott Main
2013-03-06 12:12:21 -08:00
parent f8333457a5
commit a07be8eee4

View File

@@ -1089,13 +1089,18 @@ li {
dd { dd {
margin:0 0 10px 30px; margin:0 0 10px 30px;
} }
dd p { dd p,
dd pre,
dd ul,
dd ol,
dd dl {
margin:10px 0 0; margin:10px 0 0;
} }
li p, li p,
li pre, li pre,
li ul, li ul,
li ol { li ol,
li dl {
margin-top:5px; margin-top:5px;
margin-bottom:5px; margin-bottom:5px;
} }
@@ -1104,11 +1109,11 @@ pre strong, pre b, a strong, a b, a code {
} }
pre, code { pre, code {
color: #060; color: #060;
font: 14px/1.5 'courier new', courier, monospace; font: 13px/1.5 monospace;
} }
code { code {
font-weight:bold; font-weight:bold;
font: 14px/14px 'courier new', courier, monospace; font: 13px/14px monospace;
} }
legend { legend {
@@ -2473,7 +2478,7 @@ p.table-caption {
p.code-caption { p.code-caption {
margin: 0 0 4px 0; margin: 0 0 4px 0;
font: 13px/1.5 'courier new', courier, monospace; font: 12px/1.5 monospace;
color:#666; color:#666;
} }