Fixes position of ‘current version’ flag on documentation index when touchOverflowEnabled is true.

This commit is contained in:
Mat Marquis 2011-10-13 16:22:08 -04:00
parent fbec0e3520
commit 9719454056
2 changed files with 3 additions and 4 deletions

View file

@ -5,12 +5,11 @@ cobblers, shoes,
*/
body { background: #dddddd; }
.ui-mobile .type-home .ui-content { margin: 0; background: #e5e5e5 url(../images/jqm-sitebg.png) top center repeat-x; }
.ui-mobile #jqm-homeheader { padding: 40px 10px 0; text-align: center; margin: 0 auto; }
.ui-mobile #jqm-homeheader h1 { margin: 0 0 ; }
.ui-mobile #jqm-homeheader p { margin: .3em 0 0; line-height: 1.3; font-size: .9em; font-weight: bold; color: #666; }
.ui-mobile #jqm-version { text-indent: -99999px; background: url(../images/version.png) top right no-repeat; width: 119px; height: 122px; overflow: hidden; position: absolute; z-index: 50; top: 0; right: 0; }
.ui-mobile #jqm-version { text-indent: -99999px; background: url(../images/version.png) top right no-repeat; width: 119px; height: 122px; overflow: hidden; position: absolute; z-index: 50; top: -11px; right: 0; }
.ui-mobile .jqm-themeswitcher { margin: 10px 25px 10px 10px; }
h2 { margin:1.2em 0 .4em 0; }

View file

@ -15,14 +15,14 @@
<body>
<div data-role="page" class="type-home">
<div data-role="content">
<p id="jqm-version">Beta Release</p>
<div class="content-secondary">
<div id="jqm-homeheader">
<h1 id="jqm-logo"><img src="docs/_assets/images/jquery-logo.png" alt="jQuery Mobile Framework" /></h1>
<p>A Touch-Optimized Web Framework for Smartphones &amp; Tablets</p>
<p id="jqm-version">Beta Release</p>
</div>