Skip to content

Commit

Permalink
linkify the footer logo
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncostello committed Aug 3, 2011
1 parent 98e5a40 commit a679563
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 26 deletions.
22 changes: 10 additions & 12 deletions _layouts/default.html
Expand Up @@ -11,9 +11,7 @@
<link href="/shared/css/documentation.css" media="screen" rel="stylesheet" type="text/css">
<link href="/shared/css/pygments.css" media="screen" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="../css/print.css" type="text/css" media="print">
<!--[if IE]>
<link rel="stylesheet" href="../css/ie.css" type="text/css" media="screen, projection">
<![endif]-->


<link rel="stylesheet" href="../css/thickbox.css" type="text/css" media="screen"/>
</head>
Expand All @@ -27,8 +25,7 @@
<ul class="nav">
<li><a href="http://developer.github.com/v3/">API v3</a></li>
<li><a href="http://develop.github.com">API v2</a></li>
<li><a
href="http://support.github.com/discussions/api">Support</a></li>
<li><a href="http://support.github.com/discussions/api">Support</a></li>
</ul>
</div>
</div><!-- #header -->
Expand Down Expand Up @@ -65,7 +62,7 @@ <h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
**************-->
<div id="footer" >
<div class="upper_footer">
<div class="footer_inner" class="clearfix">
<div class="footer_inner clearfix">

<!--[if IE]><h4 id="blacktocat_ie">GitHub Links</h4><![endif]-->
<![if !IE]><h4 id="blacktocat">GitHub Links</h4><![endif]>
Expand All @@ -82,7 +79,7 @@ <h4>GitHub</h4>
<ul class="footer_nav">
<h4>Tools</h4>
<li><a href="http://mac.github.com/">GitHub for Mac</a></li>
<li><a href="<%= GitHub.gist_url %>">Gist</a></li>
<li><a href="gist.github.com">Gist</a></li>
<li><a href="http://fi.github.com/">Enterprise Install</a></li>
<li><a href="http://jobs.github.com/">Job Board</a></li>
</ul>
Expand All @@ -105,11 +102,12 @@ <h4>Documentation</h4>
</div><!-- /.upper_footer -->

<div class="lower_footer">
<div class="footer_inner" class="clearfix">

<!--[if IE]><div id="legal_ie"><![endif]-->
<![if !IE]><div id="legal"><![endif]>
<ul>
<div class="footer_inner clearfix">
<div id="legal">
<!--[if IE]><a class="home_ie" href="http://github.com">Home</a><![endif]-->
<![if !IE]><a class="home" href="http://github.com">Home</a><![endif]>

<ul id="legal_links">
<li><a href="http://help.github.com/terms-of-service/">Terms of Service</a></li>
<li><a href="http://help.github.com/privacy-policy/">Privacy</a></li>
<li><a href="http://help.github.com/security/">Security</a></li>
Expand Down
38 changes: 24 additions & 14 deletions shared/css/documentation.css
Expand Up @@ -322,7 +322,7 @@ div.sidebar-module ul ul li span {
bottom:0;
font-size:13px;
color: #636363;
margin: 20px 0 0 0;
margin: 60px 0 0 0;
}

#footer a:hover {
Expand All @@ -349,7 +349,7 @@ div.sidebar-module ul ul li span {
height:130px;
width:164px;
float:left;
background: url(../images/blacktocat.svg) top left no-repeat;
background: url(../images/blacktocat.png) top left no-repeat;
text-indent: -5000px;
margin: 15px 20px 0 0;
}
Expand Down Expand Up @@ -383,24 +383,34 @@ div.sidebar-module ul ul li span {
clear:both;
}

#footer .lower_footer .home {
display: block;
position: absolute;
background: url(../images/footer-logo.png) top left no-repeat;
width: 100px;
height: 50px;
text-indent: -5000px;
}

#footer .lower_footer .home_ie {
display: block;
position: absolute;
background: url(../images/footer-logo.png) top left no-repeat;
width: 100px;
height: 50px;
text-indent: -5000px;
}

#footer .lower_footer #legal {
float: left;
width:350px;
width: 500px;
height: 50px;
line-height: 8px;
margin: 25px 0 0 17px;
padding-left: 177px;
background: url(../images/footer-logo.svg) top left no-repeat;
}

#footer .lower_footer #legal_ie {
float: left;
width:350px;
height: 50px;
line-height: 8px;
margin: 25px 0 0 18px;
padding-left: 180px;
background: url(../images/footer-logo.png) top left no-repeat;
#footer .lower_footer #legal #legal_links {
margin-left: 177px;
}

#footer .lower_footer div ul {
Expand All @@ -421,7 +431,7 @@ div.sidebar-module ul ul li span {
display:inline;
float:left;
clear: both;
margin-top: 10px;
margin: 10px 0 0 177px;
}

#footer .lower_footer .sponsor {
Expand Down

0 comments on commit a679563

Please sign in to comment.