Created
May 17, 2014 04:22
-
-
Save yijian166/712de2db0cb1f3b4a51d to your computer and use it in GitHub Desktop.
mobi init style
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
-webkit-user-select:none; /* Prevent copy paste for all elements except text fields */ | |
-webkit-tap-highlight-color:rgba(0, 0, 0, 0); /* set highlight color for user interaction */ | |
-moz-tap-highlight-color:rgba(0, 0, 0, 0); /* set highlight color for user interaction */ | |
-ms-touch-action:none; | |
-moz-user-select:-moz-none; | |
-webkit-touch-callout: none; /* prevent the popup menu on any links*/ | |
margin:0; | |
padding:0; | |
-webkit-box-sizing:border-box; | |
-moz-box-sizing:border-box; | |
box-sizing:border-box; | |
} | |
body { | |
overflow-x:hidden; | |
-webkit-text-size-adjust:none; | |
font-family:'Helvetica Neue', Helvetica, Arial, sans-serif; | |
color:#000; | |
font-size:14px; | |
display:-webkit-box; | |
background: #CBD2D8; | |
/* We want to layout our first container vertically */ | |
-webkit-box-orient: vertical; | |
/* we want our child elements to stretch to fit the container */ | |
-webkit-box-align:stretch; | |
} /* General styles that apply to elements not contained within other classes and styles */ | |
nput,textarea { -webkit-user-select:text; -moz-user-select:-moz-text;-moz-user-select:text;} /* allow users to select text that appears in input fields */ | |
mg { border:none; } /* Remove default borders for images */ | |
p { | |
display:block; | |
margin:6px 0; | |
font-size:14px; | |
line-height:20px; | |
color:inherit | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment