changeset 1654:3f28ea044a32

docs UI
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 04 Apr 2022 22:19:32 -0600
parents 418b610e887b
children de8e25c6d177
files website/src/docs.html.luan website/src/index.html.luan website/src/site.css
diffstat 3 files changed, 21 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/website/src/docs.html.luan	Thu Mar 31 22:12:40 2022 -0600
+++ b/website/src/docs.html.luan	Mon Apr 04 22:19:32 2022 -0600
@@ -21,10 +21,12 @@
 		<div content>
 			<h1>Luan Documentation</h1>
 
-			<div link><a href="tutorial.html">Tutorial</a></div>
-			<div link><a href="pil.html">Programming in Lua (book)</a></div>
-			<div link><a href="manual.html">Reference Manual</a></div>
-			<div link><a href="diff.html">How Luan differs from Lua</a></div>
+			<ul links>
+				<li><a href="tutorial.html">Tutorial</a></li>
+				<li><a href="pil.html">Programming in Lua (book)</a></li>
+				<li><a href="manual.html">Reference Manual</a></li>
+				<li><a href="diff.html">How Luan differs from Lua</a></li>
+			</ul>
 		</div>
 	</body>
 </html>
--- a/website/src/index.html.luan	Thu Mar 31 22:12:40 2022 -0600
+++ b/website/src/index.html.luan	Mon Apr 04 22:19:32 2022 -0600
@@ -21,16 +21,16 @@
 		<div content>
 			<h1>The Luan Programming Language</h1>
 
-			<p small>under construction...</p>
-
 			<p>Luan is a <a href="http://www.lua.org">Lua</a>-like language implemented in <a href="https://www.oracle.com/java/">Java</a>.</p>
 
-			<div link><a href="why.html">Why Luan?</a></div>
-			<div link><a href="docs.html">Documentation</a></div>
-			<div link><a href="download/">Download</a></div>
-			<div link><a href="https://hg.luan.software/luan">Source</a></div>
-			<div link><a href="http://forum.luan.software/">Support Forum</a></div>
-			<div link><a href="goodjava.html">The goodjava Library</a></div>
+			<ul links>
+				<li><a href="why.html">Why Luan?</a></li>
+				<li><a href="docs.html">Documentation</a></li>
+				<li><a href="download/">Download</a></li>
+				<li><a href="https://hg.luan.software/luan">Source</a></li>
+				<li><a href="http://forum.luan.software/">Support Forum</a></li>
+				<li><a href="goodjava.html">The goodjava Library</a></li>
+			</ul>
 
 			<div footer>
 				Luan was optimized with <a href="https://www.yourkit.com/java/profiler/">YourKit Java Profiler <img src="https://www.yourkit.com/images/yklogo.png"></a>.
--- a/website/src/site.css	Thu Mar 31 22:12:40 2022 -0600
+++ b/website/src/site.css	Mon Apr 04 22:19:32 2022 -0600
@@ -29,8 +29,13 @@
 	font-size: small;
 }
 
-div[link] {
-	margin: 0.5em 0;
+ul[links] {
+	margin-top: 32px;
+	list-style-type: none;
+	padding-left: 0;
+}
+ul[links] li {
+	margin: 16px 0;
 }
 
 div[toc] ul {