1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Add some style overrides to improve the credit styling on the beta site.

This commit is contained in:
Adam Harvey
2012-09-07 11:53:08 +08:00
parent d0a2af74c0
commit 025cd0e346
2 changed files with 30 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ $credits = str_replace(
// If there is something left, print it out
if ($credits) {
site_header("Credits", array("current" => "community"));
site_header("Credits", array("current" => "community", 'css' => array('credits.css')));
echo $credits;
site_footer();
}

29
styles/credits.css Normal file
View File

@@ -0,0 +1,29 @@
/* Overrides for the default phpcredits() styling in credits.php. */
h1 {
margin-bottom: 0.7em;
}
table {
border-bottom: solid 0.25em #669;
width: 100% !important;
}
table tr:last-child td, table tr:last-child th {
padding-bottom: 1.6em;
}
.h:first-child th {
color: #333;
font-size: 1.5em;
font-weight: normal;
line-height: 2em;
}
th {
text-align: left;
}
td:first-child, th:first-child {
width: 33%;
}