svn: /web/php/trunk/styles/ doc.css
| From: | Hannes Magnusson | Date: | Mon, 17 Oct 2011 19:19:06 +0000 |
| Subject: | svn: /web/php/trunk/styles/ doc.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-12410@lists.php.net to get a copy of this message | ||
bjori Mon, 17 Oct 2011 19:19:06 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=318171
Log:
Make tips and warnings consistent, with an tips icon
and go back to using the tango icons
Changed paths:
U web/php/trunk/styles/doc.css
Modified: web/php/trunk/styles/doc.css
===================================================================
--- web/php/trunk/styles/doc.css 2011-10-17 19:18:09 UTC (rev 318170)
+++ web/php/trunk/styles/doc.css 2011-10-17 19:19:06 UTC (rev 318171)
@@ -64,7 +64,6 @@
/* {{{ Warning and notes */
.docs div.caution,
-.docs div.tip,
.docs blockquote.note {
padding: 10px 20px;
margin: 1em 2em 1.3em;
@@ -84,22 +83,22 @@
background-color: #EFEFEF;
}
.docs blockquote.note,
-.docs div.caution,
-.docs div.tip {
+.docs div.caution {
font-size: 1em;
margin-right: 0.8em;
}
+.docs div.tip b.tip,
.docs div.warning b.warning {
font-size: 1.7em;
}
+.docs div.tip p,
.docs div.warning p {
padding-left: 60px;
text-align: justify;
}
-.docs div.caution b.caution,
-.docs div.tip b.tip {
+.docs div.caution b.caution {
float: left;
margin-right: 0.8em;
}
@@ -110,16 +109,22 @@
margin: 0;
}
+.docs div.tip,
.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;
+ padding: 5px 15px 5px 45px;
border-top: 3px solid #9f8a8a;
border-bottom: 1px solid #9f8a8a;
min-height: 100px;
background-position: 16px;
}
+.docs div.warning {
+ background: #f2e5f4 url('/images/dialog-warning.png') left center no-repeat;
+}
+.docs div.tip {
+ background: #efefef url('/images/dialog-information.png') left center no-repeat;
+}
.docs div.warning h1{
font-size: 1.4em;