]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Home link over background image using an absolute positioned box with SEOed text...
authorTyler Mulligan <z@xonotic.org>
Thu, 30 Jun 2011 03:22:30 +0000 (23:22 -0400)
committerTyler Mulligan <z@xonotic.org>
Thu, 30 Jun 2011 03:22:30 +0000 (23:22 -0400)
xonstat/static/css/style.css
xonstat/templates/base.mako

index 27640efd340b8336cd3e0ba6b569c9271d0a0959..52f1b213252a58382d2f1b1ead1a9ce480b83822 100755 (executable)
@@ -130,7 +130,7 @@ input { font-family: 'Xolonium', 'Arial', 'Helvetica'; }
        text-align:center;
        height:25px;
        line-height:25px;
-       top:-48px;
+       top:-44px;
        color:#DCE9F5;
 }
 .window {
@@ -158,10 +158,23 @@ input { font-family: 'Xolonium', 'Arial', 'Helvetica'; }
     clear: both;
     text-align: center;
 }
-
+header {
+       height:0;
+}
+header a {
+       position:absolute;
+       top:20px;
+       left:180px;
+       display:block;
+       height:210px;
+       width:0;
+       padding-left:660px;
+       overflow:hidden;
+}
+header h2 { display:none; }
 /* Main Menu */
 #menu {
-       top: -40px;
+       top: -33px;
        left:-18px;
     width: 976px;
        list-style:none;
index 068e56174b497c91a294704f4471ad492e33dec1..4b539a375b6897669c72860cd0b7c58bdc2152f6 100755 (executable)
@@ -9,6 +9,10 @@
     </head>
     <body>
                <div id="container"> 
+                       <header>
+                               <a href="/"><h1>Xonotic Game Statistics</h1></a>
+                               <h2>Xonotic is a fast-paced open-source GPL first person shooter</h2>
+                       </header>
                        <div id="home" class="window"> 
                                <h1 id="title">Player Statistics for Xonotic</h1> 
                                <ul id="menu" class="nav clearfix">