forked from dan/minimo
new header with logo - sitename in a row
This commit is contained in:
parent
5638e7ba45
commit
f5644f1cfc
|
@ -12,6 +12,16 @@ body {
|
||||||
margin-right: 33%;
|
margin-right: 33%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sitebanner {
|
||||||
|
position: relative;
|
||||||
|
top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.siteimage {
|
||||||
|
float: left;
|
||||||
|
width: 120px;
|
||||||
|
}
|
||||||
|
|
||||||
a:link { color: #003399; text-decoration: none; }
|
a:link { color: #003399; text-decoration: none; }
|
||||||
a:visited { color: #336699; text-decoration: none; }
|
a:visited { color: #336699; text-decoration: none; }
|
||||||
a:hover { color: #003399; background: #ff8c19; text-decoration: none; }
|
a:hover { color: #003399; background: #ff8c19; text-decoration: none; }
|
||||||
|
|
|
@ -34,8 +34,19 @@
|
||||||
|
|
||||||
<body id="index" class="home">
|
<body id="index" class="home">
|
||||||
<header id="banner" class="body">
|
<header id="banner" class="body">
|
||||||
|
<!-- 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>
|
<h1><a href="{{ SITEURL }}/">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1>
|
||||||
|
</div>
|
||||||
</header><!-- /#banner -->
|
</header><!-- /#banner -->
|
||||||
|
<br /><br />
|
||||||
<nav id="menu"><ul>
|
<nav id="menu"><ul>
|
||||||
{% for title, link in MENUITEMS %}
|
{% for title, link in MENUITEMS %}
|
||||||
<li><a href="{{ link }}">{{ title }}</a></li>
|
<li><a href="{{ link }}">{{ title }}</a></li>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user