mirror of
https://github.com/dolphin-emu/redmine-theme-flat.git
synced 2026-01-31 01:15:20 +01:00
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:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user