From 4cbbd7779aec11d1c5a3fc40a844220e8e4e93e4 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Mon, 20 Jun 2011 09:34:31 -0400 Subject: [PATCH] docs design updates --- docs/_assets/css/jqm-docs.css | 8 ++++++-- docs/_assets/js/jqm-docs.js | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/_assets/css/jqm-docs.css b/docs/_assets/css/jqm-docs.css index d27b5d42a16..a1a624799f5 100644 --- a/docs/_assets/css/jqm-docs.css +++ b/docs/_assets/css/jqm-docs.css @@ -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%; diff --git a/docs/_assets/js/jqm-docs.js b/docs/_assets/js/jqm-docs.js index 4e007890686..546524c6d92 100644 --- a/docs/_assets/js/jqm-docs.js +++ b/docs/_assets/js/jqm-docs.js @@ -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('
') - .bind("vclick", function(){ + .bind( "vclick", function(){ $.themeswitcher(); }); }