Updated .htaccess; re-added logo rollover.
h3rald h3rald@h3rald.com
Tue, 08 Sep 2009 09:34:03 +0200
3 files changed,
17 insertions(+),
2 deletions(-)
M
content/.htaccess
→
content/.htaccess
@@ -53,7 +53,7 @@ RewriteRule ^(rss|atom)/?$ /$1.xml [L]
RewriteRule ^tags/([^/\.]+)/(rss|atom)/?$ /tags/$1/$2.xml [L] RewriteRule ^(articles|blog|entries|tags)/?$ /archives/ [L,R=301] RewriteRule ^articles/view/([^/\.]+)/?$ /articles/$1/ [L,R=301] - RewriteRule ^(blog|entries|archives|tags)/([^/\.]+)/?$ /articles/$2/ [L,R=301] + RewriteRule ^(blog|entries|archives)/([^/\.]+)/?$ /articles/$2/ [L,R=301] </IfModule>
M
content/css/_layout.sass
→
content/css/_layout.sass
@@ -23,6 +23,21 @@ body
margin: 0 padding: 0 +=button_img(!img) + background: url(../images/theme/#{!img}.png) + +#logo + display: block + width: 313px + height: 75px + +button_img("logo") + + &:hover + +button_img("logo_h") + +.logo + +button_img("logo_h") + #header width: 100% background-color: #000
M
layouts/default.erb
→
layouts/default.erb
@@ -37,7 +37,7 @@ <![endif]-->
<!-- HEADER START --> <div id="header-container"> <div id="header-left"> - <h1><a href="/"><img alt="H3RALD" id="logo" class="hover" src="/images/theme/logo.png"/></a></h1> + <h1><span class="logo"></span><a id="logo" href="/" title="H3RALD"></a></h1> </div> <div id="header-right"> <ul id="navigation">