1
0
Fork 0

Style and template changes to provide header navigation.

This commit is contained in:
Andrew Tomaka 2011-11-07 23:22:35 -05:00
parent 8dcd74186b
commit af1b85e36f
2 changed files with 46 additions and 1 deletions

View file

@ -13,7 +13,13 @@
<body> <body>
<header> <header>
<h1>title or navigation or something</h1> <div id="title"><h1><a href="http://www.nca-guild.com">No Chicks Allowed</a></h1></div>
<div id="links">
<a href="/upload">Upload</a> |
<a href="/gallery">Gallery</a> |
<a href="/latest">Latest</a> |
<a href="/random">Random</a>
</div>
</header> </header>
<?php echo $contents; ?> <?php echo $contents; ?>

View file

@ -314,3 +314,42 @@ h1{
.pagination { .pagination {
text-align: center; text-align: center;
} }
/*-------------------------
Header Content
--------------------------*/
#title {
text-align: left;
width: 48%;
left: 0;
position: absolute;
margin-left: 10px;
}
#title h1 {
text-align: left;
padding: 3px;
}
#title h1 a {
color: #fff;
}
#links {
width: 48%;
right: 0;
text-align: right;
position: absolute;
padding: 3px;
font-weight: bold;
margin-right: 10px;
}
#links a {
color: #fff;
}