mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-14 15:15:46 +01:00
Some manual help formatting tweaks. Why can troff handle stuff this but HTML can't?
This commit is contained in:
@@ -174,14 +174,19 @@
|
||||
|
||||
<!-- Items {{{1 -->
|
||||
|
||||
<xsl:template match="liberator:strut" mode="pass-2">
|
||||
<div style="clear: both"/>
|
||||
</xsl:template>
|
||||
<xsl:template match="liberator:item" mode="pass-2">
|
||||
<div liberator:highlight="HelpItem">
|
||||
<xsl:apply-templates select="liberator:tags|liberator:spec"/>
|
||||
<hr style="border: 0; height: 0; margin: 0; width: 100%; float: right;"/>
|
||||
<div liberator:highlight="HelpOptInfo">
|
||||
<xsl:apply-templates select="liberator:type|liberator:default"/>
|
||||
<div style="clear: both;"/>
|
||||
</div>
|
||||
<xsl:apply-templates select="liberator:tags|liberator:spec|liberator:strut"/>
|
||||
<xsl:if test="not(liberator:description/@short)">
|
||||
<hr style="border: 0; height: 0; margin: 0; width: 100%; float: right;"/>
|
||||
<div liberator:highlight="HelpOptInfo">
|
||||
<xsl:apply-templates select="liberator:type|liberator:default"/>
|
||||
<div style="clear: both;"/>
|
||||
</div>
|
||||
</xsl:if>
|
||||
<xsl:apply-templates select="liberator:description"/>
|
||||
<div style="clear: both;"/>
|
||||
</div>
|
||||
|
||||
@@ -163,6 +163,7 @@ Highlights.prototype.CSS = <![CDATA[
|
||||
HelpOptInfo display: inline-block; margin-bottom: 1ex;
|
||||
|
||||
HelpParagraph,html|p,liberator://help/* display: block; margin: 1em 0em;
|
||||
HelpParagraph:first-child margin-top: 0;
|
||||
HelpSpec display: block; margin-left: -10em; float: left; clear: left; color: #527BBD;
|
||||
|
||||
HelpString display: inline-block; color: green; font-weight: normal; vertical-align: text-top;
|
||||
|
||||
Reference in New Issue
Block a user