Commit:    e81ef40f6f9d3115226cbd250f80ea53426e3e91
Author:    Levi Morrison <[email protected]>         Tue, 8 Apr 2014 22:19:06 -0600
Parents:   29d8d7bf7bbdf03e58cdf01aad080381eb487e7d
Branches:  master

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

Log:
Cleaned up warning, caution, note and a few other 'boxes'

Changed paths:
  M  styles/theme-base.css
  M  styles/theme-medium.css


Diff:
diff --git a/styles/theme-base.css b/styles/theme-base.css
index 817553c..356feaf 100755
--- a/styles/theme-base.css
+++ b/styles/theme-base.css
@@ -1212,22 +1212,20 @@ div.tip,
 div.warning,
 div.caution,
 blockquote.note {
-    border:1px solid;
-    padding:.375rem .5rem;
-    position:relative;
+    padding:.75rem;
     margin-top:.75rem;
     margin-bottom:.75rem;
 }
 
+div.caution strong.caution,
 div.warning strong.warning {
-    font-size: 1.5rem;
-    display:block;
-    text-align: center;
+  font-size: 1.25rem;
 }
 
 div.tip b.tip,
 div.tip strong.tip,
 div.caution b.caution,
+div.warning strong.warning,
 div.caution strong.caution {
     float: left;
     margin-right: 0.5rem;
@@ -1284,8 +1282,7 @@ div.tip p {
 
 .refsect1 .dc-description,
 .docs .sect1 .dc-description {
-    padding: .5rem .75rem .625rem;
-    border: 1px solid;
+    padding: .75rem;
     margin-bottom: .75rem;
 }
 
diff --git a/styles/theme-medium.css b/styles/theme-medium.css
index 6ff2900..86c36f7 100755
--- a/styles/theme-medium.css
+++ b/styles/theme-medium.css
@@ -143,6 +143,14 @@ div.warning {
   background:#F4DFDF;
   border-color: #EABFBF;
 }
+.refsect1 .dc-description,
+.docs .sect1 .dc-description,
+.refsect1 blockquote.note,
+div.caution,
+div.warning {
+  box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);
+  border-radius:0 0 2px 2px;
+}
 #flash-message .error a,
 div.warning a:link,
 div.warning a:visited,
@@ -158,18 +166,6 @@ div.warning a:focus {
   color:#693;
   border-color:#693;
 }
-div.tip:before,
-div.caution:before,
-blockquote.note:before,
-div.warning:before {
-  border-top: 1px solid rgba(255,255,255,0.5);
-  content:"";
-  display:block;
-  top:0;
-  left:0;
-  width:100%;
-  position:absolute;
-}
 /* }}} */


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

Reply via email to