header image
This commit is contained in:
parent
2ec4eadabe
commit
1968bb7ad9
@ -200,7 +200,7 @@ class CProject {
|
||||
|
||||
public function index() {
|
||||
?>
|
||||
<h2><a href="index.html"><?=hesc(SITE_TITLE)?></a> > <?=hesc($this->projname)?></h2>
|
||||
<h2><?=hesc($this->projname)?></h2>
|
||||
|
||||
<div class="projinfo">
|
||||
|
||||
@ -257,6 +257,7 @@ function template($title, $content) {
|
||||
<body>
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
<a href="index.html"><div id="bannerlogo"></div></a>
|
||||
<?=$content?>
|
||||
</div>
|
||||
</div>
|
||||
@ -335,7 +336,9 @@ function buildall() {
|
||||
|
||||
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">
|
||||
|
||||
|
BIN
static/header.png
Normal file
BIN
static/header.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
@ -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 {
|
||||
width:310px;
|
||||
height:62px;
|
||||
|
Reference in New Issue
Block a user