From 51ca3218d251eaaeb4574c6d9c38134974af980e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Perrin?= Date: Thu, 3 Nov 2016 19:04:19 +0000 Subject: [PATCH] Make it useable on smaller screens --- quotes/static/quotes/style.css | 3 ++- quotes/{tests.py => test_quotes.py} | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename quotes/{tests.py => test_quotes.py} (100%) diff --git a/quotes/static/quotes/style.css b/quotes/static/quotes/style.css index e496782..efd85c9 100644 --- a/quotes/static/quotes/style.css +++ b/quotes/static/quotes/style.css @@ -15,7 +15,8 @@ a:hover { border: 7px solid darkorange; border-radius: 15px; padding: 1.5em 2em; - margin: 2em 30em; + margin: 2em auto; + max-width: 500px; } .quote .author { diff --git a/quotes/tests.py b/quotes/test_quotes.py similarity index 100% rename from quotes/tests.py rename to quotes/test_quotes.py -- 2.43.0