From: Ryan Haasken Date: Thu, 12 Jun 2014 23:01:40 +0000 (-0500) Subject: LUDOC-243 style: Improve formatting of version tags (html) X-Git-Tag: 2.6.0~4 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F10707%2F2;p=doc%2Fmanual.git LUDOC-243 style: Improve formatting of version tags (html) Improved the xsl templates and the manual.css stylesheet so that the Lustre version tags would not overlap the text. - Created a versionbox div class for the div which puts a box around version-specific content. - Created a versioncontent span class for the actual content. - Put the xsl:apply-templates element inside of a versioncontent span. - Gave the versioncontent class a margin-left of 15px to move the text to the right of the versionlabel. - Capitalized "Introduced" in the version labels. Signed-off-by: Ryan Haasken Change-Id: I4dbacc082211116626298caf8629e942803725e0 Reviewed-on: http://review.whamcloud.com/10707 Tested-by: Jenkins Reviewed-by: Richard Henwood --- diff --git a/style/customstyle.xsl b/style/customstyle.xsl index 95e10a8..d54d45f 100644 --- a/style/customstyle.xsl +++ b/style/customstyle.xsl @@ -25,11 +25,13 @@ -
+
- + + +
@@ -43,55 +45,55 @@ - + - + - + - + - + - + - + - + - + diff --git a/style/manual.css b/style/manual.css index 3082a88..76501ac 100644 --- a/style/manual.css +++ b/style/manual.css @@ -3,6 +3,10 @@ pre.programlisting, pre.screen padding: 5px; } +div.versionbox { + border: 1px solid gray; +} + span.versionlabel { display: inline-block; position: relative; @@ -11,8 +15,9 @@ span.versionlabel { background-color: white; border: 1px solid gray; } -div.versioncontent { - border: 1px solid gray; + +span.versioncontent { + margin-left: 15px; } span.floatright {