# HG changeset patch # User Tero Marttila # Date 1377037895 -10800 # Node ID bb851151e9562fdebba218725e412ef8fbcc9e9c # Parent 6f35a169ef01638c71517722946cedfc948dfb95 fixup HTML/CSS for title footer + width-based CSS diff -r 6f35a169ef01 -r bb851151e956 qrurls/static/qrurls/qrurls.css --- a/qrurls/static/qrurls/qrurls.css Wed Aug 21 01:18:22 2013 +0300 +++ b/qrurls/static/qrurls/qrurls.css Wed Aug 21 01:31:35 2013 +0300 @@ -25,14 +25,29 @@ } body.qrurls-image .container { + /* Provide relative width for img within */ width: 100%; height: 100%; } body.qrurls-image img { border: none; - max-width: 100%; - max-height: 100%; margin: auto; display: block; + + /* Scale for portait-mode */ + max-width: 100%; } + +div.footer { + margin: 1em; + padding: 1em; + + border-radius: 1em; + background-color: #080808; + opacity: 1.0; + + text-align: center; + color: #ff8800; + font-weight: bold; +} diff -r 6f35a169ef01 -r bb851151e956 qrurls/templates/qrurls/image.html --- a/qrurls/templates/qrurls/image.html Wed Aug 21 01:18:22 2013 +0300 +++ b/qrurls/templates/qrurls/image.html Wed Aug 21 01:31:35 2013 +0300 @@ -6,7 +6,10 @@
- {{ title }} + +