Finish Main Page

This commit is contained in:
Willy Sudiarto Raharjo
2012-06-14 08:58:38 +07:00
parent 2dc8ce3e68
commit 986c9d2477
9 changed files with 163 additions and 221 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ date_default_timezone_set("Asia/Jakarta");
echo "<p>&copy; 2007-" . date("Y") . ". All right reserved.<br/>\n";
?>
Suggestions, critics, and comments can be sent to <a href="mailto:<?php echo EMAIL; ?>" class="footer">Willy Sudiarto Raharjo</a><br/>
<a href="http://validator.w3.org/check?uri=referer" class="footer">Valid HTML5</a> || <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://lecturer.ukdw.ac.id/willysr" class="footer">Valid CSS</a></p>
<a href="http://validator.w3.org/check?uri=referer" class="footer">Valid HTML5</a> || <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://lecturer.ukdw.ac.id/willysr" class="footer">Valid CSS3</a></p>
<script type="text/javascript">
var _gaq = _gaq || [];
+79 -10
View File
@@ -22,20 +22,25 @@ header[role="banner"] {
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: none;
color: #00F;
}
a:visited {
text-decoration: none;
color: #00F;
}
a:hover {
text-decoration: underline;
color: #00F;
}
a:active {
text-decoration: none;
color: #00F;
}
nav[role="navigation"] ul {
float: right;
@@ -43,8 +48,7 @@ nav[role="navigation"] ul {
margin: 0;
margin-top:60px;
margin-right: 10px;
color: #BBB;
color: #BBB;
}
nav[role="navigation"] li {
@@ -132,6 +136,7 @@ ul#socialbar li.twitter a:hover {
}
footer {
clear:both;
background: #AAA;
font-size:0.8rem;
text-align:center;
@@ -160,4 +165,68 @@ footer a:active {
#calendar {
width: 1024px;
margin: 0 auto;
}
section.news {
width: 80%;
}
section.news header {
text-align:center;
}
section.news article header h3 {
margin: 0;
}
section.news article header time {
font-size: 0.9rem;
}
section.news article p {
font-size: 1rem;
line-height: 1.5rem;
}
section.introduction {
width: 80%;
margin-top: -15px;
}
section.right {
float: right;
width: 20%;
margin-top: 5px;
margin-right: 10px;
}
section.quotes {
border: 3px solid #CCC;
border-left: 0;
border-right: 0;
margin: 0;
padding: 2px 0;
width: 100%;
text-align: right;
font-size: 1rem;
color: #777;
}
section.biography {
width: 100%;
margin-top: 10px;
padding-left: 10px;
}
section.biography header {
font-size: 1rem;
font-weight: bold;
text-align:center;
}
section.biography p {
font-size: 0.8rem;
text-align:justify;
margin-right: 10px;
line-height: 1.5rem;
}
+1 -1
View File
@@ -4,7 +4,7 @@
<li>|</li>
<li><a href="about.php">About</a></li>
<li>|</li>
<li><a href="schedule.html">Schedule</a></li>
<li><a href="schedule.php">Schedule</a></li>
<li>|</li>
<li><a href="courses.php">Courses</a></li>
<li>|</li>
+1 -3
View File
@@ -1,4 +1,3 @@
<div class="quotes">
<?php
$url = "http://feeds.feedburner.com/quotationspage/qotd";
if ($url)
@@ -13,5 +12,4 @@ if ($url)
$string = preg_replace("/\"/", "", $string);
echo trim($string) . "<br/>(" . $xml->channel->item[$x]->title . ")<br/>Source: <a href=\"http://www.quotationspage.com/\">QuotationsPage</a>";
}
?>
</div>
?>