new header with logo - sitename in a row

pull/2/head
putro 2019-03-28 20:28:18 +01:00
rodzic 5638e7ba45
commit f5644f1cfc
2 zmienionych plików z 22 dodań i 1 usunięć

Wyświetl plik

@ -12,6 +12,16 @@ body {
margin-right: 33%;
}
.sitebanner {
position: relative;
top: 20px;
}
.siteimage {
float: left;
width: 120px;
}
a:link { color: #003399; text-decoration: none; }
a:visited { color: #336699; text-decoration: none; }
a:hover { color: #003399; background: #ff8c19; text-decoration: none; }

Wyświetl plik

@ -34,8 +34,19 @@
<body id="index" class="home">
<header id="banner" class="body">
<h1><a href="{{ SITEURL }}/">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1>
<!-- site image -->
{% if SITELOGO %}
<div class= "siteimage">
<a href={{ SITELOGO }}>
<img width="85" height="85" src={{ SITELOGO }}>
</a>
</div>
{% endif %}
<div class = "sitebanner">
<h1><a href="{{ SITEURL }}/">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1>
</div>
</header><!-- /#banner -->
<br /><br />
<nav id="menu"><ul>
{% for title, link in MENUITEMS %}
<li><a href="{{ link }}">{{ title }}</a></li>