Commit c1383cb4 authored by Jonathan H. Wage's avatar Jonathan H. Wage

Updating css.

parent 63918e2e
...@@ -306,6 +306,16 @@ p.admonition-title:after { ...@@ -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 ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment