Permalink
Browse files

make header layout more robust

  • Loading branch information...
jckarter committed Dec 12, 2011
1 parent 0c90f9b commit dfc7601c493ec3093864be4ecca497d78d74e850
Showing with 7 additions and 5 deletions.
  1. +7 −5 index.html
View
@@ -1,17 +1,19 @@
<!DOCTYPE html>
<style>
-body { background-color:#ebe3dc; font-family: Georgia, Verdana, Helvetica, Arial, sans-serif; font-size: 16pt; line-height: 21pt; }
-h1 { position: absolute; top: 10px; left: 47px; color:#555; font-family: Futura, Calibri, Trebuchet MS, Helvetica, Arial, sans-serif; line-height: 80px; margin: 0; }
-h1 img { vertical-align: middle; position: relative; top: -10px; margin-right: 8px; }
-div.body { background-color:#fff; margin: 78px 20px; padding: 20px; border: 1px solid black; -webkit-border-radius: 10px; -moz-border-radius: 10px; }
+body { background-color:#ebe3dc; font-family: Georgia, Verdana, Helvetica, Arial, sans-serif; font-size: 16pt; line-height: 21pt; margin: 0; padding: 0; }
+h1 { position: absolute; top: 2px; left: 102px; color:#555; font-family: Futura, Trebuchet MS, Verdana, Helvetica, Arial, sans-serif; font-size: 40pt; line-height: 80px; margin: 0; }
+img.logo { position: absolute; vertical-align: middle; top: 13px; left: 30px; margin-right: 8px; }
+div.body { background-color:#fff; margin: 76px 20px; padding: 20px; border: 1px solid black; -webkit-border-radius: 10px; -moz-border-radius: 10px; }
a:visited { color: #777; }
a:link { color: #202049; }
p { margin-top: 0; }
pre { margin: 10px; font-family: Consolas, Monaco, Lucida Console, Courier, Courier New, monospace; }
div.example { background-color: #eee; font-size: 14pt; float: right; border: 1px solid black; -webkit-border-radius: 10px; -moz-border-radius: 10px; }
</style>
<link rel="icon" href="clay-pigeon-icon.png">
-<h1><img src="clay-pigeon.png" width=64 height=64>clay</h1>
+
+<img class="logo" src="clay-pigeon.png" width=64 height=64>
+<h1>clay</h1>
<div class="body">
<div class="example"><pre>main() {
println("Hello world!");

0 comments on commit dfc7601

Please sign in to comment.