ff79b07cc506

Adjust list margins.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 23 Dec 2009 21:16:35 -0500
parents 8a15a71f3376
children 1f5a661bd38b
branches/tags (none)
files media/css/aal.css media/css/base.css

Changes

--- a/media/css/aal.css	Wed Dec 23 21:13:20 2009 -0500
+++ b/media/css/aal.css	Wed Dec 23 21:16:35 2009 -0500
@@ -8,7 +8,6 @@
   edited for stevelosh.com by Steve Losh
   changes:
     base font-size was changed to 14px
-    list margins set to 0
 
 /* 
   Reset first. Modified version of Eric Meyer and Paul Chaplin reset 
@@ -52,7 +51,7 @@
 li ul,li ol {margin: 0;}
 ul {list-style: outside disc;}
 ol {list-style: outside decimal;}
-li {margin: 0 0 0 0;}
+li {margin: 0 0 0 3em;}
 dd {padding-left: 1.5em;}
 blockquote {padding: 0 1.5em;}
 
--- a/media/css/base.css	Wed Dec 23 21:13:20 2009 -0500
+++ b/media/css/base.css	Wed Dec 23 21:16:35 2009 -0500
@@ -101,6 +101,7 @@
 }
 div#section-listing ol li {
     border-bottom: 1px solid #eee;
+    margin: 0;
 }
 div#section-listing ol a {
     color: #111;
@@ -117,4 +118,22 @@
     line-height: 1em;
     margin-left: 0.5em;
     font-weight: normal;
+}
+
+code, pre {
+    font-family: Consolas, Monaco, "Courier New", monospace;
+    font-size: 12px;
+    line-height: 21px;
+}
+p code, li code {
+    border: 1px solid #ccc;
+    background-color: #fafafa;
+    padding: 1px 3px;
+}
+pre {
+    border: 1px solid #ccc;
+    background-color: #fafafa;
+    padding: 0px 5px;
+    margin-left: 2em;
+    overflow: auto;
 }
\ No newline at end of file