Adjust padding around logo and search.

Also add a link to github, which is floated right to try and ballence
the header.
This commit is contained in:
Scott Mansell
2015-09-16 16:30:46 +12:00
parent 93cac18e56
commit be60566629
3 changed files with 18 additions and 4 deletions

View File

@@ -13,6 +13,9 @@
$('#update fieldset.tabular legend').click(function() {
$(this).closest('fieldset').toggleClass('show-children');
});
// add fork us on github link
var menu = $("#main-menu>ul").append("<li class='float'><a href='https://github.com/dolphin-emu/dolphin'>Github Project</a></li>");
});
})(jQuery);

View File

@@ -72,18 +72,20 @@ code {
height: auto;
min-height: 4em;
background: $gray-dark;
padding: 7px 17px 0 17px;
padding: 12px 17px 0 17px;
> h1 {
display: inline-block;
background: url('../images/logo.svg') no-repeat 5px 5px;
background-size: 72px 40px;
padding-left: 89px;
margin: 0 20px 9px 9px;
margin: 0 20px 14px 9px;
}
}
// Search box
#quick-search {
margin-top: 10px;
select {
padding: 5px 15px 5px 5px;
height: auto;
@@ -126,6 +128,9 @@ code {
}
}
}
li.float {
float: right;
}
}
// Content

View File

@@ -576,16 +576,19 @@ code {
height: auto;
min-height: 4em;
background: #202020;
padding: 7px 17px 0 17px;
padding: 12px 17px 0 17px;
}
#header > h1 {
display: inline-block;
background: url("../images/logo.svg") no-repeat 5px 5px;
background-size: 72px 40px;
padding-left: 89px;
margin: 0 20px 9px 9px;
margin: 0 20px 14px 9px;
}
#quick-search {
margin-top: 10px;
}
#quick-search select {
padding: 5px 15px 5px 5px;
height: auto;
@@ -632,6 +635,9 @@ code {
font-weight: 400;
background: #fff;
}
#main-menu li.float {
float: right;
}
#main {
*zoom: 1;