Site tweaks

This commit is contained in:
Garen Torikian 2012-09-17 11:27:46 -07:00
commit bcbdd41751
6 changed files with 38 additions and 16 deletions

View file

@ -147,6 +147,11 @@ form.navbar-search {
form.navbar-search .search-query {
background-color: #FFFFFF;
border: none;
}
.navbar-search .search-query:focus, .navbar-search .search-query.focused {
padding: 4px 9px;
}
h3.api_title {
@ -281,9 +286,14 @@ ul.menu {
.srolled .membersContent {
/*top : 0;*/
width: 625px;
padding-left: 330px;
padding-left: 327px;
margin : 0 auto 0 auto;
}
.srolled ul.nav {
padding-right: 10px;
}
.membersBackground {
/* background-color: white;
position: fixed;
@ -492,7 +502,6 @@ header.filler {
}
.centerpiece {
background: url(../images/sidebar_border.png) repeat-y 230px 0;
min-height: 100%;
}

View file

@ -39,7 +39,7 @@ $(function() {
$("li#dropdown_" + section.replace(/\./g, '\\.') + " a").triggerHandler('click');
}
setupDisqus();
// setupDisqus();
});
}
@ -66,6 +66,10 @@ $(function() {
});
});
$('a.external').click(function(e) {
e.preventDefault();
});
var tabs = $("#tabnav"),
tab_a_selector = "a";
@ -118,7 +122,8 @@ $(function() {
$(window).on("hashchange", function(e) {
tabs.each(function() {
var idx = $.bbq.getState("nav") || "about";
$(this).find(tab_a_selector + "[href='#" + idx + "']").triggerHandler('click');
var section = e.fragment.split("&")[1] || "";
$(this).find(tab_a_selector + "[href='#" + idx + "&" + section + "']").triggerHandler('click');
// handles dropping in from new link
var api = $.bbq.getState("api");

View file

@ -49,6 +49,7 @@ H3 {
H4 {
font-size:21px;
color:#222222;
margin-bottom:8px;
}
P {