The main motive of this commit is to make the offline copy of the HTML doc as pretty as the online (ffmpeg.org) one. This also introduced new styles for <h2> to <h4>. Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>tags/n2.1
| @@ -1,3 +1,7 @@ | |||||
| a.summary-letter { | |||||
| text-decoration: none; | |||||
| } | |||||
| a { | a { | ||||
| color: #2D6198; | color: #2D6198; | ||||
| } | } | ||||
| @@ -45,11 +49,16 @@ body { | |||||
| text-align: center; | text-align: center; | ||||
| } | } | ||||
| h1, h2, h3 { | |||||
| h1 a, h2 a, h3 a, h4 a { | |||||
| text-decoration: inherit; | |||||
| color: inherit; | |||||
| } | |||||
| h1, h2, h3, h4 { | |||||
| padding-left: 0.4em; | padding-left: 0.4em; | ||||
| border-radius: 4px; | border-radius: 4px; | ||||
| padding-bottom: 0.2em; | |||||
| padding-top: 0.2em; | |||||
| padding-bottom: 0.25em; | |||||
| padding-top: 0.25em; | |||||
| border: 1px solid #6A996A; | border: 1px solid #6A996A; | ||||
| } | } | ||||
| @@ -63,15 +72,22 @@ h1 { | |||||
| h2 { | h2 { | ||||
| color: #313131; | color: #313131; | ||||
| font-size: 0.9em; | |||||
| font-size: 1.0em; | |||||
| background-color: #ABE3AB; | background-color: #ABE3AB; | ||||
| } | } | ||||
| h3 { | h3 { | ||||
| color: #313131; | |||||
| font-size: 0.9em; | |||||
| margin-bottom: -6px; | |||||
| background-color: #BBF3BB; | |||||
| } | |||||
| h4 { | |||||
| color: #313131; | color: #313131; | ||||
| font-size: 0.8em; | font-size: 0.8em; | ||||
| margin-bottom: -8px; | margin-bottom: -8px; | ||||
| background-color: #BBF3BB; | |||||
| background-color: #D1FDD1; | |||||
| } | } | ||||
| img { | img { | ||||
| @@ -17,6 +17,7 @@ my $TEMPLATE_HEADER = $ENV{"FFMPEG_HEADER"} || <<EOT; | |||||
| </head> | </head> | ||||
| <body> | <body> | ||||
| <div id="container"> | <div id="container"> | ||||
| <div id="body"> | |||||
| EOT | EOT | ||||
| $PRE_BODY_CLOSE = '</div></div>'; | $PRE_BODY_CLOSE = '</div></div>'; | ||||
| @@ -32,7 +33,7 @@ sub FFmpeg_print_page_foot($$) | |||||
| T2H_DEFAULT_program_string() : program_string(); | T2H_DEFAULT_program_string() : program_string(); | ||||
| print $fh '<footer class="footer pagination-right">' . "\n"; | print $fh '<footer class="footer pagination-right">' . "\n"; | ||||
| print $fh '<span class="label label-info">' . $program_string; | print $fh '<span class="label label-info">' . $program_string; | ||||
| print $fh "</span></footer></div>\n"; | |||||
| print $fh "</span></footer></div></div></body>\n"; | |||||
| } | } | ||||
| $float = \&FFmpeg_float; | $float = \&FFmpeg_float; | ||||