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>.
Showing the changes to doc/default.css (1 of 2 files). Show all
Unified · Split
| @@ -1,3 +1,7 @@ | |||
| 1 | a.summary-letter { | ||
| 2 | text-decoration: none; | ||
| 3 | } | ||
| 4 | |||
| 1 | a { | 5 | a { |
| 2 | color: #2D6198; | 6 | color: #2D6198; |
| 3 | } | 7 | } |
| @@ -45,11 +49,16 @@ body { · 41 unmodified lines | |||
| 45 | text-align: center; | 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 | padding-left: 0.4em; | 58 | padding-left: 0.4em; |
| 50 | border-radius: 4px; | 59 | border-radius: 4px; |
| 51 | padding-bottom: 0.2em; | 60 | padding-bottom: 0.25em; |
| 52 | padding-top: 0.2em; | 61 | padding-top: 0.25em; |
| 53 | border: 1px solid #6A996A; | 62 | border: 1px solid #6A996A; |
| 54 | } | 63 | } |
| 55 | 64 | ||
| @@ -63,15 +72,22 @@ h1 { · 7 unmodified lines | |||
| 63 | 72 | ||
| 64 | h2 { | 73 | h2 { |
| 65 | color: #313131; | 74 | color: #313131; |
| 66 | font-size: 0.9em; | 75 | font-size: 1.0em; |
| 67 | background-color: #ABE3AB; | 76 | background-color: #ABE3AB; |
| 68 | } | 77 | } |
| 69 | 78 | ||
| 70 | h3 { | 79 | h3 { |
| 80 | color: #313131; | ||
| 81 | font-size: 0.9em; | ||
| 82 | margin-bottom: -6px; | ||
| 83 | background-color: #BBF3BB; | ||
| 84 | } | ||
| 85 | |||
| 86 | h4 { | ||
| 71 | color: #313131; | 87 | color: #313131; |
| 72 | font-size: 0.8em; | 88 | font-size: 0.8em; |
| 73 | margin-bottom: -8px; | 89 | margin-bottom: -8px; |
| 74 | background-color: #BBF3BB; | 90 | background-color: #D1FDD1; |
| 75 | } | 91 | } |
| 76 | 92 | ||
| 77 | img { | 93 | img { |