Skip to content

Commit

Permalink
Add sample CSS to header customization example
Browse files Browse the repository at this point in the history
Signed-off-by: Roger Sheen <roger@infotexture.net>
  • Loading branch information
infotexture committed Dec 7, 2016
1 parent 10c91b2 commit b4d10a1
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions dev_ref/html-customization-header.dita
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,32 @@
<cmd>Set <parmname>args.ftr</parmname> to include an XML file as a running footer that appears below the page
content.</cmd>
</step>
<step importance="optional">
<cmd>Add custom CSS rules to style headers and/or footers.</cmd>
<info>
<p>For example, the DITA-OT documentation stylesheet includes the following header rules:
<codeblock>div.header {
font-size: 18pt;
margin: 0;
padding: 0 12px;
}

div.header p {
color: #777;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
line-height: 1.3;
margin: 0;
}

div.header hr {
border: 0;
border-bottom: 1px solid #eee;
height: 0;
}
</codeblock><!-- Use static excerpt pending 2.4 CI builds -->
</p>
</info>
</step>
</steps>
<result>
<note type="tip">For an example of HTML output generated using this method, see the HTML5 version of the DITA-OT
Expand Down

0 comments on commit b4d10a1

Please sign in to comment.