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:
@@ -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
29
styles/credits.css
Normal 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%;
|
||||
}
|
||||
Reference in New Issue
Block a user