Commit:    dbffb163d5b2f13532d3e13bc5ba7e79b889bd36
Author:    Levi Morrison <le...@php.net>         Tue, 9 Jul 2013 17:14:08 -0600
Parents:   73c123f9345badded733b429e652ff4a3e464d95
Branches:  responsive

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=dbffb163d5b2f13532d3e13bc5ba7e79b889bd36

Log:
Function declarations now use box-shadows instead of borders. A few other 
adjustments as well.

Changed paths:
  M  styles/doc.css
  M  styles/theme.css


Diff:
diff --git a/styles/doc.css b/styles/doc.css
index ca70a0b..bd8d516 100755
--- a/styles/doc.css
+++ b/styles/doc.css
@@ -95,6 +95,8 @@ aside#quicktoc {
 .docs .refsect1 blockquote.note {
     margin-left:0;
     margin-right:0;
+    box-shadow:inset 0 1px 2px rgba(0,0,0,.25);
+    background-color:#d5d5dd;
 }
 
 .docs blockquote.note {
@@ -135,7 +137,7 @@ aside#quicktoc {
 .docs .refsect1.notes div.tip {
     background:#e8e8e8;
     border-top-color:#d8d8d8;
-    padding:.75em;
+    padding:.75em .625em;
 }
 .docs div.tip p {
     margin:0;
@@ -144,7 +146,7 @@ aside#quicktoc {
 .docs div.warning {
     background: #f2e5f4;
     margin: .75em 0;
-    padding: .75em;
+    padding: .75em .625em;
 }
 
 /* }}} */
@@ -178,13 +180,16 @@ aside#quicktoc {
 
 /* {{{ Examples (highlighting is in theme.css) */
 .docs .example-contents .phpcode code,
-.docs .refentry .methodsynopsis,
-.docs .example-contents.screen,
-.docs .refentry .methodsynopsis,
-.docs .refentry .constructorsynopsis {
-    border: 1px solid #ccc;
+.docs .example-contents.screen {
+    background-color: #fff;
+    padding: .75em .625em;
+    border:1px solid #ccc;
+}
+.docs .refsect1 .dc-description {
     background-color: #fff;
-    padding: .75em;
+    padding: .75em .625em;
+    box-shadow:inset 0 1px 2px 0 rgba(0,0,0,.25);
+
 }
 .docs .example-contents .phpcode code {
     padding: .75em 1em;
@@ -298,7 +303,7 @@ ul.chunklist_children {
     background-color: #eeeef6;
     -moz-border-radius:0 0 2px 2px;
     border-radius:0 0 2px 2px;
-    padding: .75em;
+    padding: .75em .625em;
 }
 
 .docs .classsynopsis {
diff --git a/styles/theme.css b/styles/theme.css
index b19a9c1..f538b0b 100755
--- a/styles/theme.css
+++ b/styles/theme.css
@@ -264,11 +264,14 @@ hr {
 /* Add a note buttons. */
 #usernotes .action {
     display: block;
-    top: 5em;
+    top: 1em;
     right: 0;
     position: absolute;
     text-align: right;
 }
+#usernotes:target .action {
+    top:4.5em;
+}
 
 #usernotes .foot {
     text-align: right;
@@ -550,11 +553,12 @@ aside.tips div.inner {
 }
 
 
+/*#layout .refsect1[id]:before,*/
 #layout *[id]:target:before {
     display:block;
     content:" ";
-    margin-top:-4em;
-    height:4em;
+    margin-top:-56px;
+    height:56px;
 }
 
 #search-results {
@@ -881,7 +885,7 @@ table.standard th.subr {
 }
 
 div.informalexample {
-    margin-bottom: .75em;
+    margin: .75em 0;
 }
 
 .count strong {


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to