Polish CSS a bit for floats and captions.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32534 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-12-14 17:16:16 +00:00
parent 47e591bbee
commit 23ebd26719
2 changed files with 19 additions and 17 deletions

View File

@ -6,21 +6,6 @@
Format 19
AddToHTMLPreamble
<style type="text/css">
div.float {
border: 2px solid black;
}
div.float-caption {
text-align: center;
border: 2px solid black;
padding: 1ex;
margin: 1ex;
}
</style>
EndPreamble
Float
Type table
GuiName Table

View File

@ -168,8 +168,8 @@ InsetLayout Note:Greyedout
div.note_greyedout {
display: inline;
background-color: #A0A0A0;
padding-left: 1ex;
padding-right: 1ex;
padding: 0.5ex;
border: 1px black solid;
}
EndHTMLStyle
HTMLIsBlock false
@ -277,6 +277,11 @@ InsetLayout Float
Size Small
EndFont
MultiPar true
HTMLStyle
div.float {
border: 2px solid black;
}
EndHTMLStyle
End
InsetLayout Wrap
@ -388,3 +393,15 @@ InsetLayout Info:shortcuts
span.shortcuts { font-family: sans-serif; }
EndHTMLStyle
End
InsetLayout Caption
HTMLStyle
div.float-caption {
text-align: center;
border: 2px solid black;
padding: 1ex;
margin: 1ex;
}
EndHTMLStyle
End