Skip to content

Commit

Permalink
update a lot
Browse files Browse the repository at this point in the history
  • Loading branch information
leinue committed Sep 25, 2014
1 parent 27226ba commit b1fea5c
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 18 deletions.
14 changes: 10 additions & 4 deletions beta/before.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,19 @@
echo '</div>';

}else{
$dm=new dateMgr();
$allDate=$dm->getAllDate();

?>
<div class="body-content">
foreach ($allDate as $key => $value) {
echo ' <div class="body-content">
<div class="before-box">
<p><a href="before.php?av=20140215">20140215</a></p>
<p><a href="before.php?av='.$value.'">'.$value.'</a></p>
</div>
</div>
</div>';
}

?>

<?php
}

Expand Down
21 changes: 21 additions & 0 deletions beta/contact.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php require("header.php"); ?>

<div class="body-content">
<div class="contact-box">
<div class="contact-headline">关于我</div>
<div class="contact-content">
<div class="contact-detail" id="first-contact">Coding</div>
<div class="contact-detail">Music</div>
<div class="contact-detail">Lecture</div>
<div class="contact-detail">ACG</div>
<div class="contact-detail">Otaku</div>
<div class="contact-detail">中二</div>
<div class="contact-detail"><a href="http://t.qq.com/IvyStk" target="_blank">腾讯微博</a></div>
<div class="contact-detail"><a href="http://weibo.com/ivyppl" target="_blank">新浪微博</a></div>
<div class="contact-detail">政治不正确</div>
</div>
<div class="split-col"></div>
</div>
</div>

<?php require("footer.php"); ?>
7 changes: 4 additions & 3 deletions beta/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
<li class="menu-logo"><a href=""><img src="favicon.ico" alt="logo" /></a></li>
<li class="menu-active"><a href="index.php">日报首页</a></li>
<li><a href="before.php">过往消息</a></li>
<li><a href="">联系我</a></li>
<li><a href="">API</a></li>
<li><a href="">Codes</a></li>
<li><a href="contact.php">联系我</a></li>
<li><a href="api.php">API</a></li>
<li><a href="codes.php">Codes</a></li>
<li><a href="http://ivydom.com" target="_blank">ivydom</a></li>
</ul>
</div>
</div>
51 changes: 40 additions & 11 deletions beta/style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -191,17 +191,11 @@ body{
margin-right: 20px;
}

.read-main-content{
padding: 15px;
}
.read-main-content{padding: 15px;}

.read-footer{
padding: 15px;
}
.read-footer{padding: 15px;}

.read-footer span{
color: rgb(170,170,170);
}
.read-footer span{color: rgb(170,170,170);}

.read-footer span a{text-decoration: none;}

Expand Down Expand Up @@ -230,6 +224,41 @@ body{

.before-box p a{text-decoration: none;}

.before-box p a:hover{
text-decoration: underline;
.before-box p a:hover{text-decoration: underline;}

.contact-box{
width: 1010px;
height: 150px;
border:1px solid rgb(221,221,221);
background: rgb(255,255,255);
border-bottom: 1px solid rgb(221,221,221);
padding: 15px;
}

.contact-headline{
font-size: 26px;
text-align: center;
border-bottom: 1px solid rgb(221,221,221);
padding-bottom: 15px;
}

.contact-content{margin-top: 15px;}

.contact-detail{
float: left;
border: 1px solid rgb(221,221,221);
padding: 15px;
margin-right: 20px;
margin-bottom: 20px;
}

.contact-detail:hover{background: rgb(250,250,250);}

.contact-detail a{text-decoration: none;}

#first-contact{margin-left: 40px;}

.split-col{
margin-top: 85px;
border-bottom: 1px solid rgb(221,221,221);
}

0 comments on commit b1fea5c

Please sign in to comment.