forked from minhngoc25a/freetype2
(code_header, code_footer): Don't change font colour directly but
use a special <pre> class.
This commit is contained in:
parent
64f1ba9064
commit
d18e01352c
|
@ -15,6 +15,8 @@
|
|||
but use a new <span> class.
|
||||
(section_synopsis_header, section_synopsis_footer): Don't change
|
||||
colour.
|
||||
(code_header, code_footer): Don't change font colour directly but
|
||||
use a special <pre> class.
|
||||
(print_html_field): <tr> gets the `valign' attribute, not <table>.
|
||||
(print_html_field_list): Ditto.
|
||||
(index_exit): Don't use <center>...</center> but `align=center'
|
||||
|
|
|
@ -32,6 +32,8 @@ html_header_2= """ API Reference</title>
|
|||
text-align: left;
|
||||
white-space: pre;
|
||||
color: darkblue; }
|
||||
|
||||
pre.colored { color: blue; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -55,8 +57,8 @@ section_title_footer = "</h1></center>"
|
|||
|
||||
# The header and footer used for code segments.
|
||||
#
|
||||
code_header = "<font color=blue><pre>"
|
||||
code_footer = "</pre></font>"
|
||||
code_header = '<pre class="colored">'
|
||||
code_footer = '</pre>'
|
||||
|
||||
# Paragraph header and footer.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue