From: maxious Date: Mon, 18 Jul 2011 12:15:57 +0000 Subject: Make Android not use 2 columns X-Git-Url: https://maxious.lambdacomplex.org/git/?p=busui.git&a=commitdiff&h=568cad6bfae6be8971532b95d2a3b77645636644 --- Make Android not use 2 columns --- --- a/include/common-template.inc.php +++ b/include/common-template.inc.php @@ -77,8 +77,7 @@ }); '; - echo ''; + +echo ''; -} -@media all and (min-width: 750px){ - .type-home .ui-content, - .type-interior .ui-content { - background-position: 39%; - } - .content-secondary { - width: 34%; - } - .content-primary { - width: 56%; - padding-right: 1%; - } - .type-interior .ui-content { - background-position: 34%; - } -} - -@media all and (min-width: 1200px){ - .type-home .ui-content{ - background-position: 38.5%; - } - .type-interior .ui-content { - background-position: 30%; - } - .content-secondary { - width: 30%; - padding-right:6%; - margin: 30px 0 20px 5%; - } - .type-interior .content-secondary { - margin: 0; - padding: 0; - } - .content-primary { - width: 50%; - margin-right: 5%; - padding-right: 3%; - } - .type-interior .content-primary { - width: 60%; - } -} - -'; + if (strstr($_SERVER['HTTP_USER_AGENT'], 'iPhone') || strstr($_SERVER['HTTP_USER_AGENT'], 'iPod') || strstr($_SERVER['HTTP_USER_AGENT'], 'iPad')) { echo ' --- a/labs/myway_timeliness.php +++ b/labs/myway_timeliness.php @@ -15,7 +15,6 @@ var midnight = d.getTime(); prepare($query); $query->execute(); --- a/stop.php +++ b/stop.php @@ -68,7 +68,6 @@ }*/ echo ''; -timePlaceSettings(); echo $stopLinks; if (sizeof($stops) > 0) { trackEvent("View Stops", "View Combined Stops", $stop["stop_name"], $stop["stop_id"]); @@ -83,6 +82,7 @@ ) )) ; } +timePlaceSettings(); echo ''; echo '