]> git.lyx.org Git - lyx.git/commitdiff
CSS for marginal notes, which makes them work.
authorRichard Heck <rgheck@comcast.net>
Fri, 12 Jun 2009 15:16:08 +0000 (15:16 +0000)
committerRichard Heck <rgheck@comcast.net>
Fri, 12 Jun 2009 15:16:08 +0000 (15:16 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30076 a592a061-630c-0410-9148-cb99ea01b6c8

lib/layouts/stdinsets.inc

index 79d008d22c605fa146a1fcda5bca44f561c98914..a09aa48e8fc4248341dd07876c184a1ac092c09e 100644 (file)
@@ -76,6 +76,17 @@ InsetLayout Marginal
          Size                Small
        EndFont
        MultiPar              true
+       HTMLTag               span
+       HTMLAttr              class='marginal'
+       HTMLStyle
+               span.marginal {
+                       border: 2px solid black; 
+                       padding: 1ex; 
+                       margin: 1ex; 
+                       background-color: #F0F0F0; 
+                       float:right;
+               }
+       EndHTMLStyle
 End
 
 InsetLayout Foot