[FFmpeg-devel] [PATCH v2] doc/t2h: use container

Josh de Kock josh at itanimul.li
Sun Oct 2 16:53:22 EEST 2016


Full width text is really difficult to read, this makes it more
more legible on larger (widescreen) screens. It also means we aren't
inventing our own container instead of using the bootstrap one.

Signed-off-by: Josh de Kock <josh at itanimul.li>
---
 doc/t2h.init | 2 +-
 doc/t2h.pm   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/t2h.init b/doc/t2h.init
index c41be2e..a01a971 100644
--- a/doc/t2h.init
+++ b/doc/t2h.init
@@ -22,7 +22,7 @@ EOT
 my $TEMPLATE_HEADER2 = $ENV{"FFMPEG_HEADER2"} || <<EOT;
   </head>
   <body>
-    <div style="width: 95%; margin: auto">
+    <div class="container">
 EOT
 
 my $TEMPLATE_FOOTER = $ENV{"FFMPEG_FOOTER"} || <<EOT;
diff --git a/doc/t2h.pm b/doc/t2h.pm
index 5efb2da..e83d564 100644
--- a/doc/t2h.pm
+++ b/doc/t2h.pm
@@ -174,7 +174,7 @@ EOT
     <link rel="stylesheet" type="text/css" href="style.min.css">
   </head>
   <body>
-    <div style="width: 95%; margin: auto">
+    <div class="container">
       <h1>
 EOT
 
-- 
2.8.4 (Apple Git-73)



More information about the ffmpeg-devel mailing list