com web/php: Fixed some whitepspace craziness.: styles/doc.css
| From: | Levi Morrison | Date: | Mon, 31 Dec 2012 23:25:22 +0000 |
| Subject: | com web/php: Fixed some whitepspace craziness.: styles/doc.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-15191@lists.php.net to get a copy of this message | ||
Commit: 6ac5ac17f703fb9e11895702e399928040f51867
Author: Levi Morrison <levim@php.net> Mon, 31 Dec 2012 16:25:22 -0700
Parents: 0ed216e522c8b5d25448b4b380435d5eb16e5603
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=6ac5ac17f703fb9e11895702e399928040f51867
Log:
Fixed some whitepspace craziness.
Changed paths:
M styles/doc.css
Diff:
diff --git a/styles/doc.css b/styles/doc.css
index 63414fb..959f34e 100755
--- a/styles/doc.css
+++ b/styles/doc.css
@@ -93,8 +93,14 @@ aside#quicktoc {
/* {{{ Warning and notes */
.docs div.caution,
.docs blockquote.note {
- padding: 10px 20px;
- margin: 1em 2em 1.3em;
+ padding: .75em 1.5em;
+ margin: .75em 0;
+}
+
+.docs .refsect1 div.caution,
+.docs .refsect1 blockquote.note {
+ margin-left:0;
+ margin-right:0;
}
.docs blockquote.note {
@@ -150,8 +156,8 @@ aside#quicktoc {
.docs div.warning {
position: relative;
z-index:10;
- margin: 1.5em;
- padding: 1.5em 1.5em 1.5em 92px;
+ margin: 1.5em 0;
+ padding: 0 .75em .75em 92px;
min-height: 96px;
background-position: 16px;
}
@@ -216,10 +222,10 @@ aside#quicktoc {
..docs .refentry .constructorsynopsis {
border: 1px solid #ccc;
background-color: #fff;
- padding: 1.5em;
+ padding: .75em;
}
.docs .example-contents .phpcode code {
- padding:2em;
+ padding:1em;
}
.docs .phpcode code {
font-size:.923em;
@@ -320,7 +326,7 @@ ul.chunklist_children {
.docs div.refsect1 {
position: relative;
background-color: #f5f5f5;
- padding: 1.5em .75em;
+ padding: .75em;
}
.docs .classsynopsis:before,