diff options
author | Christopher Baines <mail@cbaines.net> | 2015-05-08 20:53:25 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2015-05-08 20:53:25 +0100 |
commit | 6f8e4758db4f78abc662fea3b258e3fe6e06c52b (patch) | |
tree | f0ac14ff19771d4744ad1f02af8f3aa1066d19ea | |
parent | 45fabf8c738ee329e9a73b382881f6961a313fc2 (diff) | |
download | cbaines.net-6f8e4758db4f78abc662fea3b258e3fe6e06c52b.tar cbaines.net-6f8e4758db4f78abc662fea3b258e3fe6e06c52b.tar.gz |
Improvement for mobile devices
-rw-r--r-- | style.css | 13 | ||||
-rw-r--r-- | templates/page.tmpl | 1 |
2 files changed, 12 insertions, 2 deletions
@@ -687,9 +687,18 @@ div.sidebar { padding-right: 10px; border: 0px; + font-size: 120%; } -#sidebar-text p { - text-align: center; +#sidebar-text { + display: none; +} +div.sidebar a { + text-align: center; + font-size: 130%; +} +div.sidebar span { + text-align: center; + font-size: 130%; } } diff --git a/templates/page.tmpl b/templates/page.tmpl index 0563246..52d7278 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -11,6 +11,7 @@ </TMPL_IF> </TMPL_IF> <TMPL_IF HTML5><meta charset="utf-8" /><TMPL_ELSE><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></TMPL_IF> +<meta name=viewport content="width=device-width, initial-scale=1"> <title><TMPL_VAR TITLE></title> <TMPL_IF FAVICON> <link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" /> |