OSDN Git Service

switch code font to pure monospace (sans serif).
authorScott Main <smain@google.com>
Wed, 6 Mar 2013 20:12:21 +0000 (12:12 -0800)
committerScott Main <smain@google.com>
Wed, 6 Mar 2013 20:12:21 +0000 (12:12 -0800)
also add proper margins for elements nested in lists

Change-Id: I1c2914904da63d21359283de945c9805f5d4af93

tools/droiddoc/templates-sdk/assets/css/default.css

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