Fixed a bug in reader where numbered anchors were indented if they were attached...
authorMarek Stępniowski <marek@stepniowski.com>
Thu, 18 Sep 2008 11:47:14 +0000 (13:47 +0200)
committerMarek Stępniowski <marek@stepniowski.com>
Thu, 18 Sep 2008 11:47:14 +0000 (13:47 +0200)
wolnelektury/media/css/master.book.css

index d8ffe49..47e4f36 100644 (file)
@@ -192,13 +192,15 @@ blockquote {
 /* = Numbering = */
 /* ============= */
 .anchor {
 /* = Numbering = */
 /* ============= */
 .anchor {
-    float: left;
-    margin: -0.2em -0.5em -0.2em -3.5em;
+    position: absolute;
+    margin: -0.25em -0.5em;
+    left: 1em;
     color: #777;
     font-size: 12px;
     width: 2em;
     text-align: center;
     color: #777;
     font-size: 12px;
     width: 2em;
     text-align: center;
-    padding: 0.2em 0.5em;
+    padding: 0.25em 0.5em;
+    line-height: 1.5em;
 }
 
 .anchor:hover, #book-text .anchor:active {
 }
 
 .anchor:hover, #book-text .anchor:active {