Skip to content
Browse files

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

  • Loading branch information...
1 parent d0a2af7 commit 025cd0e34655a94e95682887eb0ec12306046d6b @LawnGnome LawnGnome committed Sep 7, 2012
Showing with 30 additions and 1 deletion.
  1. +1 −1 credits.php
  2. +29 −0 styles/credits.css
View
2 credits.php
@@ -23,7 +23,7 @@
// 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();
}
View
29 styles/credits.css
@@ -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%;
+}

0 comments on commit 025cd0e

Please sign in to comment.
Something went wrong with that request. Please try again.