mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
docs design updates
This commit is contained in:
parent
c7a852938c
commit
4cbbd7779a
2 changed files with 8 additions and 4 deletions
|
|
@ -105,7 +105,7 @@ p.intro {
|
|||
.type-home .ui-content,
|
||||
.type-interior .ui-content {
|
||||
padding: 0;
|
||||
background: url(../images/px-ccc.gif) 49% 0 repeat-y;
|
||||
background: url(../images/px-ccc.gif) 50% 0 repeat-y;
|
||||
}
|
||||
.content-secondary {
|
||||
text-align: left;
|
||||
|
|
@ -161,7 +161,7 @@ p.intro {
|
|||
@media all and (min-width: 750px){
|
||||
.type-home .ui-content,
|
||||
.type-interior .ui-content {
|
||||
background-position: 38%;
|
||||
background-position: 39%;
|
||||
}
|
||||
.content-secondary {
|
||||
width: 34%;
|
||||
|
|
@ -173,6 +173,10 @@ p.intro {
|
|||
}
|
||||
|
||||
@media all and (min-width: 1200px){
|
||||
.type-home .ui-content,
|
||||
.type-interior .ui-content {
|
||||
background-position: 38.5%;
|
||||
}
|
||||
.content-secondary {
|
||||
width: 30%;
|
||||
padding-right:6%;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
//set up the theme switcher on the homepage
|
||||
$('div').live('pagecreate',function(event){
|
||||
if( !$(this).is('.ui-dialog')){
|
||||
var appendEl = $(this).find('.ui-footer');
|
||||
var appendEl = $(this).find('.ui-footer:last');
|
||||
|
||||
if( !appendEl.length ){
|
||||
appendEl = $(this).find('.ui-content');
|
||||
|
|
@ -16,7 +16,7 @@ $('div').live('pagecreate',function(event){
|
|||
})
|
||||
.appendTo( appendEl )
|
||||
.wrap('<div class="jqm-themeswitcher">')
|
||||
.bind("vclick", function(){
|
||||
.bind( "vclick", function(){
|
||||
$.themeswitcher();
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue