Permalink
Browse files

fix icons

  • Loading branch information...
1 parent ae522fc commit d53300d232a75996656d570d76ca5375c8a13baa @monken monken committed Jul 28, 2012
Showing with 24 additions and 6 deletions.
  1. +7 −5 root/home.html
  2. +16 −0 root/static/css/style.css
  3. +1 −1 root/wrapper.html
View
@@ -1,9 +1,11 @@
<div align="center" class="home">
- <a href="/"><img src="/static/images/logo.png" width="275" height="54" alt="MetaCPAN Logo" style="padding: 40px"></a>
- <form action="/search">
- <input type="text" name="q" size="41" autofocus="autofocus" id="search-input" class="autofocus"><br><br>
- <div class="ds"><button type="submit" class="btn">Search the CPAN</button></div>
- <div class="ds"><div class="hidden-phone"><button type="submit" class="btn" name="lucky" value="1">I'm Feeling Lucky</button></div></div>
+ <div class="big-logo">
+ <a href="/"><img src="/static/images/t.gif" width="180" height="34" alt="MetaCPAN Logo" /></a>
+ </div>
+ <form action="/search">
+ <input type="text" name="q" size="41" autofocus="autofocus" id="search-input" class="autofocus"><br><br>
+ <div class="ds"><button type="submit" class="btn">Search the CPAN</button></div>
+ <div class="ds"><div class="hidden-phone"><button type="submit" class="btn" name="lucky" value="1">I'm Feeling Lucky</button></div></div>
</form>
<br><br><br>
<% hints = ['Press shift and enter if you are feeling lucky'] %>
View
@@ -62,6 +62,22 @@ border-right: 1px solid #E7E7E7;
display: inline-block;
}
+.big-logo {
+ margin: 0 auto 32px auto;
+ width: 322px;
+ height: 58px;
+ background: transparent url('/static/images/logo.png') no-repeat -1px -1px;
+}
+
+.small-logo {
+ position: relative;
+ margin: 0 12px 0 0;
+ float:left;
+ width: 180px;
+ height: 34px;
+ background: transparent url('/static/images/logo.png') no-repeat -1px -68px;
+}
+
.search-results, .pod, .content {
margin-left: 175px;
border-left: 1px solid #e9e9e9;
View
@@ -104,7 +104,7 @@
<div class="container-fluid">
<% IF req.uri.path != '/' %>
<div class="row">
- <div class="span3">
+ <div class="span3 small-logo">
<a href="/"><img src="/static/images/t.gif" width="180" height="34" alt="MetaCPAN Logo" /></a>
</div>
<div class="span9 search-top">

0 comments on commit d53300d

Please sign in to comment.