1
0
mirror of synced 2025-01-06 00:57:10 +03:00

Updating css.

This commit is contained in:
Jonathan H. Wage 2011-02-20 11:12:51 -06:00
parent 654dbb1b10
commit c8c4c4ed46

View File

@ -306,6 +306,16 @@ p.admonition-title:after {
content: ":"; content: ":";
} }
pre {
padding: 5px;
background-color: #eeffcc;
color: #333333;
line-height: 120%;
border-left: none;
border-right: none;
margin-left: 30px;
}
tt { tt {
background-color: #ecf0f3; background-color: #ecf0f3;
padding: 0 1px 0 1px; padding: 0 1px 0 1px;
@ -408,6 +418,11 @@ div.caution
background: #fff url(http://www.doctrine-project.org/images/caution.png) no-repeat -5px -5px; background: #fff url(http://www.doctrine-project.org/images/caution.png) no-repeat -5px -5px;
} }
div.warning
{
background: #fff url(http://www.doctrine-project.org/images/caution.png) no-repeat -5px -5px;
}
div.tip div.tip
{ {
background: #fff url(http://www.doctrine-project.org/images/tip.png) no-repeat -5px -5px; background: #fff url(http://www.doctrine-project.org/images/tip.png) no-repeat -5px -5px;
@ -426,18 +441,14 @@ div.note {
padding: 5px 20px 5px 45px; padding: 5px 20px 5px 45px;
margin: 10px 0; margin: 10px 0;
background: #ffd url(http://www.doctrine-project.org/images/note.png) no-repeat 5px 10px; background: #ffd url(http://www.doctrine-project.org/images/note.png) no-repeat 5px 10px;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
} }
/* Caution */ /* Caution */
div.caution { div.caution, div.warning {
padding: 5px 20px 5px 45px; padding: 5px 20px 5px 45px;
margin: 10px 0; margin: 10px 0;
background: #ffd url(http://www.doctrine-project.org/images/caution.png) no-repeat 5px 10px; background: #ffd url(http://www.doctrine-project.org/images/caution.png) no-repeat 5px 10px;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
} }
/* Tip */ /* Tip */
@ -446,8 +457,6 @@ div.tip {
padding: 5px 20px 5px 45px; padding: 5px 20px 5px 45px;
margin: 10px 0; margin: 10px 0;
background: #ffd url(http://www.doctrine-project.org/images/tip.png) no-repeat 5px 10px; background: #ffd url(http://www.doctrine-project.org/images/tip.png) no-repeat 5px 10px;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
} }
/* Sidebar */ /* Sidebar */
@ -472,14 +481,15 @@ div.seealso p.title {
} }
/* Shared Styles */ /* Shared Styles */
div.note, div.caution, div.tip, div.seealso { div.note, div.caution, div.tip, div.seealso, div.warning {
overflow/**/: auto; overflow/**/: auto;
margin-left: 30px; margin-left: 30px;
font-weight: normal; font-weight: normal;
min-height: 40px; min-height: 40px;
border: 1px solid #ddd;
} }
div.note p, div.caution p, div.tip p, div.seealso p { div.note p, div.caution p, div.tip p, div.seealso p, div.warning p {
margin: 0 !important; margin: 0 !important;
padding: 0 !important; padding: 0 !important;
padding-top: 10px; padding-top: 10px;