shithub: libsamplerate

Download patch

ref: 183610fcad977f4fead56178cf731a2e1c581e65
parent: 8eee071d73c7f0bd42b22632e0c3fc8398bc8c77
author: evpobr <[email protected]>
date: Thu Oct 22 12:51:23 EDT 2020

Use flexbox layout for HTML layout

--- a/docs/SRC.css
+++ b/docs/SRC.css
@@ -46,3 +46,11 @@
 .nf {
   font-weight: bold;
 }
+
+.container {
+  display: flex;
+}
+
+.content {
+  flex: 1;
+}
--- a/docs/_layouts/default.html
+++ b/docs/_layouts/default.html
@@ -14,37 +14,35 @@
   <footer>
     <img src="SRC.png" class="image-logo" height=100 width=760 alt="SRC.png">
   </footer>
-  <table align="center" width="98%">
-    <tr>
-      <td valign="top">
-        <nav>
-          <a href="index.html">Home</a><br>
-          <a href="license.html">License</a><br>
-          <a href="history.html">History</a><br>
-          <a href="download.html">Download</a><br>
-          <a href="quality.html">Quality</a><br>
-          <a href="api.html">API</a><br>
-          <a href="bugs.html">Bug Reporting</a><br>
-          <a href="win32.html">On Win32</a><br>
-          <a href="faq.html">FAQ</a><br>
-          <a href="lists.html">Mailing Lists</a><br>
-          <a href="https://github.com/libsndfile/libsamplerate/blob/master/ChangeLog">ChangeLog</a><br>
-        </nav>
-        <div class="block">
-          <p>Author:<br>&nbsp;Erik&nbsp;de&nbsp;Castro&nbsp;Lopo</p>
-        </div>
-      </td>
-      <td valign="top">
-        <main>
-          <article>
+  <div class="container">
+    <div class="navbar">
+      <nav>
+        <a href="index.html">Home</a><br>
+        <a href="license.html">License</a><br>
+        <a href="history.html">History</a><br>
+        <a href="download.html">Download</a><br>
+        <a href="quality.html">Quality</a><br>
+        <a href="api.html">API</a><br>
+        <a href="bugs.html">Bug Reporting</a><br>
+        <a href="win32.html">On Win32</a><br>
+        <a href="faq.html">FAQ</a><br>
+        <a href="lists.html">Mailing Lists</a><br>
+        <a href="https://github.com/libsndfile/libsamplerate/blob/master/ChangeLog">ChangeLog</a><br>
+      </nav>
+      <div class="block">
+        <p>Author:<br>&nbsp;Erik&nbsp;de&nbsp;Castro&nbsp;Lopo</p>
+      </div>
+    </div>
+    <div class="content">
+      <main>
+        <article>
 
-            {{ content }}
+          {{ content }}
 
-          </article>
-        </main>
-      </td>
-    </tr>
-  </table>
+        </article>
+      </main>
+    </div>
+  </div>
 
 </body>