]> gitweb.fperrin.net Git - djsite.git/commitdiff
Make it useable on smaller screens
authorFrédéric Perrin <frederic.perrin@resel.fr>
Thu, 3 Nov 2016 19:04:19 +0000 (19:04 +0000)
committerFrédéric Perrin <frederic.perrin@resel.fr>
Thu, 3 Nov 2016 19:04:19 +0000 (19:04 +0000)
quotes/static/quotes/style.css
quotes/test_quotes.py [moved from quotes/tests.py with 100% similarity]

index e49678241fcccf381491fd186e3b291c28bcbfae..efd85c9c2cd5c5fe1bc4f1d8a280ca7bdfdf4b71 100644 (file)
@@ -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 {
similarity index 100%
rename from quotes/tests.py
rename to quotes/test_quotes.py