From 119e415a5e790707f57f2d783532b4ff342eab3c Mon Sep 17 00:00:00 2001 From: p4bl0 Date: Thu, 5 Sep 2013 12:05:05 +0200 Subject: mobile friendly default template --- default-files/fugitive.css | 8 ++++++++ default-files/top.html | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'default-files') diff --git a/default-files/fugitive.css b/default-files/fugitive.css index ebfe835..14bbc47 100644 --- a/default-files/fugitive.css +++ b/default-files/fugitive.css @@ -301,3 +301,11 @@ footer p a { text-decoration: none; } #container footer p a:hover, #container footer p a:active { color: #333; } +@media screen and (max-device-width:680px) and (orientation:portrait) { + #container { width: 94%; margin: 0 2%; padding: 0 1%; } + nav, #topnav { font-size: 0.7em; } + header { font-size: 0.6em; } +} +@media screen and (max-device-width:1024px) and (orientation:landscape) { + #container { width: 94%; margin: 0 2%; padding: 0 1%; } +} diff --git a/default-files/top.html b/default-files/top.html index e484084..5a2ea1b 100644 --- a/default-files/top.html +++ b/default-files/top.html @@ -2,9 +2,10 @@ <?fugitive-install name ?>'s blog: <?fugitive page_title ?> - + + -- cgit v1.2.3