Skip to content

Instantly share code, notes, and snippets.

@RyanHope
Created February 13, 2012 02:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save RyanHope/1812818 to your computer and use it in GitHub Desktop.
Save RyanHope/1812818 to your computer and use it in GitHub Desktop.
Device specific css files.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="src/css/pre.css" media="only screen and (min-device-width : 320px) and (max-device-width : 480px)">
<link rel="stylesheet" href="src/css/pre3.css" media="only screen and (min-device-width : 480px) and (max-device-width : 800px)">
<link rel="stylesheet" href="src/css/touchpad.css" media="only screen and (min-device-width : 768px) and (max-device-width : 1024px)">
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no" />
<title>wTerm App</title>
<script src="/usr/palm/frameworks/enyo/1.0/framework/enyo.js" launch="nobridge" type="text/javascript"></script>
</head>
<body>
<script type="text/javascript">
if (!enyo.application.p.get('firstUse') || enyo.windowParams.setup)
enyo.create({kind: "wTermFirstUse"}).renderInto(document.body);
else
enyo.create({kind: "wTermApp"}).renderInto(document.body);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment