]> git.lyx.org Git - features.git/commitdiff
CSS for InsetBibitem.
authorRichard Heck <rgheck@comcast.net>
Thu, 3 Dec 2009 20:13:17 +0000 (20:13 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 3 Dec 2009 20:13:17 +0000 (20:13 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32298 a592a061-630c-0410-9148-cb99ea01b6c8

lib/layouts/stdstruct.inc

index c5b6fb98c1216c1718976b39ab209fd9dc5415df..ca5294307dabe6d34e90af1fae0d47cb995563a6 100644 (file)
@@ -57,7 +57,12 @@ Style Bibliography
          Series              Bold
          Size                Larger
        EndFont
-       HTMLTag               div
-       HTMLItem              p
-# FIXME HTML We should have some CSS here to format the items as hanging.
+       HTMLStyle
+               div.bibliography {
+                       margin-left: 2em;
+                       text-indent: -2em;
+               }
+               span.bibitemlabel:before { content: "["; }
+               span.bibitemlabel:after { content: "] "; }
+       EndHTMLStyle
 End