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;
} }
body {
font-size: 14px; a:visited {
line-height: 20px; color: #884488;
color: #666666;
background-color: #ffffff;
} }
a {
color: #0088cc; #banner {
text-decoration: none; background-color: white;
position: relative;
text-align: center;
} }
a:hover {
color: #005580; #banner img {
text-decoration: underline; padding-bottom: 1px;
padding-top: 5px;
} }
p {
margin: 0 0 10px; #body {
margin-left: 1em;
margin-right: 1em;
} }
h2,
h3, body {
h4 { background-color: #313131;
margin: 10px 0; margin: 0;
font-family: inherit; text-align: justify;
font-weight: bold; }
line-height: 1;
border-color: #D6E9C6; .center {
color: #468847; margin-left: auto;
border-style: solid; margin-right: auto;
border-width: 0 0 1px; text-align: center;
padding-left: 0.5em; }
#container {
background-color: white;
color: #202020;
margin-left: 1em;
margin-right: 1em;
}
#footer {
text-align: center;
} }
h1 a, h1, h2, h3 {
h2 a, padding-left: 0.4em;
h3 a, border-radius: 4px;
h4 a { padding-bottom: 0.2em;
color: inherit; padding-top: 0.2em;
border: 1px solid #6A996A;
} }
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;
} }
pre {
display: block; #navbar {
padding: 9.5px; background-color: #738073;
margin: 0 0 10px; border-bottom: 1px solid #5C665C;
font-size: 13px; border-top: 1px solid #5C665C;
line-height: 20px; margin-top: 12px;
word-break: break-all; padding: 0.3em;
word-wrap: break-word; position: relative;
white-space: pre; text-align: center;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #ccc;
border-radius: 4px;
} }
code { #navbar a, #navbar_secondary a {
padding: 2px 4px; color: white;
color: #d14; padding: 0.3em;
background-color: #f7f7f9; text-decoration: none;
border: 1px solid #e1e1e8;
} }
pre code {
padding: 0; #navbar a:hover, #navbar_secondary a:hover {
color: inherit; background-color: #313131;
background-color: transparent; color: white;
border: 0; text-decoration: none;
} }
.alert {
padding: 8px 35px 8px 14px; #navbar_secondary {
margin-bottom: 20px; background-color: #738073;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); border-bottom: 1px solid #5C665C;
background-color: #fcf8e3; border-left: 1px solid #5C665C;
border: 1px solid #fbeed5; border-right: 1px solid #5C665C;
border-radius: 4px; padding: 0.3em;
color: #c09853; position: relative;
text-align: center;
} }
.alert-danger, p {
.alert-error { margin-left: 1em;
background-color: #f2dede; margin-right: 1em;
border-color: #eed3d7; }
color: #b94a48;
pre {
margin-left: 3em;
margin-right: 3em;
padding: 0.3em;
border: 1px solid #bbb;
background-color: #f7f7f7;
}
dl dt {
font-weight: bold;
}
#proj_desc {
font-size: 1.2em;
} }
.alert-info {
background-color: #d9edf7; #repos {
border-color: #bce8f1; margin-left: 1em;
color: #3a87ad; margin-right: 1em;
border-collapse: collapse;
border: solid 1px #6A996A;
}
#repos th {
background-color: #7BB37B;
border: solid 1px #6A996A;
} }
ul.toc { #repos td {
list-style-type: none; padding: 0.2em;
border: solid 1px #6A996A;
} }
...@@ -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