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>.
Unified · Split
| @@ -1,3 +1,7 @@ | ||
| 1 | +a.summary-letter { | |
| 2 | + text-decoration: none; | |
| 3 | +} | |
| 4 | + | |
| 1 | 5 | a { |
| 2 | 6 | color: #2D6198; |
| 3 | 7 | } |
| @@ -45,11 +49,16 @@ body { · 41 unmodified lines | ||
| 45 | 49 | text-align: center; |
| 46 | 50 | } |
| 47 | 51 | |
| 48 | −h1, h2, h3 { | |
| 52 | +h1 a, h2 a, h3 a, h4 a { | |
| 53 | + text-decoration: inherit; | |
| 54 | + color: inherit; | |
| 55 | +} | |
| 56 | + | |
| 57 | +h1, h2, h3, h4 { | |
| 49 | 58 | padding-left: 0.4em; |
| 50 | 59 | border-radius: 4px; |
| 51 | − padding-bottom: 0.2em; | |
| 52 | − padding-top: 0.2em; | |
| 60 | + padding-bottom: 0.25em; | |
| 61 | + padding-top: 0.25em; | |
| 53 | 62 | border: 1px solid #6A996A; |
| 54 | 63 | } |
| 55 | 64 | |
| @@ -63,15 +72,22 @@ h1 { · 7 unmodified lines | ||
| 63 | 72 | |
| 64 | 73 | h2 { |
| 65 | 74 | color: #313131; |
| 66 | − font-size: 0.9em; | |
| 75 | + font-size: 1.0em; | |
| 67 | 76 | background-color: #ABE3AB; |
| 68 | 77 | } |
| 69 | 78 | |
| 70 | 79 | h3 { |
| 80 | + color: #313131; | |
| 81 | + font-size: 0.9em; | |
| 82 | + margin-bottom: -6px; | |
| 83 | + background-color: #BBF3BB; | |
| 84 | +} | |
| 85 | + | |
| 86 | +h4 { | |
| 71 | 87 | color: #313131; |
| 72 | 88 | font-size: 0.8em; |
| 73 | 89 | margin-bottom: -8px; |
| 74 | − background-color: #BBF3BB; | |
| 90 | + background-color: #D1FDD1; | |
| 75 | 91 | } |
| 76 | 92 | |
| 77 | 93 | img { |
| @@ -17,6 +17,7 @@ my $TEMPLATE_HEADER = $ENV{"FFMPEG_HEADER"} || <<EOT; · 16 unmodified lines | ||
| 17 | 17 | </head> |
| 18 | 18 | <body> |
| 19 | 19 | <div id="container"> |
| 20 | +<div id="body"> | |
| 20 | 21 | EOT |
| 21 | 22 | |
| 22 | 23 | $PRE_BODY_CLOSE = '</div></div>'; |
| @@ -32,7 +33,7 @@ sub FFmpeg_print_page_foot($$) · 9 unmodified lines | ||
| 32 | 33 | T2H_DEFAULT_program_string() : program_string(); |
| 33 | 34 | print $fh '<footer class="footer pagination-right">' . "\n"; |
| 34 | 35 | print $fh '<span class="label label-info">' . $program_string; |
| 35 | − print $fh "</span></footer></div>\n"; | |
| 36 | + print $fh "</span></footer></div></div></body>\n"; | |
| 36 | 37 | } |
| 37 | 38 | |
| 38 | 39 | $float = \&FFmpeg_float; |