Skip to content

Commit

Permalink
update many
Browse files Browse the repository at this point in the history
  • Loading branch information
leinue committed Sep 14, 2014
1 parent a1ccab6 commit a6cc1be
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 27 deletions.
11 changes: 11 additions & 0 deletions api.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php require('header.php');?>

<div class="zhihu-body">
<div class="api-main-panel">
<div class="api-main-text">
sdsdsd
</div>
</div>
</div>

<?php require('footer.php'); ?>
20 changes: 0 additions & 20 deletions before.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,26 +162,6 @@ function printDate($year,$mon){
</div></a>';
}

/*for ($i=$startKey; $i < $endKey; $i++) {
$randmath=rand(0,19);
if($i<12){
echo '<a href=""><div class="main-news-panel-before" style="background: '.$rgbValue[$randmath].'">
<p>'.$totalMon[$i].'</p>
</div></a>';
}else{
//print_r($totalMon[$i]);
foreach ($totalMon[$i] as $keyInner => $valueInner) {
echo '<a href=""><div class="main-news-panel-before" style="background: '.$rgbValue[$keyInner].'">
<p>'.$valueInner.'</p>
</div></a>';
//echo $keyInner." ";
if($keyInner==$endKey){
break;
}
}
}
}*/

?>

<div class="pageindex">
Expand Down
34 changes: 34 additions & 0 deletions contact.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?php
require('header.php');
?>

<div class="zhihu-body">
<div class="contact-main-panel">
<div class="hobby-card">
<ul>
<li>Coding</li>
<li>Music</li>
<li>Lecture</li>
</ul>
</div>

<div class="info-card">
<ul class="basic-info">
<a href="http://ivydom.com"><li>ivydom</li></a>
<a href=""><li>sina weibo</li></a>
<a href=""><li>tencent weibo</li></a>
</ul>
</div>

<div class="info-card">
<ul class="basic-info">
<li>纯粹爱好</li>
<li>若有侵权</li>
<li>敬请告知</li>
</ul>
</div>

</div>
</div>

<?php require('footer.php'); ?>
6 changes: 3 additions & 3 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<ul class="zhihu-heading-menu">
<a href="index.php"><li class="menu-active"><p>直呼日报</p></li></a>
<a href="before.php"><li><p>过往消息</p></li></a>
<a href="index.php"><li><p>联系作者</p></li></a>
<a href="index.php"><li><p>API</p></li></a>
<a href="contact.php"><li><p>联系作者</p></li></a>
<a href="api.php"><li><p>API</p></li></a>
</ul>
<div class="zhihu-heading-model"></div>
<div class="zhihu-heading-model" id="zhihu-model"></div>
</div>
4 changes: 3 additions & 1 deletion read.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
</div>';

?>

<script>
document.getElementById('zhihu-model').style.display="none";
</script>
<?php
require('footer.php');
?>
34 changes: 31 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,14 @@ body{background: rgb(192,222,237);}
margin:0 auto;
padding: 10px;
width: 1000px;
margin-top: 700px;
margin-top: 200px;
text-align: center;
}

.footer span{color: #2980b9;}

.main-wrap{
width: 1000px;
width:1000px;
margin: 0 auto;
margin-top: 5px;
}
Expand Down Expand Up @@ -191,4 +191,32 @@ body{background: rgb(192,222,237);}
}

.pageindex ul li:hover{
background: rgb(52,152,219);cursor: pointer;}
background: rgb(52,152,219);cursor: pointer;}

.contact-main-panel,.api-main-panel{
background: #ecf0f1;
width: 978px;
border-bottom: 6px solid rgb(103,176,209);
}

.contact-main-panel{height: 300px;}

.hobby-card,.info-card{width: 978px;float: left;}

.contact-main-panel ul{list-style: none;}

.contact-main-panel ul li{
float: left;
margin-right: 10px;
margin-top: 25px;
color: rgb(85,85,85);
}

.contact-main-panel ul li:hover{color: rgb(153,153,153);}

.basic-info li{font-size: 30px;}

.api-main-text{
margin-top: 15px;
margin-left: 15px;
}

0 comments on commit a6cc1be

Please sign in to comment.