From 3587991ba8d223fe9fe4d54a094b82dbc9c27bc2 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 20 Nov 2012 16:14:20 -0500 Subject: [PATCH] Fixed #19317 - Added an image for warning blocks in the docs Thanks tome for the suggestion and patch. --- docs/_theme/djangodocs/static/djangodocs.css | 5 +++-- .../_theme/djangodocs/static/docicons-warning.png | Bin 0 -> 782 bytes 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 docs/_theme/djangodocs/static/docicons-warning.png diff --git a/docs/_theme/djangodocs/static/djangodocs.css b/docs/_theme/djangodocs/static/djangodocs.css index 4adb8387cc..4efb7e04f3 100644 --- a/docs/_theme/djangodocs/static/djangodocs.css +++ b/docs/_theme/djangodocs/static/djangodocs.css @@ -1,7 +1,7 @@ /*** setup ***/ html { background:#092e20;} body { font:12px/1.5 Verdana,sans-serif; background:#092e20; color: white;} -#custom-doc { width:76.54em;*width:74.69em;min-width:995px; max-width:100em; margin:auto; text-align:left; padding-top:16px; margin-top:0;} +#custom-doc { width:76.54em;*width:74.69em;min-width:995px; max-width:100em; margin:auto; text-align:left; padding-top:16px; margin-top:0;} #hd { padding: 4px 0 12px 0; } #bd { background:#234F32; } #ft { color:#487858; font-size:90%; padding-bottom: 2em; } @@ -54,7 +54,7 @@ hr { color:#ccc; background-color:#ccc; height:1px; border:0; } p, ul, dl { margin-top:.6em; margin-bottom:1em; padding-bottom: 0.1em;} #yui-main div.yui-b img { max-width: 50em; margin-left: auto; margin-right: auto; display: block; } caption { font-size:1em; font-weight:bold; margin-top:0.5em; margin-bottom:0.5em; margin-left: 2px; text-align: center; } -blockquote { padding: 0 1em; margin: 1em 0; font:125%/1.2em "Trebuchet MS", sans-serif; color:#234f32; border-left:2px solid #94da3a; } +blockquote { padding: 0 1em; margin: 1em 0; font:125%/1.2em "Trebuchet MS", sans-serif; color:#234f32; border-left:2px solid #94da3a; } strong { font-weight: bold; } em { font-style: italic; } ins { font-weight: bold; text-decoration: none; } @@ -111,6 +111,7 @@ dt .literal, table .literal { background:none; } .note, .admonition { padding-left:65px; background:url(docicons-note.png) .8em .8em no-repeat;} div.admonition-philosophy { padding-left:65px; background:url(docicons-philosophy.png) .8em .8em no-repeat;} div.admonition-behind-the-scenes { padding-left:65px; background:url(docicons-behindscenes.png) .8em .8em no-repeat;} +.admonition.warning { background:url(docicons-warning.png) .8em .8em no-repeat; border:1px solid #ffc83c;} /*** versoinadded/changes ***/ div.versionadded, div.versionchanged { } diff --git a/docs/_theme/djangodocs/static/docicons-warning.png b/docs/_theme/djangodocs/static/docicons-warning.png new file mode 100644 index 0000000000000000000000000000000000000000..031b3e782a8c2a481fd56b7224219928e9efab2f GIT binary patch literal 782 zcmV+p1M&QcP);L9&<{(0?BTyN^z_ZbPbU(Ed8oV>t zkB+yoNB{VOt}|?h+M{-r!5_TnL`N1ns_;P9y@`rwpZu`Gmy&UO#lMt5*F6OJL4Pdp zPGZ?@Z~wMu!QLEeX#1a@xql1f*EjrDqDj0)54|=u9D&=d%@7-nO3grbpFc#s%m+(w zc!u`~PB!_p8}j))H2Pazc@JxEA9|h8mN$6EO!*nFYT(5@NV$U-lha>BQ3o#~QT%dv z3R3~1iZb|rQRqS#4Lr_6gO`l|iz{d4M#GB``hO*^fu|)u*aD-z=fwkTpNB6dhB$JS zP~eG^c+cP|yJJ||!+{r*cfAJQXIgu0@W?CRX=A{YRD}jlhTPQaOIpGsci`B5jqn*m z>@9VKM{XK6N1FEhkx|{{>)7+jW1}ihXbFF!dCyk`Aq~g8d8mD~$> zK)GCQ7%FYshFCPBK(}E~%#^}ksh9=SDwV;z(kcV0#OmPXg$7oAUJblgecoqfgdg5- zWu$fpxts&NU2R}l7UXg{sio6t7EP=_Kc4rS7o%$fn^X$|I30bwLK7_DUJ@rA?F`fGO3m2ABSjqQ