Skip to content

Commit

Permalink
fix(live-doc): moves octocat link to top. Removes stackOverflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Stanislawski committed Nov 2, 2015
1 parent c118051 commit 8ff6a79
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 24 deletions.
3 changes: 3 additions & 0 deletions docs/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
</li>
{% endfor %}
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="doc-footer-github"><a href="http://github.com/algolia/instantsearch.js"><i class="fa fa-github"></i><span>Contribute on Github</span></a></li>
</ul>
</div>
</nav>

Expand Down
4 changes: 0 additions & 4 deletions docs/_layouts/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@

<div class="documentation-menu-footer">
<p class="version">Current version : {{ site.version }}</p>
<ul class="list-doc-links">
<li class="doc-footer-github"><a href="http://github.com/algolia/instantsearch.js"><i class="fa fa-github"></i><span>Contribute on Github</span></a></li>
<li class="doc-footer-stackoverflow"><a href="https://stackoverflow.com/tags/algolia"><i class="fa fa-stack-overflow"></i><span>Ask StackOverflow</span></a></li>
</ul>
</div>
</div>
</div>
Expand Down
20 changes: 0 additions & 20 deletions docs/css/_documentation.sass
Original file line number Diff line number Diff line change
Expand Up @@ -41,26 +41,6 @@
margin-top: 14px
.version
margin: 0
.list-doc-links
color: #eee
padding: 0
width: 100%
li
font-size: 18px
margin: auto
.fa
width: 30px
span
font-size: 14px
color: black
&:hover
color: $brand-primary
text-decoration: none
.doc-footer-github a
color: black
.doc-footer-stackoverflow a
color: #F89A00


// Main Content
Expand Down
14 changes: 14 additions & 0 deletions docs/css/_header.sass
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@ header.site-header
margin-bottom: 0
.navbar-brand
font-weight: 600
.navbar-right
position: absolute
right: 15px
& > li
display: inline-block
font-size: 30px
a
line-height: 50px
height: 50px
width: 50px
padding: 0
text-align: center
span
display: none

.main-content
margin-top: $navbar-height

0 comments on commit 8ff6a79

Please sign in to comment.