summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/footer.xml16
-rw-r--r--includes/header-index.xml15
-rw-r--r--includes/header.xml13
-rw-r--r--includes/style.css42
4 files changed, 86 insertions, 0 deletions
diff --git a/includes/footer.xml b/includes/footer.xml
new file mode 100644
index 0000000..3e6c235
--- /dev/null
+++ b/includes/footer.xml
@@ -0,0 +1,16 @@
+<div id="footer">
+
+ <div id="moddate">
+ <p>Last updated: MODDATE</p>
+ </div>
+
+ <div id="copyright">
+ <p>The text on this website is licensed under the <a href="http://creativecommons.org/licenses/by-sa/3.0/" rel="license">Creative Commons Attribution-Share Alike 3.0 License</a>.</p>
+ <p>The code used to build this website is released under the <a href="http://www.fsf.org/licensing/licenses/agpl.html" rel="license">GNU Affero General Public License</a>. It is available in a <a href="http://git.njw.me.uk/cgit/cgit.cgi/njw-website/">git repository</a>.</p>
+ </div>
+
+</div>
+
+</body>
+
+</html>
diff --git a/includes/header-index.xml b/includes/header-index.xml
new file mode 100644
index 0000000..8f43c64
--- /dev/null
+++ b/includes/header-index.xml
@@ -0,0 +1,15 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
+ <title>TITLE</title>
+ <link rel="stylesheet" type="text/css" href="/includes/style" />
+ <link rel="icon" href="/graphics/candles.ico" />
+ <link rel="alternate" type="application/rdf+xml" href="/rss" />
+ <link rel="openid.server" href="http://certifi.ca/_serve" />
+ <link rel="openid.delegate" href="http://certifi.ca/njw" />
+</head>
+
+<body>
diff --git a/includes/header.xml b/includes/header.xml
new file mode 100644
index 0000000..8eae40c
--- /dev/null
+++ b/includes/header.xml
@@ -0,0 +1,13 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
+ <title>TITLE</title>
+ <link rel="stylesheet" type="text/css" href="/includes/style" />
+ <link rel="icon" href="/graphics/candles.ico" />
+ <link rel="alternate" type="application/rdf+xml" href="/rss" />
+</head>
+
+<body>
diff --git a/includes/style.css b/includes/style.css
new file mode 100644
index 0000000..3c1e38e
--- /dev/null
+++ b/includes/style.css
@@ -0,0 +1,42 @@
+/* See COPYING file for copyright, license and warranty details. */
+
+body {
+ font-family: sans-serif;
+ max-width: 75%;
+ margin: auto;
+}
+
+h1 {
+ text-align: center;
+ font-size: 1.6em;
+}
+
+h2 {
+ font-size: 1.2em;
+ font-weight: normal;
+ border-bottom: thin solid black;
+}
+
+a { text-decoration: none; }
+
+a:hover { color: #5555dd; }
+
+p a:hover { text-decoration: underline; }
+
+div#footer {
+ border-top: thin solid black;
+ margin: 6ex auto 1ex;
+ font-size: xx-small;
+}
+
+div#copyright {
+ border: thin solid #777;
+ background-image: url(/graphics/translucent.png);
+ padding: 0.4ex 1em;
+ margin: auto 2%;
+}
+
+div#copyright p {
+ margin-top: 0.2ex;
+ margin-bottom: 0.2ex;
+}