Move header logo's styles to css

This commit is contained in:
Dmitriy Simushev 2014-12-24 12:08:53 +00:00
parent b19473f658
commit 1306efd380
2 changed files with 5 additions and 1 deletions

View File

@ -143,6 +143,10 @@ img.left {
img.logo { img.logo {
margin-top: 2px; margin-top: 2px;
} }
#header img.logo {
width: 32px;
height: 32px;
}
#header h1 { #header h1 {
font-size: 2em; font-size: 2em;
line-height: 32px; line-height: 32px;

View File

@ -25,7 +25,7 @@
<div id="header"> <div id="header">
<div id="title"> <div id="title">
<h1> <h1>
<a href="{{route "home_operator"}}"><img src="{{asset "@CurrentStyle/images/logo.png"}}" alt="" width="32" height="32" class="left logo" /></a> <a href="{{route "home_operator"}}"><img src="{{asset "@CurrentStyle/images/logo.png"}}" alt="" class="left logo" /></a>
{{#if headertitle}}{{headertitle}}{{else}}{{title}}{{/if}} {{#if headertitle}}{{headertitle}}{{else}}{{title}}{{/if}}
</h1> </h1>
</div> </div>