mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-02-18 18:11:05 +00:00
Settings reference style more consistent with rest of reference pages
This commit is contained in:
parent
602a2bcdc1
commit
4a7d7ad688
2 changed files with 29 additions and 1 deletions
|
@ -257,3 +257,26 @@ table.directory tr {
|
|||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.setting-item {
|
||||
border-left: 1px solid #DFE5F1;
|
||||
padding-bottom: 0.5em;
|
||||
border-top-left-radius: 4px;
|
||||
}
|
||||
|
||||
.setting-item h1 {
|
||||
width: 100%;
|
||||
padding: 0.3em 0 0.3em 10px;
|
||||
box-sizing: border-box;
|
||||
background: #DFE5F1;
|
||||
border: 0;
|
||||
font-size: 1.5em;
|
||||
font-weight: normal;
|
||||
border-top-right-radius: 4px;
|
||||
border-top-left-radius: 4px;
|
||||
}
|
||||
|
||||
.setting-item dl,
|
||||
.setting-item p {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
|
|
@ -34,9 +34,11 @@
|
|||
|
||||
<!-- Setting template -->
|
||||
<xsl:template match="*" mode="Setting">
|
||||
\htmlonly
|
||||
<div class="setting-item">
|
||||
\endhtmlonly
|
||||
\section <xsl:value-of select="concat('settings_', name(..), '_', translate(name, '.', '_'))" /><xsl:text> </xsl:text><xsl:value-of select="concat(name(..), '.', name)" />
|
||||
<xsl:text>
</xsl:text>
|
||||
|
||||
\par Type
|
||||
<xsl:choose>
|
||||
<xsl:when test="type = 'bool'">Boolean (int)</xsl:when>
|
||||
|
@ -84,6 +86,9 @@
|
|||
\htmlonly
|
||||
<xsl:copy-of select="desc"/>
|
||||
\endhtmlonly
|
||||
\htmlonly
|
||||
</div>
|
||||
\endhtmlonly
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
Loading…
Reference in a new issue