mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Cleaned up warning, caution, note and a few other 'boxes'
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user