From a6cc1bedbc414e2a3824d7a1b0afd79cfb3ddcc4 Mon Sep 17 00:00:00 2001 From: ivy <597055914@qq.com> Date: Sun, 14 Sep 2014 23:03:31 +0800 Subject: [PATCH] update many --- api.php | 11 +++++++++++ before.php | 20 -------------------- contact.php | 34 ++++++++++++++++++++++++++++++++++ header.php | 6 +++--- read.php | 4 +++- style.css | 34 +++++++++++++++++++++++++++++++--- 6 files changed, 82 insertions(+), 27 deletions(-) create mode 100644 api.php create mode 100644 contact.php diff --git a/api.php b/api.php new file mode 100644 index 0000000..3127ec8 --- /dev/null +++ b/api.php @@ -0,0 +1,11 @@ + + +
+
+
+ sdsdsd +
+
+
+ + \ No newline at end of file diff --git a/before.php b/before.php index 11517e8..5a776c7 100644 --- a/before.php +++ b/before.php @@ -162,26 +162,6 @@ function printDate($year,$mon){ '; } -/*for ($i=$startKey; $i < $endKey; $i++) { - $randmath=rand(0,19); - if($i<12){ - echo '
-

'.$totalMon[$i].'

-
'; - }else{ - //print_r($totalMon[$i]); - foreach ($totalMon[$i] as $keyInner => $valueInner) { - echo '
-

'.$valueInner.'

-
'; - //echo $keyInner." "; - if($keyInner==$endKey){ - break; - } - } - } -}*/ - ?>
diff --git a/contact.php b/contact.php new file mode 100644 index 0000000..2845f0e --- /dev/null +++ b/contact.php @@ -0,0 +1,34 @@ + + +
+
+
+
    +
  • Coding
  • +
  • Music
  • +
  • Lecture
  • +
+
+ + + +
+
    +
  • 纯粹爱好
  • +
  • 若有侵权
  • +
  • 敬请告知
  • +
+
+ +
+
+ + \ No newline at end of file diff --git a/header.php b/header.php index 9861af0..65a069f 100644 --- a/header.php +++ b/header.php @@ -15,9 +15,9 @@ -
+
\ No newline at end of file diff --git a/read.php b/read.php index c873413..433e507 100644 --- a/read.php +++ b/read.php @@ -29,7 +29,9 @@ '; ?> - + \ No newline at end of file diff --git a/style.css b/style.css index 0ae7d4e..0e4afe7 100644 --- a/style.css +++ b/style.css @@ -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; } @@ -191,4 +191,32 @@ body{background: rgb(192,222,237);} } .pageindex ul li:hover{ - background: rgb(52,152,219);cursor: pointer;} \ No newline at end of file + 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; +} \ No newline at end of file