History

doc/default.css + doc/t2h.init: New styles

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>.

Timothy Gu committed 13 years ago

Commit df08fd51 parent 885739f2 files · +23 −6Browse files

Showing the changes to doc/default.css (1 of 2 files). Show all

Unified · Split

doc/default.css+21−5
@@ -1,3 +1,7 @@
1a.summary-letter {
2 text-decoration: none;
3}
4
1a {5a {
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
48h1, h2, h3 {52h1 a, h2 a, h3 a, h4 a {
53 text-decoration: inherit;
54 color: inherit;
55}
56
57h1, 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
64h2 {73h2 {
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
70h3 {79h3 {
80 color: #313131;
81 font-size: 0.9em;
82 margin-bottom: -6px;
83 background-color: #BBF3BB;
84}
85
86h4 {
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
77img {93img {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t