X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/498832eb372d260cc12ac7037ef278a4652d34bc..52dd2582484bb9746e0ffd3c5b72c56e2f33050e:/public/stylesheets/site-sml.css diff --git a/public/stylesheets/site-sml.css b/public/stylesheets/site-sml.css index e3f371594..4f49100e9 100644 --- a/public/stylesheets/site-sml.css +++ b/public/stylesheets/site-sml.css @@ -1,65 +1,148 @@ +/* styles specific to a small-format screen, such as iPhone, Android, etc... */ + body { - font-family: Arial,sans-serif; + font-size: 12px; +} +h1 { + font-size: 14px; +} + +#logo { + width: 100px; + min-width: 100px; + padding: 10px; + margin: 10px; + margin-top: 10px; + height: 70px; + background: #fff; + border: 1px solid #ccd; +} +#logo h1 { + font-size: 11px; + text-align: center; + margin: 0px; +} +#logo h2 { + font-size: 8px; + margin: 0px; +} +#logo-img { + display: none; +} + +#tabnav +{ + height: 14px; + margin: 0px; + padding-left: 10px; + padding-top: 5px; + margin-top: 18px; + background: url('../images/tab_bottom.gif') repeat-x bottom; + font-size: 10px; + line-height: 10px; +} +#tabnav li +{ + margin: 0px; + padding: 0px; + display: inline; + list-style-type: none; +} +#tabnav a, #tabnav a:link, #tabnav a:visited +{ + float: left; + background: #f3f3f3; + font-size: 10px; + line-height: 10px; + font-weight: bold; + padding: 1px 5px; + margin-right: 1px; + border: 1px solid #ccc; + text-decoration: none; + color: #333; +} +#tabnav a:link.active, #tabnav a:visited.active +{ + border-bottom: 1px solid #fff; + background: #fff; color: #000; - background-color: #fff; - font-size: 12px; +} +#tabnav a:link:hover +{ + background: #fff; } #left { display: none; + min-width: 100px; + top: 20px; +} +#intro { + display: none; +} +.left_menu { + width: 100px; + min-width: 100px; +} +.optionalbox { + width: 100px; + min-width: 100px; +} +.donate { + width: 100px; + min-width: 100px; +} +#content { + /* left: 142px; */ + left: 10px; + top: 47px; } #greeting { position: absolute; top: 0px; right: 0px; - height: 16px; - margin: 0px; - padding-right: 10px; - font-size: 13px; - line-height: 14px; + height: 14px; + font-size: 12px; + line-height: 12px; + white-space: nowrap; + background: none; } - -#content { - padding-top: 16px; - height: 640px; +#full-greeting { + display: none; } - -#tabnav { -/* display: none;*/ +#small-greeting { + display: inline; } -#sidebar { - display: none; +#signupForm input[type="text"], #signupForm input[type="password"] { + width: 100%; } - -#permalink { - display: none; +#signupForm input#user_email { + max-width: 30em; } - -input[type="text"], input[type="password"], textarea { - border: 1px solid black; - font-size: 12px; +#signupForm input#user_email_confirmation { + max-width: 30em; } - -.olControlPanZoomBar { - display: none; +#signupForm input#user_display_name { + max-width: 20em; } - -.olControlLayerSwitcher { - display: none; +#signupForm input#user_pass_crypt { + max-width: 20em; } - -.olControlAttribution { - display: none !important; +#signupForm input#user_pass_crypt_confirmation { + max-width: 20em; } -#attribution { - font-size: 10px; - text-align: center; +#loginForm input#user_email { + width: 100%; + max-width: 18em; +} +#loginForm input#user_password { + width: 100%; + max-width: 18em; } -#map { - border: 1px solid black; - height: 480px; +.olControlPanZoomBar { + display: none; }