From 23ebd267194cdb24413f1c2a79147fa3cfa2b4f9 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 14 Dec 2009 17:16:16 +0000 Subject: [PATCH] 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 --- lib/layouts/stdfloats.inc | 15 --------------- lib/layouts/stdinsets.inc | 21 +++++++++++++++++++-- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/lib/layouts/stdfloats.inc b/lib/layouts/stdfloats.inc index cb4f44994c..49620e1eaa 100644 --- a/lib/layouts/stdfloats.inc +++ b/lib/layouts/stdfloats.inc @@ -6,21 +6,6 @@ Format 19 -AddToHTMLPreamble - -EndPreamble - - Float Type table GuiName Table diff --git a/lib/layouts/stdinsets.inc b/lib/layouts/stdinsets.inc index 08811b2ce5..f386af000a 100644 --- a/lib/layouts/stdinsets.inc +++ b/lib/layouts/stdinsets.inc @@ -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 + -- 2.39.2