Permalink
Browse files

Update from incubator-cordova-app-hello-world.

  • Loading branch information...
1 parent 729c060 commit e17b73d19709e6254195d7c9af04c9469191ebf8 @mwbrooks mwbrooks committed Aug 28, 2012
Showing with 9 additions and 6 deletions.
  1. +8 −5 www/css/index.css
  2. +1 −1 www/index.html
View
13 www/css/index.css
@@ -16,11 +16,11 @@
* specific language governing permissions and limitations
* under the License.
*/
-html,
-body {
- height:100%;
- font-size:12px;
- width:100%;
+* {
+ -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
+ -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
+ -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
+ -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
}
body {
@@ -37,9 +37,12 @@ body {
);
background-attachment:fixed;
font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
+ font-size:12px;
+ height:100%;
margin:0px;
padding:0px;
text-transform:uppercase;
+ width:100%;
}
/* Portrait layout (default) */
View
2 www/index.html
@@ -21,7 +21,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="format-detection" content="telephone=no" />
- <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width;" />
+ <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
<title>Hello World</title>
</head>

0 comments on commit e17b73d

Please sign in to comment.