header image

This commit is contained in:
mappu 2013-09-21 19:24:33 +12:00
parent 2ec4eadabe
commit 1968bb7ad9
3 changed files with 13 additions and 2 deletions

View File

@ -200,7 +200,7 @@ class CProject {
public function index() { public function index() {
?> ?>
<h2><a href="index.html"><?=hesc(SITE_TITLE)?></a> &gt; <?=hesc($this->projname)?></h2> <h2><?=hesc($this->projname)?></h2>
<div class="projinfo"> <div class="projinfo">
@ -257,6 +257,7 @@ function template($title, $content) {
<body> <body>
<div id="container"> <div id="container">
<div id="content"> <div id="content">
<a href="index.html"><div id="bannerlogo"></div></a>
<?=$content?> <?=$content?>
</div> </div>
</div> </div>
@ -335,7 +336,9 @@ function buildall() {
ob_start(); ob_start();
?> ?>
<h2><?=hesc(SITE_TITLE)?></h2> <p>
It's said that if you're not disgusted by code you wrote six months ago, you've stopped learning. Well, this is a repository of disgust.
</p>
<img src="overview.jpg" class="headimg"> <img src="overview.jpg" class="headimg">

BIN
static/header.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -83,6 +83,14 @@ html, body {
/* */ /* */
#bannerlogo {
width:631px;
height:35px;
margin:0 auto;
background: white url('header.png') no-repeat 0 0;
padding:8px;
}
.headimg { .headimg {
width:310px; width:310px;
height:62px; height:62px;