From cfecac27dedc27b5e7f098273787994f49d40037 Mon Sep 17 00:00:00 2001 From: erosselli <67162025+erosselli@users.noreply.github.com> Date: Tue, 20 Feb 2024 21:08:18 -0300 Subject: [PATCH] Fixed #35140 -- Increased font size in debug views. --- django/views/templates/csrf_403.html | 2 +- django/views/templates/technical_404.html | 2 +- django/views/templates/technical_500.html | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/django/views/templates/csrf_403.html b/django/views/templates/csrf_403.html index 85df032b12..42fea9911b 100644 --- a/django/views/templates/csrf_403.html +++ b/django/views/templates/csrf_403.html @@ -8,7 +8,7 @@ html * { padding:0; margin:0; } body * { padding:10px 20px; } body * * { padding:0; } - body { font:small sans-serif; background:#eee; color:#000; } + body { font-family: 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 5c844b9279..f8d4e92c08 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; color:#000; } + body { font-family: sans-serif; background:#eee; color:#000; } body > :where(header, main, footer) { border-bottom:1px solid #ddd; } h1 { font-weight:normal; margin-bottom:.4em; } h1 small { font-size:60%; color:#666; font-weight:normal; } diff --git a/django/views/templates/technical_500.html b/django/views/templates/technical_500.html index 940beeeb85..31f0dfe1b9 100644 --- a/django/views/templates/technical_500.html +++ b/django/views/templates/technical_500.html @@ -9,7 +9,7 @@ html * { padding:0; margin:0; } body * { padding:10px 20px; } body * * { padding:0; } - body { font:small sans-serif; background-color:#fff; color:#000; } + body { font-family: sans-serif; background-color:#fff; color:#000; } body > :where(header, main, footer) { border-bottom:1px solid #ddd; } h1 { font-weight:normal; } h2 { margin-bottom:.8em; } @@ -21,7 +21,7 @@ tbody td, tbody th { vertical-align:top; padding:2px 3px; } thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; - font-weight:normal; font-size:11px; border:1px solid #ddd; + font-weight:normal; font-size: 0.6875rem; border:1px solid #ddd; } tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; } table.vars { margin:5px 10px 2px 40px; width: auto; } @@ -61,9 +61,9 @@ #requestinfo h3 { margin-bottom:-1em; } .error { background: #ffc; } .specific { color:#cc3300; font-weight:bold; } - h2 span.commands { font-size:.7em; font-weight:normal; } + h2 span.commands { font-size: 0.7rem; font-weight:normal; } span.commands a:link {color:#5E5694;} - pre.exception_value { font-family: sans-serif; color: #575757; font-size: 1.5em; margin: 10px 0 10px 0; } + pre.exception_value { font-family: sans-serif; color: #575757; font-size: 1.5rem; margin: 10px 0 10px 0; } .append-bottom { margin-bottom: 10px; } .fname { user-select: all; }