From 504f2f7835103b2fb20d0b60daa5f913c79e1bb5 Mon Sep 17 00:00:00 2001 From: Dan Karran Date: Sun, 3 Apr 2011 16:08:21 +0100 Subject: [PATCH 1/1] Making more of the site smartphone friendly For example limiting field widths to 100%, extending other elements to full width, etc. --- public/stylesheets/small.css | 38 ++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/public/stylesheets/small.css b/public/stylesheets/small.css index 59a38bba4..a00434d59 100644 --- a/public/stylesheets/small.css +++ b/public/stylesheets/small.css @@ -22,7 +22,7 @@ h1 { { height: 14px; margin: 0px; - padding-left: 10px; + padding-left: 3px; padding-top: 5px; margin-top: 18px; background: url('../images/tab_bottom.gif') repeat-x bottom; @@ -46,7 +46,7 @@ h1 { display: block; position: absolute; top: 0; - margin: 3px; + margin: 2px; } #small-title img { @@ -131,3 +131,37 @@ h1 { width: 100%; max-width: 18em; } + +/* Rules for the profile page */ + +.user_map { + width: 100% !important; + height: 300px !important; +} + +/* Rules for the browse pages */ + +#browse_navigation { + width: 100% !important; + margin-top: 0 !important; +} + +#small_map, #browse_map { + width: 100% !important; +} + +/* Rules for the diary entries pages */ + +#diary_entry_title, #diary_entry_body, #diary_entry_language_code, #diary_comment_body { + width: 100% !important; +} + +#usemap { + display: block; +} + +/* Rules for the messaging pages */ + +#message_title, #message_body { + width: 100% !important; +} -- 2.43.2