From: Robert Sesek Date: Sat, 30 Jun 2012 18:51:40 +0000 (-0400) Subject: Add mobile style X-Git-Url: https://src.bluestatic.org/?a=commitdiff_plain;h=09a1d1558d3c446a34baf18bf14fa8748f35d8a2;p=skeletonkey.git Add mobile style --- diff --git a/core.css b/core.css index ab1b302..fe48e80 100644 --- a/core.css +++ b/core.css @@ -79,3 +79,9 @@ hr { .clear { clear: both; } + +@media screen and (-webkit-min-device-pixel-ratio: 1.5) { + body { + font-size: 1.1em; + } +} diff --git a/hosted.css b/hosted.css index 9a79986..80dc4d8 100644 --- a/hosted.css +++ b/hosted.css @@ -53,3 +53,28 @@ iframe { #options { height: 6.25em; } + +@media screen and (-webkit-min-device-pixel-ratio: 1.5) { + body { + background-color: #FFF; + } + + h1 { + font-size: 4em; + } + p { + display: none; + } + + iframe { + width: 100%; + border: none; + } + + #core { + height: 20em; + } + #options { + height: 10em; + } +} diff --git a/hosted.html b/hosted.html index 5940c2f..7c20399 100644 --- a/hosted.html +++ b/hosted.html @@ -2,6 +2,7 @@ Skeleton Key Hosted +