Permalink
Browse files

Move the changelog styling to a separate stylesheet and include it, s…

…ince it

was conflicting with manual page styles.
  • Loading branch information...
1 parent ae87485 commit 3cb75c86e8ccabdad1b9e405c894c4131e24105a @LawnGnome LawnGnome committed Sep 7, 2012
Showing with 30 additions and 31 deletions.
  1. +1 −1 ChangeLog-4.php
  2. +1 −1 ChangeLog-5.php
  3. +28 −0 styles/changelog.css
  4. +0 −29 styles/theme.css
View
@@ -2,7 +2,7 @@
// $Id$
$_SERVER['BASE_PAGE'] = 'ChangeLog-4.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
-site_header("PHP 4 ChangeLog", array("current" => "changelog"));
+site_header("PHP 4 ChangeLog", array("current" => "docs", 'css' => array('changelog.css')));
function bugfix($number) { echo "Fixed bug "; bugl($number); }
function bugl($number) { echo "<a href=\"http://bugs.php.net/$number\">#$number</a>"; }
?>
View
@@ -2,7 +2,7 @@
// $Id$
$_SERVER['BASE_PAGE'] = 'ChangeLog-5.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
-site_header("PHP 5 ChangeLog", array("current" => "changelog"));
+site_header("PHP 5 ChangeLog", array("current" => "docs", 'css' => array('changelog.css')));
function bugfix($number) { echo "Fixed bug "; bugl($number); }
function bugl($number) { echo "<a href=\"http://bugs.php.net/$number\">#$number</a>"; }
function peclbugfix($number) { echo "Fixed PECL bug "; bugl($number); }
View
@@ -0,0 +1,28 @@
+/* Changelog pages. */
+h3 {
+ /* Fake the <hr> above headings that we used to have before rejigging the
+ * NEWS format. */
+ border-top: solid 0.2em #99C;
+ line-height: 2em;
+ margin-top: 1.5em;
+ padding-top: 1.25em;
+}
+
+hr + a[name] + h3 {
+ /* Remove the fake <hr> border if we actually have a <hr>. */
+ border-top: 0;
+ margin-top: 0;
+ padding-top: 0;
+}
+
+b {
+ /* Not entirely clear how <b> became the enclosing element for dates, but
+ * whatever. We'll use the same styling as dates in the news archive,
+ * except without the dotted border (since they're not actual <abbr>
+ * elements). */
+ color: #666;
+ display: inline-block;
+ font-size: 0.75em;
+ font-weight: normal;
+ line-height: 2;
+}
View
@@ -791,32 +791,3 @@ table.standard th.subr {
margin: 0 auto;
clear:both;
}
-
-/* Changelog pages. */
-.changelog h3 {
- /* Fake the <hr> above headings that we used to have before rejigging the
- * NEWS format. */
- border-top: solid 0.2em #99C;
- line-height: 2em;
- margin-top: 1.5em;
- padding-top: 1.25em;
-}
-
-.changelog hr + a[name] + h3 {
- /* Remove the fake <hr> border if we actually have a <hr>. */
- border-top: 0;
- margin-top: 0;
- padding-top: 0;
-}
-
-.changelog b {
- /* Not entirely clear how <b> became the enclosing element for dates, but
- * whatever. We'll use the same styling as dates in the news archive,
- * except without the dotted border (since they're not actual <abbr>
- * elements). */
- color: #666;
- display: inline-block;
- font-size: 0.75em;
- font-weight: normal;
- line-height: 2;
-}

0 comments on commit 3cb75c8

Please sign in to comment.