svn: /web/php/trunk/ include/shared-manual.inc styles/doc.css styles/theme.css
| From: | Hannes Magnusson | Date: | Mon, 27 Dec 2010 14:05:43 +0000 |
| Subject: | svn: /web/php/trunk/ include/shared-manual.inc styles/doc.css styles/theme.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-9882@lists.php.net to get a copy of this message | ||
bjori Mon, 27 Dec 2010 14:05:43 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=306750
Log:
- Make all h3.titles pretty
- Move User notes into its own section
Changed paths:
U web/php/trunk/include/shared-manual.inc
U web/php/trunk/styles/doc.css
U web/php/trunk/styles/theme.css
Modified: web/php/trunk/include/shared-manual.inc
===================================================================
--- web/php/trunk/include/shared-manual.inc 2010-12-27 13:50:05 UTC (rev 306749)
+++ web/php/trunk/include/shared-manual.inc 2010-12-27 14:05:43 UTC (rev 306750)
@@ -389,7 +389,7 @@
echo <<<END_USERNOTE_HEADER
-<div id="usernotes">
+<section id="usernotes">
<div class="head">
<span class="action">{$addnotesnippet}</span>
<h3 class="title">User Contributed Notes</h3>
@@ -414,8 +414,7 @@
echo "\n <div class=\"foot\">$addnotesnippet</div>\n";
}
- // End of #usernotes
- echo "</div>";
+ // #usernotes gets closed by the footer
}
// Get user notes from the appropriate text dump
function manual_notes_load($id)
@@ -535,9 +534,9 @@
function manual_header_beta(){}
function manual_footer_beta() {
+ echo "</section>";
manual_notes();
- echo "<br />";
site_footer();
}
Modified: web/php/trunk/styles/doc.css
===================================================================
--- web/php/trunk/styles/doc.css 2010-12-27 13:50:05 UTC (rev 306749)
+++ web/php/trunk/styles/doc.css 2010-12-27 14:05:43 UTC (rev 306750)
@@ -1,11 +1,3 @@
-.docs h3.title {
- font-size: 1.5em;
- border-top-style: solid;
- border-top-width: 3px;
- padding-top: 6px;
- margin-top: 2em;
-}
-
.docs i .parameter {
font-style: normal;
}
Modified: web/php/trunk/styles/theme.css
===================================================================
--- web/php/trunk/styles/theme.css 2010-12-27 13:50:05 UTC (rev 306749)
+++ web/php/trunk/styles/theme.css 2010-12-27 14:05:43 UTC (rev 306750)
@@ -27,6 +27,14 @@
h1 { font-size: 1.7em; line-height: 2.6em; }
h2 { font-size: 1.6em; line-height: 2.4em; }
h3 { font-size: 1.4em; line-height: 2.2em; }
+h3.title {
+ font-size: 1.5em;
+ border-top-style: solid;
+ border-top-width: 3px;
+ padding-top: 6px;
+ margin-top: 2em;
+}
+
h4 { font-size: 1.3em; line-height: 2.0em; }
h5 { font-size: 1.2em; line-height: 1.8em; }
h6 { font-size: 1.1em; line-height: 1.6em; }
@@ -190,6 +198,8 @@
* User notes
*/
#usernotes {
+ margin: 0 0 10px 175px;
+
background: #eee;
position: relative;
}