Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
Four lines of code to make the DDI Compendium work well on iPad
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<!-- A short title fits on the home screen -->
<!-- This is all you really need! -->
<meta name="viewport" content="width=1016,initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!-- href points to a 72x72 png with no transparency or gloss effect -->
<link rel="apple-touch-icon" href="icon-72x72.png">
<!-- We're done! -->
<!-- Replace this with the actual compendium code -->
<iframe src=""
style="width: 100%; height: 100%; position:absolute; top: 0; left: 0;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.