summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgamerdonkey2020-06-25 23:02:55 -0500
committergamerdonkey2020-06-25 23:02:55 -0500
commita2bd4a44153de2a04f1dbd7e21a17384634148c6 (patch)
treede67a04fb5fa43ff1c9a33763e12d52a11dd38c5
parentbc07ea46654b0368c6e17325f9cd445f29af761d (diff)
downloadgamerdonkey.com-blog-a2bd4a44153de2a04f1dbd7e21a17384634148c6.tar.gz
gamerdonkey.com-blog-a2bd4a44153de2a04f1dbd7e21a17384634148c6.tar.bz2
gamerdonkey.com-blog-a2bd4a44153de2a04f1dbd7e21a17384634148c6.zip
Making things look a little better on mobile.
-rw-r--r--themes/gamerdonkey-theme/static/css/style.css6
-rw-r--r--themes/gamerdonkey-theme/templates/base.html1
2 files changed, 7 insertions, 0 deletions
diff --git a/themes/gamerdonkey-theme/static/css/style.css b/themes/gamerdonkey-theme/static/css/style.css
index 0216b56..671df42 100644
--- a/themes/gamerdonkey-theme/static/css/style.css
+++ b/themes/gamerdonkey-theme/static/css/style.css
@@ -55,3 +55,9 @@ ol#post-list {
footer.post-info {
font-size: 0.8em;
}
+
+@media only screen and (max-width: 900px) {
+ body {
+ width: 87%;
+ }
+}
diff --git a/themes/gamerdonkey-theme/templates/base.html b/themes/gamerdonkey-theme/templates/base.html
index 98a24ec..c1eb7e8 100644
--- a/themes/gamerdonkey-theme/templates/base.html
+++ b/themes/gamerdonkey-theme/templates/base.html
@@ -2,6 +2,7 @@
{% block head %}
{{ super() }}
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/style.css" />
<link rel="shortcut icon" href="{{ SITEURL }}/images/favicon.ico?v=2" />
{% endblock %}