diff --git a/django/views/csrf.py b/django/views/csrf.py index 0689df84e4..b1c8d25235 100644 --- a/django/views/csrf.py +++ b/django/views/csrf.py @@ -23,7 +23,7 @@ CSRF_FAILURE_TEMPLATE = """ html * { padding:0; margin:0; } body * { padding:10px 20px; } body * * { padding:0; } - body { font:small sans-serif; background:#eee; } + body { font:small sans-serif; background:#eee; color:#000; } body>div { border-bottom:1px solid #ddd; } h1 { font-weight:normal; margin-bottom:.4em; } h1 span { font-size:60%; color:#666; font-weight:normal; } diff --git a/django/views/templates/technical_404.html b/django/views/templates/technical_404.html index 0bf5fd3cd0..bc0858bba2 100644 --- a/django/views/templates/technical_404.html +++ b/django/views/templates/technical_404.html @@ -8,7 +8,7 @@ html * { padding:0; margin:0; } body * { padding:10px 20px; } body * * { padding:0; } - body { font:small sans-serif; background:#eee; } + body { font:small sans-serif; background:#eee; color:#000; } body>div { border-bottom:1px solid #ddd; } h1 { font-weight:normal; margin-bottom:.4em; } h1 span { font-size:60%; color:#666; font-weight:normal; }