changeset 1323:3860ed4b8552

simplify website css
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 07 Feb 2019 05:38:38 -0700
parents d5739c101bd6
children 1660136ac451
files website/src/docs.html.luan website/src/index.html.luan website/src/manual.html.luan website/src/site.css website/src/tutorial.html.luan
diffstat 5 files changed, 19 insertions(+), 43 deletions(-) [+]
line wrap: on
line diff
--- a/website/src/docs.html.luan	Wed Feb 06 01:11:12 2019 -0700
+++ b/website/src/docs.html.luan	Thu Feb 07 05:38:38 2019 -0700
@@ -12,9 +12,6 @@
 		<title>Luan Documentation</title>
 		<style>
 			@import "/site.css";
-			div[link] {
-				margin: 0.5em 0;
-			}
 		</style>
 	</head>
 	<body>
--- a/website/src/index.html.luan	Wed Feb 06 01:11:12 2019 -0700
+++ b/website/src/index.html.luan	Thu Feb 07 05:38:38 2019 -0700
@@ -12,30 +12,19 @@
 		<title>Luan</title>
 		<style>
 			@import "/site.css";
-			h1 {
-				margin: .5em 0 0;
-			}
-			div[uc] {
-				margin: .5em 0 2.5em;
-			}
-			div[intro] {
-				margin: 1.5em 0;
-			}
-			div[link] {
-				margin: 0.5em 0;
-			}
 		</style>
 	</head>
 	<body>
-		<div container>
-			<h1>The Luan Programming Language</h1>
-			<div uc>under construction...</div>
-			<div intro>Luan is a <a href="http://www.lua.org">Lua</a>-like language implemented in <a href="https://www.oracle.com/java/">Java</a>.</div>
-			<div link><a href="docs.html">Documentation</a></div>
-			<div link><a href="/download/">Download</a></div>
-			<div link><a href="https://bitbucket.org/frschmidt/luan">Source</a></div>
-			<div link><a href="http://forum.luan.ws/">Forum</a></div>
-		</div>
+		<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="docs.html">Documentation</a></div>
+		<div link><a href="/download/">Download</a></div>
+		<div link><a href="https://bitbucket.org/frschmidt/luan">Source</a></div>
+		<div link><a href="http://forum.luan.ws/">Forum</a></div>
 	</body>
 </html>
 <%
--- a/website/src/manual.html.luan	Wed Feb 06 01:11:12 2019 -0700
+++ b/website/src/manual.html.luan	Thu Feb 07 05:38:38 2019 -0700
@@ -18,7 +18,6 @@
 </head>
 <body>
 
-<div container>
 <% Shared.header() %>
 
 <h1>Luan Reference Manual</h1>
@@ -4499,8 +4498,6 @@
 Last change: minor edit
 -->
 
-</div>
-
 </body>
 </html>
 <%
--- a/website/src/site.css	Wed Feb 06 01:11:12 2019 -0700
+++ b/website/src/site.css	Thu Feb 07 05:38:38 2019 -0700
@@ -1,15 +1,12 @@
 
 body {
-	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
-	margin: 0 5%;
+	font-family: sans-serif;
+	margin-left: 5%;
+	margin-right: 5%;
 }
 
 a[href] {
 	text-decoration: inherit;
-	color: #337ab7;
-}
-a[href]:visited {
-	color: #034a87;
 }
 a[href]:hover {
 	text-decoration: underline;
@@ -19,22 +16,21 @@
 	font-size: small;
 }
 
+div[link] {
+	margin: 0.5em 0;
+}
+
 
 div[contents] {
-	margin: 0 0 1em;
+	margin-bottom: 1em;
 }
 ul {
 	margin: 0;
 }
 [heading] {
-	margin: 2em 0 0.6em;
-	color: #233E93;
-}
-[heading] a[href], [heading] a[href]:visited {
-	color: inherit;
+	margin-top: 2em;
 }
 
 h4 code {
 	font-size: 1.4em;
-	font-weight: normal;
 }
--- a/website/src/tutorial.html.luan	Wed Feb 06 01:11:12 2019 -0700
+++ b/website/src/tutorial.html.luan	Thu Feb 07 05:38:38 2019 -0700
@@ -17,7 +17,6 @@
 </head>
 <body>
 
-<div container>
 <% Shared.header() %>
 <h1>Luan Tutorial</h1>
 
@@ -105,8 +104,6 @@
 <p>The form is <b>luan luan:host/push.luan domain password directory</b>.  If you change your site, just run this again and your site will be updated.  To delete your site, do <b>luan luan:host/delete.luan domain password</b>.</p>
 
 <p>Hopefully this short tutorial gave you an idea of how to use Luan to make a website.</p>
-
-</div>
 		
 </body>
 </html>