Commit e64a7f2c authored by Stefano Sabatini's avatar Stefano Sabatini

doc/default.css: use ffmpeg.org website CSS

The attribute container of the top-level div is changed from "class" to
"id" to match the website CSS.

Improve consistency between website docs and local documentation style.
parent 042c2a1a
.container { a {
margin-right: auto; color: #2D6198;
margin-left: auto; }
width: 1070px;
a:visited {
color: #884488;
} }
#banner {
background-color: white;
position: relative;
text-align: center;
}
#banner img {
padding-bottom: 1px;
padding-top: 5px;
}
#body {
margin-left: 1em;
margin-right: 1em;
}
body { body {
font-size: 14px; background-color: #313131;
line-height: 20px; margin: 0;
color: #666666; text-align: justify;
background-color: #ffffff;
} }
a {
color: #0088cc; .center {
text-decoration: none; margin-left: auto;
margin-right: auto;
text-align: center;
} }
a:hover {
color: #005580; #container {
text-decoration: underline; background-color: white;
color: #202020;
margin-left: 1em;
margin-right: 1em;
} }
p {
margin: 0 0 10px; #footer {
} text-align: center;
h2, }
h3,
h4 { h1, h2, h3 {
margin: 10px 0; padding-left: 0.4em;
font-family: inherit; border-radius: 4px;
font-weight: bold; padding-bottom: 0.2em;
line-height: 1; padding-top: 0.2em;
border-color: #D6E9C6; border: 1px solid #6A996A;
color: #468847;
border-style: solid;
border-width: 0 0 1px;
padding-left: 0.5em;
}
h1 a,
h2 a,
h3 a,
h4 a {
color: inherit;
} }
h1 { h1 {
font-size: 30px; background-color: #7BB37B;
line-height: 40px; color: #151515;
font-size: 1.2em;
padding-bottom: 0.3em;
padding-top: 0.3em;
} }
h2 { h2 {
font-size: 20px; color: #313131;
line-height: 40px; font-size: 0.9em;
background-color: #ABE3AB;
} }
h3 { h3 {
font-size: 18px; color: #313131;
line-height: 40px; font-size: 0.8em;
margin-bottom: -8px;
background-color: #BBF3BB;
} }
code,
pre { img {
padding: 0 3px 2px; border: 0;
font-family: monospace;
font-size: 12px;
color: #333333;
border-radius: 3px;
} }
#navbar {
background-color: #738073;
border-bottom: 1px solid #5C665C;
border-top: 1px solid #5C665C;
margin-top: 12px;
padding: 0.3em;
position: relative;
text-align: center;
}
#navbar a, #navbar_secondary a {
color: white;
padding: 0.3em;
text-decoration: none;
}
#navbar a:hover, #navbar_secondary a:hover {
background-color: #313131;
color: white;
text-decoration: none;
}
#navbar_secondary {
background-color: #738073;
border-bottom: 1px solid #5C665C;
border-left: 1px solid #5C665C;
border-right: 1px solid #5C665C;
padding: 0.3em;
position: relative;
text-align: center;
}
p {
margin-left: 1em;
margin-right: 1em;
}
pre { pre {
display: block; margin-left: 3em;
padding: 9.5px; margin-right: 3em;
margin: 0 0 10px; padding: 0.3em;
font-size: 13px; border: 1px solid #bbb;
line-height: 20px; background-color: #f7f7f7;
word-break: break-all; }
word-wrap: break-word;
white-space: pre; dl dt {
white-space: pre-wrap; font-weight: bold;
background-color: #f5f5f5; }
border: 1px solid #ccc;
border-radius: 4px; #proj_desc {
} font-size: 1.2em;
}
code {
padding: 2px 4px; #repos {
color: #d14; margin-left: 1em;
background-color: #f7f7f9; margin-right: 1em;
border: 1px solid #e1e1e8; border-collapse: collapse;
} border: solid 1px #6A996A;
pre code { }
padding: 0;
color: inherit; #repos th {
background-color: transparent; background-color: #7BB37B;
border: 0; border: solid 1px #6A996A;
} }
.alert {
padding: 8px 35px 8px 14px; #repos td {
margin-bottom: 20px; padding: 0.2em;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); border: solid 1px #6A996A;
background-color: #fcf8e3;
border: 1px solid #fbeed5;
border-radius: 4px;
color: #c09853;
}
.alert-danger,
.alert-error {
background-color: #f2dede;
border-color: #eed3d7;
color: #b94a48;
}
.alert-info {
background-color: #d9edf7;
border-color: #bce8f1;
color: #3a87ad;
}
ul.toc {
list-style-type: none;
} }
...@@ -16,7 +16,7 @@ my $TEMPLATE_HEADER = $ENV{"FFMPEG_HEADER"} || <<EOT; ...@@ -16,7 +16,7 @@ my $TEMPLATE_HEADER = $ENV{"FFMPEG_HEADER"} || <<EOT;
<link rel="icon" href="favicon.png" type="image/png" /> <link rel="icon" href="favicon.png" type="image/png" />
</head> </head>
<body> <body>
<div class="container"> <div id="container">
EOT EOT
$PRE_BODY_CLOSE = '</div></div>'; $PRE_BODY_CLOSE = '</div></div>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment