Skip to content

Commit 025cd0e

Browse files
committed
Add some style overrides to improve the credit styling on the beta site.
1 parent d0a2af7 commit 025cd0e

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

credits.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
// If there is something left, print it out
2525
if ($credits) {
26-
site_header("Credits", array("current" => "community"));
26+
site_header("Credits", array("current" => "community", 'css' => array('credits.css')));
2727
echo $credits;
2828
site_footer();
2929
}

styles/credits.css

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/* Overrides for the default phpcredits() styling in credits.php. */
2+
3+
h1 {
4+
margin-bottom: 0.7em;
5+
}
6+
7+
table {
8+
border-bottom: solid 0.25em #669;
9+
width: 100% !important;
10+
}
11+
12+
table tr:last-child td, table tr:last-child th {
13+
padding-bottom: 1.6em;
14+
}
15+
16+
.h:first-child th {
17+
color: #333;
18+
font-size: 1.5em;
19+
font-weight: normal;
20+
line-height: 2em;
21+
}
22+
23+
th {
24+
text-align: left;
25+
}
26+
27+
td:first-child, th:first-child {
28+
width: 33%;
29+
}

0 commit comments

Comments
 (0)