From 194254082edb1c23fe1f93d4cc733ebe25cbcd9f Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 19 Nov 2009 21:13:19 +0000 Subject: [PATCH] Tags for lots of things are going to have to be div, because we can't do things like

...

. Why not, I have no idea. Seems pretty sensible to me. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32095 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/paper.layout | 7 ++++++- lib/layouts/stdclass.inc | 7 ++++++- lib/layouts/stdinsets.inc | 15 ++++++++------- 3 files changed, 20 insertions(+), 9 deletions(-) diff --git a/lib/layouts/paper.layout b/lib/layouts/paper.layout index bd0dc03dfb..2a39dc3908 100644 --- a/lib/layouts/paper.layout +++ b/lib/layouts/paper.layout @@ -19,7 +19,12 @@ Style Standard Align Block AlignPossible Block, Left, Right, Center LabelType No_Label - HTMLTag p + HTMLStyle + div.standard { + text-indent: 2em; + margin-bottom: 2ex; + } + EndHTMLStyle End Input stdtitle.inc diff --git a/lib/layouts/stdclass.inc b/lib/layouts/stdclass.inc index 7debe974d5..7c47275ca3 100644 --- a/lib/layouts/stdclass.inc +++ b/lib/layouts/stdclass.inc @@ -35,7 +35,12 @@ Style Standard Align Block AlignPossible Block, Left, Right, Center LabelType No_Label - HTMLTag p + HTMLStyle + div.standard { + text-indent: 2em; + margin-bottom: 2ex; + } + EndHTMLStyle End #Input stdcharstyles.inc diff --git a/lib/layouts/stdinsets.inc b/lib/layouts/stdinsets.inc index bd384cdfec..ccca87b7aa 100644 --- a/lib/layouts/stdinsets.inc +++ b/lib/layouts/stdinsets.inc @@ -77,9 +77,9 @@ InsetLayout Marginal EndFont MultiPar true NeedProtect true - HTMLTag span + HTMLTag div HTMLStyle - span.marginal { + div.marginal { border: 2px solid black; padding: 1ex; margin: 1ex; @@ -107,9 +107,9 @@ InsetLayout Foot Size Small EndFont MultiPar true - HTMLTag span + HTMLTag div HTMLLabel \arabic{footnote} - HTMLInnerTag span + HTMLInnerTag div HTMLStyle span.foot_label { vertical-align: super; @@ -117,10 +117,10 @@ InsetLayout Foot font-weight: bold; text-decoration: underline; } - span.foot_inner { + div.foot_inner { display: none; } - span.foot:hover span.foot_inner { + div.foot:hover div.foot_inner { display: block; border: 1px double black; margin: 0em 1em; @@ -154,6 +154,7 @@ InsetLayout Note:Note Size Small EndFont MultiPar true + HTMLTag div HTMLIsBlock false # FIXME HTML Need CSS End @@ -169,7 +170,6 @@ InsetLayout Note:Greyedout Size Small EndFont MultiPar true - HTMLTag span HTMLStyle span.note_greyedout { background-color: #A0A0A0; @@ -177,6 +177,7 @@ InsetLayout Note:Greyedout padding-right: 1ex; } EndHTMLStyle + HTMLTag div HTMLIsBlock false End -- 2.39.2