Skip to content

Commit c8c4c4e

Browse files
committed
Updating css.
1 parent 654dbb1 commit c8c4c4e

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

en/_static/default.css

+19-9
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,16 @@ p.admonition-title:after {
306306
content: ":";
307307
}
308308

309+
pre {
310+
padding: 5px;
311+
background-color: #eeffcc;
312+
color: #333333;
313+
line-height: 120%;
314+
border-left: none;
315+
border-right: none;
316+
margin-left: 30px;
317+
}
318+
309319
tt {
310320
background-color: #ecf0f3;
311321
padding: 0 1px 0 1px;
@@ -408,6 +418,11 @@ div.caution
408418
background: #fff url(http://www.doctrine-project.org/images/caution.png) no-repeat -5px -5px;
409419
}
410420

421+
div.warning
422+
{
423+
background: #fff url(http://www.doctrine-project.org/images/caution.png) no-repeat -5px -5px;
424+
}
425+
411426
div.tip
412427
{
413428
background: #fff url(http://www.doctrine-project.org/images/tip.png) no-repeat -5px -5px;
@@ -426,18 +441,14 @@ div.note {
426441
padding: 5px 20px 5px 45px;
427442
margin: 10px 0;
428443
background: #ffd url(http://www.doctrine-project.org/images/note.png) no-repeat 5px 10px;
429-
border-top: 1px solid #ddd;
430-
border-bottom: 1px solid #ddd;
431444
}
432445

433446
/* Caution */
434447

435-
div.caution {
448+
div.caution, div.warning {
436449
padding: 5px 20px 5px 45px;
437450
margin: 10px 0;
438451
background: #ffd url(http://www.doctrine-project.org/images/caution.png) no-repeat 5px 10px;
439-
border-top: 1px solid #ddd;
440-
border-bottom: 1px solid #ddd;
441452
}
442453

443454
/* Tip */
@@ -446,8 +457,6 @@ div.tip {
446457
padding: 5px 20px 5px 45px;
447458
margin: 10px 0;
448459
background: #ffd url(http://www.doctrine-project.org/images/tip.png) no-repeat 5px 10px;
449-
border-top: 1px solid #ddd;
450-
border-bottom: 1px solid #ddd;
451460
}
452461

453462
/* Sidebar */
@@ -472,14 +481,15 @@ div.seealso p.title {
472481
}
473482

474483
/* Shared Styles */
475-
div.note, div.caution, div.tip, div.seealso {
484+
div.note, div.caution, div.tip, div.seealso, div.warning {
476485
overflow/**/: auto;
477486
margin-left: 30px;
478487
font-weight: normal;
479488
min-height: 40px;
489+
border: 1px solid #ddd;
480490
}
481491

482-
div.note p, div.caution p, div.tip p, div.seealso p {
492+
div.note p, div.caution p, div.tip p, div.seealso p, div.warning p {
483493
margin: 0 !important;
484494
padding: 0 !important;
485495
padding-top: 10px;

0 commit comments

Comments
 (0)