From 215ddaea1041dab13e633fba8de9fafa9ea98b39 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 19 Jul 2013 20:39:49 -0400 Subject: [PATCH] Improve css for mobile version --- assets/css/app.css | 15 ++++++++++++++- templates/feeds.php | 4 ++-- templates/history.php | 7 ++++++- templates/show_item.php | 2 +- templates/unread_items.php | 4 +++- 5 files changed, 26 insertions(+), 6 deletions(-) diff --git a/assets/css/app.css b/assets/css/app.css index 81f5792..0f0de60 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -129,6 +129,8 @@ p code { form { padding-top: 5px; padding-bottom: 5px; + padding-left: 15px; + border-left: 2px dotted #ddd; } label { @@ -523,6 +525,10 @@ section li { /* mobile design */ @media only screen and (max-width: 480px) { + .hide-mobile { + display: none; + } + body { margin-left: 5px; margin-right: 5px; @@ -536,7 +542,6 @@ section li { .logo { display: block; float: none; - border-bottom: 1px dotted #ddd; } header { @@ -581,4 +586,12 @@ section li { font-size: 0.9em; padding: 0; } + + section li { + font-size: 0.85em; + } + + iframe { + max-width: 95%; + } } diff --git a/templates/feeds.php b/templates/feeds.php index e37e81a..cc03175 100644 --- a/templates/feeds.php +++ b/templates/feeds.php @@ -27,8 +27,8 @@

| - | - | + | + | |

diff --git a/templates/history.php b/templates/history.php index c2d2dfb..9c39398 100644 --- a/templates/history.php +++ b/templates/history.php @@ -26,10 +26,12 @@

| - | + | + | + | + | + + | - | + | diff --git a/templates/unread_items.php b/templates/unread_items.php index 6b07bd3..f3b4f8d 100644 --- a/templates/unread_items.php +++ b/templates/unread_items.php @@ -34,13 +34,15 @@

| - | + | + | | +