Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
c1f5da69
Commit
c1f5da69
authored
Dec 03, 2011
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: provide fallback css and customize @float
Add "note" or "important" class to the generated div.
parent
1ebbdda1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
86 additions
and
0 deletions
+86
-0
t2h.init
doc/t2h.init
+86
-0
No files found.
doc/t2h.init
View file @
c1f5da69
...
@@ -9,6 +9,63 @@ $EXTRA_HEAD =
...
@@ -9,6 +9,63 @@ $EXTRA_HEAD =
<link
rel=
"stylesheet"
type=
"text/css"
href=
"default.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"default.css"
/>
';
';
$CSS_LINES =
<
<
EOT
;
<
style
type=
"text/css"
>
<!--
a.summary-letter { text-decoration: none }
a { color: #2D6198; }
a:visited { color: #884488; }
h1 a, h2 a, h3 a { text-decoration: inherit; color: inherit; }
p { margin-left: 1em; margin-right: 1em; }
table { margin-left: 2em; }
pre { margin-left: 2em; }
#footer { text-align: center; }
#body { margin-left: 1em; margin-right: 1em; }
body { background-color: #313131; margin: 0; }
#container {
background-color: white;
color: #202020;
margin-left: 1em;
margin-right: 1em;
}
h1 {
background-color: #7BB37B;
border: 1px solid #6A996A;
color: #151515;
font-size: 1.2em;
padding-bottom: 0.2em;
padding-left: 0.4em;
padding-top: 0.2em;
}
h2 {
color: #313131;
font-size: 1.2em;
}
h3 {
color: #313131;
font-size: 0.8em;
margin-bottom: -8px;
}
.note {
margin: 1em;
border: 1px solid #bbc9d8;
background-color: #dde1e1;
}
.important {
margin: 1em;
border: 1px solid #d26767;
background-color: #f8e1e1;
}
-->
</style>
EOT
my $LIBAV_NAVBAR = $ENV{"LIBAV_NAVBAR"} || '';
my $LIBAV_NAVBAR = $ENV{"LIBAV_NAVBAR"} || '';
...
@@ -31,6 +88,35 @@ sub Libav_print_page_foot($$)
...
@@ -31,6 +88,35 @@ sub Libav_print_page_foot($$)
print $fh "
</div>
\n";
print $fh "
</div>
\n";
}
}
$float = \
&Libav_float;
sub Libav_float($$$$)
{
my $text = shift;
my $float = shift;
my $caption = shift;
my $shortcaption = shift;
my $label = '';
if (exists($float->{'id'}))
{
$label =
&$anchor($float->{'id'});
}
my $class = '';
my $subject = '';
if ($caption =~ /NOTE/)
{
$class = "note";
}
elsif ($caption =~ /IMPORTANT/)
{
$class = "important";
}
return '
<div
class=
"float ' . $class . '"
>
' . "$label\n" . $text . '
</div>
';
}
$print_page_head = \
&Libav_print_page_head;
$print_page_head = \
&Libav_print_page_head;
sub Libav_print_page_head($$)
sub Libav_print_page_head($$)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment