svn: /web/php/trunk/ images/docs-warning.png styles/doc.css
| From: | Paul Dragoonis | Date: | Fri, 02 Sep 2011 14:40:39 +0000 |
| Subject: | svn: /web/php/trunk/ images/docs-warning.png styles/doc.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-12102@lists.php.net to get a copy of this message | ||
dragoonis Fri, 02 Sep 2011 14:40:39 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=316040
Log:
Styling the warnings section of the docs page. Resizable box and new warning icon. Credits to Wojak
Kupiec too.
Changed paths:
A web/php/trunk/images/docs-warning.png
U web/php/trunk/styles/doc.css
Added: web/php/trunk/images/docs-warning.png
===================================================================
(Binary files differ)
Property changes on: web/php/trunk/images/docs-warning.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: web/php/trunk/styles/doc.css
===================================================================
--- web/php/trunk/styles/doc.css 2011-09-02 13:53:41 UTC (rev 316039)
+++ web/php/trunk/styles/doc.css 2011-09-02 14:40:39 UTC (rev 316040)
@@ -38,9 +38,7 @@
/* }}} */
-
/* {{{ Warning and notes */
-.docs div.warning,
.docs div.caution,
.docs div.tip,
.docs blockquote.note {
@@ -56,22 +54,26 @@
border-top: 3px solid #434343;
background-color: #EFEFEF;
}
-.docs div.warning {
- border-top: 3px solid #ff4d4d;
- background-color: #EFEFEF;
-}
+
.docs div.caution {
border-top: 3px solid #F90;
background-color: #EFEFEF;
}
.docs blockquote.note,
-.docs div.warning,
.docs div.caution,
.docs div.tip {
font-size: 1em;
margin-right: 0.8em;
}
-.docs div.warning b.warning,
+.docs div.warning b.warning {
+ font-size: 1.7em;
+}
+
+.docs div.warning p {
+ padding-left: 60px;
+ text-align: justify;
+}
+
.docs div.caution b.caution,
.docs div.tip b.tip {
float: left;
@@ -83,6 +85,21 @@
.docs div.tip p {
margin: 0;
}
+
+.docs div.warning {
+ text-align: center;
+ background: #f2e5f4 url('/images/docs-warning.png') left center no-repeat;
+ margin: 20px 2% 20px 2%;
+ padding: 5px 15px 5px 19px;
+ border-top: 3px solid #9f8a8a;
+ border-bottom: 1px solid #9f8a8a;
+ min-height: 100px;
+ background-position: 16px;
+}
+
+.docs div.warning h1{
+ font-size: 1.4em;
+}
/* }}} */
.docs .refentry .methodsynopsis {
@@ -109,7 +126,6 @@
/* {{{ Examples (highlighting is in theme.css) */
.docs blockquote.note,
-.docs div.warning,
.docs div.caution,
.docs div.tip
.docs .cdata pre,
@@ -139,19 +155,19 @@
}
.docs .doctable tbody tr:nth-child(even) {
- background-color: #EFEFEF;
+ background-color: #EFEFEF;
}
.docs .doctable {
border-top: 1px solid #9F8A8A;
- border-bottom: 1px solid #9F8A8A;
+ border-bottom: 1px solid #9F8A8A;
width: 100%;
}
.docs .doctable th {
background-color: #FCFCFC;
text-align: center;
- border-bottom: 1px solid #9F8A8A;
+ border-bottom: 1px solid #9F8A8A;
}
.docs .doctable td, .docs .doctable th {
border-right: 1px solid #9F8A8A ;
@@ -300,8 +316,8 @@
.docs .layout-menu ul.child-menu-list a {
font-size: 13px;
border: 0;
- color: black;
- line-height: 1;
+ color: black;
+ line-height: 1;
overflow: visible;
margin: 0;
padding: 0;
@@ -322,6 +338,3 @@
.docs #layout .layout-content, .docs #layout #usernotes {
margin-left: 272px;
}
-
-
-