Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
docs design updates
Browse files Browse the repository at this point in the history
  • Loading branch information
scottjehl committed Jun 20, 2011
1 parent c7a8529 commit 4cbbd77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions docs/_assets/css/jqm-docs.css
Expand Up @@ -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;
Expand Down Expand Up @@ -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%;
Expand All @@ -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%;
Expand Down
4 changes: 2 additions & 2 deletions 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');
Expand All @@ -16,7 +16,7 @@ $('div').live('pagecreate',function(event){
})
.appendTo( appendEl )
.wrap('<div class="jqm-themeswitcher">')
.bind("vclick", function(){
.bind( "vclick", function(){
$.themeswitcher();
});
}
Expand Down

0 comments on commit 4cbbd77

Please sign in to comment.