Created
January 25, 2014 11:04
-
-
Save malikperang/8614815 to your computer and use it in GitHub Desktop.
Override Jquery Mobile font family
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
JQuery Mobile - Override font-family themes for the whole body | |
@font-face { | |
font-family: 'RobotoRegular'; | |
src: url('../font/roboto/RobotoRegular.eot'); | |
src: url('../font/roboto/RobotoRegular.eot?#iefix') format('embedded-opentype'), | |
url('../font/roboto/RobotoRegular.woff') format('woff'), | |
url('../font/roboto/RobotoRegular.ttf') format('truetype'), | |
url('../font/roboto/RobotoRegular.svg#RobotoRegular') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
/* Android jQM Font Style Overrides */ | |
body * { | |
font-family: "RobotoRegular" !important; | |
font-weight: normal !important; | |
} | |
.ui-btn-up-a,.ui-btn-hover-a,.ui-btn-down-a,.ui-bar-a,.ui-body-a,.ui-btn-up-a,.ui-btn-hover-a,.ui-btn-down-a,.ui-body-a input,.ui-body-a select,.ui-body-a textarea,.ui-body-a$ | |
font-family: "RobotoRegular"; | |
} | |
.ui-body-c, .ui-body-c input, .ui-body-c select, .ui-body-c textarea, .ui-body-c button | |
.ui-body-c,.ui-dialog.ui-overlay-c{ | |
text-shadow: 0pt 0px 0pt rgb(0, 0, 0); | |
} | |
.ui-body-c, .ui-body-c input, .ui-body-c select, .ui-body-c textarea, .ui-body-c button{ | |
font-family: Helvetica, Arial, sans-serif, Verdana; | |
font-size: 12px; | |
text-shadow: none; | |
color:black; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment