summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2010-05-18 23:35:14 +0100
committerNick White <git@njw.me.uk>2010-05-18 23:35:14 +0100
commit7ae19be04750177998cf47e71ed8b17891f212b9 (patch)
treec16531287bded71229259688df97f0ea2f099ceb /includes
parent1c3f9a9a78946d5c04139548cd10b704c012a9d4 (diff)
downloadnjw-website-7ae19be04750177998cf47e71ed8b17891f212b9.tar.bz2
njw-website-7ae19be04750177998cf47e71ed8b17891f212b9.zip
Improve head link tags, and add exciting new style
Diffstat (limited to 'includes')
-rw-r--r--includes/header.xml6
-rw-r--r--includes/style.css19
2 files changed, 18 insertions, 7 deletions
diff --git a/includes/header.xml b/includes/header.xml
index b431a1c..f770dd7 100644
--- a/includes/header.xml
+++ b/includes/header.xml
@@ -3,9 +3,9 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>TITLE</title>
-<link rel="stylesheet" type="text/css" href="/includes/style" />
-<link rel="alternate" title="RSS" type="text/turtle" href="/index.ttl" />
-<link rel="meta" title="FOAF" type="text/turtle" href="/card#i" />
+<link rel="stylesheet" href="/includes/style" />
+<link rel="meta" title="rdf" href="/index.ttl" />
+<link rel="index" href="index" />
<link rel="copyright" href="/COPYING" />
</head>
<body>
diff --git a/includes/style.css b/includes/style.css
index 1ba710b..4f5b307 100644
--- a/includes/style.css
+++ b/includes/style.css
@@ -1,10 +1,21 @@
/* See COPYING file for copyright, license and warranty details. */
body { width: 38em; margin: auto; }
-@media screen { body { font-family: sans-serif; max-width: 85%; }
h1 { text-align: center; font-size: 1.6em; }
-h2 { font-size: 1.2em; font-weight: normal; border-bottom: thin solid black; }
+h2 { font-size: 1.2em; font-weight: normal; border-bottom-width: thin; border-bottom-style: solid; }
h3 { font-size: 1.1em; font-weight: normal; text-align: center; }
-a { text-decoration: none; }
-div#footer { border-top: thin solid black; margin-top: 6ex; font-size: xx-small; }
p { text-align: justify; }
+div#footer { margin-top: 6ex; font-size: xx-small; border-top-width: thin; border-top-style: solid; }
+@media screen {
+ body { font-family: sans-serif; max-width: 94%; }
+ a { text-decoration: none; }
+}
+
+@media screen {
+ body { background-color: black; color: white; margin-left: 3%; }
+ h1 { color: white; }
+ h2 { border-bottom-color: white; color: #ff44cc; }
+ a { border-bottom: thin dotted white; color: #ff44cc; }
+ p, li { line-height: 1.3; }
+ div#footer { border-top-color: white; }
+}