Update HTML to reference a local doc.css, and remove W3C-hosted images (a potential privacy leak)

Thu, 03 Apr 2014 14:30:36 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 03 Apr 2014 14:30:36 +0100
changeset 24
0d7de9d0878b
parent 23
c33ee6e3ef5f
child 25
8c3a5b827e48

Update HTML to reference a local doc.css, and remove W3C-hosted images (a potential privacy leak)

doc/doc.css file | annotate | diff | comparison | revisions
doc/us/examples.html file | annotate | diff | comparison | revisions
doc/us/index.html file | annotate | diff | comparison | revisions
doc/us/license.html file | annotate | diff | comparison | revisions
doc/us/lom.html file | annotate | diff | comparison | revisions
doc/us/manual.html file | annotate | diff | comparison | revisions
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/doc.css	Thu Apr 03 14:30:36 2014 +0100
@@ -0,0 +1,223 @@
+body { 
+    margin-left: 1em; 
+    margin-right: 1em; 
+    font-family: arial, helvetica, geneva, sans-serif;
+	background-color:#ffffff; margin:0px;
+}
+
+code {
+    font-family: "Andale Mono", monospace; 
+}
+
+tt {
+    font-family: "Andale Mono", monospace; 
+}
+
+body, td, th { font-size: 11pt; }
+
+h1, h2, h3, h4 { margin-left: 0em; }
+
+textarea, pre, tt { font-size:10pt; }
+body, td, th { color:#000000; }
+small { font-size:0.85em; }
+h1 { font-size:1.5em; }
+h2 { font-size:1.25em; }
+h3 { font-size:1.15em; }
+h4 { font-size:1.06em; }
+
+a:link { font-weight:bold; color: #004080; text-decoration: none; }
+a:visited { font-weight:bold; color: #006699; text-decoration: none; }
+a:link:hover { text-decoration:underline; }
+hr { color:#cccccc }
+img { border-width: 0px; }
+
+
+h3 { padding-top: 1em; }
+
+p { margin-left: 1em; }
+
+p.name { 
+    font-family: "Andale Mono", monospace; 
+    padding-top: 1em;
+    margin-left: 0em; 
+}
+
+blockquote { margin-left: 3em; }
+
+.example {
+    background-color: rgb(245, 245, 245);
+    border-top-width: 1px;
+    border-right-width: 1px;
+    border-bottom-width: 1px;
+    border-left-width: 1px;
+    border-top-style: solid;
+    border-right-style: solid;
+    border-bottom-style: solid;
+    border-left-style: solid;
+    border-top-color: silver;
+    border-right-color: silver;
+    border-bottom-color: silver;
+    border-left-color: silver;
+    padding: 1em;
+    margin-left: 1em;
+    margin-right: 1em;
+    font-family: "Andale Mono", monospace; 
+    font-size: smaller;
+}
+
+
+hr { 
+    margin-left: 0em;
+	background: #00007f; 
+	border: 0px;
+	height: 1px;
+}
+
+ul { list-style-type: disc; }
+
+table.index { border: 1px #00007f; }
+table.index td { text-align: left; vertical-align: top; }
+table.index ul { padding-top: 0em; margin-top: 0em; }
+
+table {
+    border: 1px solid black;
+	border-collapse: collapse;
+    margin-left: auto;
+    margin-right: auto;
+}
+th {
+    border: 1px solid black;
+    padding: 0.5em;
+}
+td {
+    border: 1px solid black;
+    padding: 0.5em;
+}
+div.header, div.footer { margin-left: 0em; }
+
+#container
+{
+	margin-left: 1em;
+	margin-right: 1em;
+	background-color: #f0f0f0;
+}
+
+#product
+{
+	text-align: center;
+	border-bottom: 1px solid #cccccc;
+	background-color: #ffffff;
+}
+
+#product big {
+	font-size: 2em;
+}
+
+#product_logo
+{
+}
+
+#product_name
+{
+}
+
+#product_description
+{
+}
+
+#main
+{
+	background-color: #f0f0f0;
+	border-left: 2px solid #cccccc;
+}
+
+#navigation
+{
+	float: left;
+	width: 12em;
+	margin: 0;
+	vertical-align: top;
+	background-color: #f0f0f0;
+	overflow:visible;
+}
+
+#navigation h1 {
+	background-color:#e7e7e7;
+	font-size:1.1em;
+	color:#000000;
+	text-align:left;
+	margin:0px;
+	padding:0.2em;
+	border-top:1px solid #dddddd;
+	border-bottom:1px solid #dddddd;
+}
+
+#navigation ul
+{
+	font-size:1em;
+	list-style-type: none;
+	padding: 0;
+	margin: 1px;
+}
+
+#navigation li
+{
+	text-indent: -1em;
+	margin: 0em 0em 0em 0.5em;
+	display: block;
+	padding: 3px 0px 0px 12px;
+}
+
+#navigation li li a
+{
+	padding: 0px 3px 0px -1em;
+}
+
+#content
+{
+	margin-left: 12em;
+	padding: 1em;
+	border-left: 2px solid #cccccc;
+	border-right: 2px solid #cccccc;
+	background-color: #ffffff;
+}
+
+#about
+{
+	clear: both;
+	margin: 0;
+	padding: 5px;
+	border-top: 2px solid #cccccc;
+	background-color: #ffffff;
+}
+
+@media print {
+	body { 
+		font: 10pt "Times New Roman", "TimeNR", Times, serif;
+	}
+	a { font-weight:bold; color: #004080; text-decoration: underline; }
+	
+	#main	{		background-color: #ffffff;		border-left: 0px;	}	
+	#container	{		margin-left: 2%;		margin-right: 2%;		background-color: #ffffff;	}
+	
+	#content	{		margin-left: 0px;		padding: 1em;		border-left: 0px;		border-right: 0px;		background-color: #ffffff;	}
+	
+	#navigation	{		display: none;
+	}
+	
+	#product_logo
+	{
+		display: none;
+	}
+
+	#about img
+	{
+		display: none;
+	}
+
+	.example {
+		font-family: "Andale Mono", monospace; 
+		font-size: 8pt;
+		page-break-inside: avoid;
+	}
+}
--- a/doc/us/examples.html	Thu Apr 03 14:17:41 2014 +0100
+++ b/doc/us/examples.html	Thu Apr 03 14:30:36 2014 +0100
@@ -3,7 +3,7 @@
 <html>
 <head>
 	<title>LuaExpat: XML Expat parsing for the Lua programming language</title>
-    <link rel="stylesheet" href="http://www.keplerproject.org/doc.css" type="text/css"/>
+    <link rel="stylesheet" href="../doc.css" type="text/css"/>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
 </head>
 <body>
@@ -188,13 +188,6 @@
 
 </div> <!-- id="main" -->
 
-<div id="about">
-	<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
-	<p><small>
-	$Id: examples.html,v 1.5 2006/03/23 00:19:37 carregal Exp $
-	</small></p>
-</div> <!-- id="about" -->
-
 </div> <!-- id="container" -->
 
 </body>
--- a/doc/us/index.html	Thu Apr 03 14:17:41 2014 +0100
+++ b/doc/us/index.html	Thu Apr 03 14:30:36 2014 +0100
@@ -3,7 +3,7 @@
 <html>
 <head>
 	<title>LuaExpat: XML Expat parsing for the Lua programming language</title>
-    <link rel="stylesheet" href="http://www.keplerproject.org/doc.css" type="text/css"/>
+    <link rel="stylesheet" href="../doc.css" type="text/css"/>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
 </head>
 <body>
@@ -174,11 +174,6 @@
 
 </div> <!-- id="main" -->
 
-<div id="about">
-	<p><a href="http://validator.w3.org/check?uri=referer">
-    <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
-</div> <!-- id="about" -->
-
 </div> <!-- id="container" -->
 
 </body>
--- a/doc/us/license.html	Thu Apr 03 14:17:41 2014 +0100
+++ b/doc/us/license.html	Thu Apr 03 14:30:36 2014 +0100
@@ -3,7 +3,7 @@
 <html>
 <head>
 	<title>LuaExpat: XML Expat parsing for the Lua programming language</title>
-    <link rel="stylesheet" href="http://www.keplerproject.org/doc.css" type="text/css"/>
+    <link rel="stylesheet" href="../doc.css" type="text/css"/>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
 </head>
 <body>
@@ -107,13 +107,6 @@
 
 </div> <!-- id="main" -->
 
-<div id="about">
-	<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
-	<p><small>
-	$Id: license.html,v 1.9 2007/06/05 20:03:12 carregal Exp $
-	</small></p>
-</div> <!-- id="about" -->
-
 </div> <!-- id="container" -->
 
 </body>
--- a/doc/us/lom.html	Thu Apr 03 14:17:41 2014 +0100
+++ b/doc/us/lom.html	Thu Apr 03 14:30:36 2014 +0100
@@ -3,7 +3,7 @@
 <html>
 <head>
 	<title>LuaExpat: XML Expat parsing for the Lua programming language</title>
-    <link rel="stylesheet" href="http://www.keplerproject.org/doc.css" type="text/css"/>
+    <link rel="stylesheet" href="../doc.css" type="text/css"/>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
 </head>
 <body>
@@ -165,13 +165,6 @@
 
 </div> <!-- id="main" -->
 
-<div id="about">
-	<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
-	<p><small>
-	$Id: lom.html,v 1.6 2006/03/20 22:26:00 carregal Exp $
-	</small></p>
-</div> <!-- id="about" -->
-
 </div> <!-- id="container" -->
 
 </body>
--- a/doc/us/manual.html	Thu Apr 03 14:17:41 2014 +0100
+++ b/doc/us/manual.html	Thu Apr 03 14:30:36 2014 +0100
@@ -3,7 +3,7 @@
 <html>
 <head>
 	<title>LuaExpat: XML Expat parsing for the Lua programming language</title>
-    <link rel="stylesheet" href="http://www.keplerproject.org/doc.css" type="text/css"/>
+    <link rel="stylesheet" href="../doc.css" type="text/css"/>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
 </head>
 <body>
@@ -384,11 +384,6 @@
 
 </div> <!-- id="main" -->
 
-<div id="about">
-	<p><a href="http://validator.w3.org/check?uri=referer">
-    <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
-</div> <!-- id="about" -->
-
 </div> <!-- id="container" -->
 
 </body>

mercurial