Some branding.
authorCMDR furrycat <elite@furrycat.net>
Fri, 29 Jan 2016 15:17:25 +0000 (10:17 -0500)
committerCMDR furrycat <elite@furrycat.net>
Fri, 29 Jan 2016 15:17:25 +0000 (10:17 -0500)
images/logo.png [new file with mode: 0644]
lib/header.php
style.css

diff --git a/images/logo.png b/images/logo.png
new file mode 100644 (file)
index 0000000..0fe388b
Binary files /dev/null and b/images/logo.png differ
index eee2f0b..872be85 100644 (file)
@@ -1,14 +1,19 @@
 <head>
 <link rel="stylesheet" type="text/css" href="style.css">
+<link href='https://fonts.googleapis.com/css?family=Sintony:400,700' rel='stylesheet' type='text/css'>
+<link href='https://fonts.googleapis.com/css?family=Orbitron:500,700' rel='stylesheet' type='text/css'>
 <title><?php echo "Buckyball Racing Club"; if ($module) echo " - $module"; ?></title>
 </head>
 <body>
+<div id="header">
+<img src="images/logo.png" alt="Buckyball Racing Club" height=100 width=100>
 <?php
-  echo "<p>Buckyball Racing Club";
+  $links = array();
   foreach (array("competitor", "hull", "ship", "system", "station", "race", "raikogram", "entry", "timeline") as $what) {
     $title = preg_replace('/y$/', 'ie', $what);
-    echo " | <a href=\"?module=$what\">" . ucfirst($title) . "s</a>";
+    $links[] =  "<span class=\"menu\"><a href=\"?module=$what\">" . ucfirst($title) . "s</a></span>";
   }
-  echo "</p>\n";
+  echo implode(" // ", $links);
 ?>
+</div>
 <hr>
index 45d506f..47288a7 100644 (file)
--- a/style.css
+++ b/style.css
@@ -1,3 +1,9 @@
+body { font-family: 'Sintony'; font-weight: 400; }
+#header { clear: both; overflow: auto; vertical-align: center; }
+#header { font-weight: 500; }
+#header a { text-decoration: none; }
+#header, h1,h2,h3,h4 { font-family: 'Orbitron'; }
+#header strong { font-weight: 700; }
 #laps { overflow-x: auto; }
 #laps table { background-color: rgba(20, 50, 100, 0.2); }
 #laps th, #laps td { padding-left: 1em; }