Skip to content

Commit 8ff6a79

Browse files
author
Alexandre Stanislawski
committed
fix(live-doc): moves octocat link to top. Removes stackOverflow
1 parent c118051 commit 8ff6a79

File tree

4 files changed

+17
-24
lines changed

4 files changed

+17
-24
lines changed

docs/_includes/header.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
</li>
1515
{% endfor %}
1616
</ul>
17+
<ul class="nav navbar-nav navbar-right">
18+
<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>
19+
</ul>
1720
</div>
1821
</nav>
1922

docs/_layouts/documentation.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010

1111
<div class="documentation-menu-footer">
1212
<p class="version">Current version : {{ site.version }}</p>
13-
<ul class="list-doc-links">
14-
<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>
15-
<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>
16-
</ul>
1713
</div>
1814
</div>
1915
</div>

docs/css/_documentation.sass

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -41,26 +41,6 @@
4141
margin-top: 14px
4242
.version
4343
margin: 0
44-
.list-doc-links
45-
color: #eee
46-
padding: 0
47-
width: 100%
48-
li
49-
font-size: 18px
50-
margin: auto
51-
.fa
52-
width: 30px
53-
span
54-
font-size: 14px
55-
color: black
56-
&:hover
57-
color: $brand-primary
58-
text-decoration: none
59-
.doc-footer-github a
60-
color: black
61-
.doc-footer-stackoverflow a
62-
color: #F89A00
63-
6444

6545
// Main Content
6646

docs/css/_header.sass

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@ header.site-header
33
margin-bottom: 0
44
.navbar-brand
55
font-weight: 600
6+
.navbar-right
7+
position: absolute
8+
right: 15px
9+
& > li
10+
display: inline-block
11+
font-size: 30px
12+
a
13+
line-height: 50px
14+
height: 50px
15+
width: 50px
16+
padding: 0
17+
text-align: center
18+
span
19+
display: none
620

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

0 commit comments

Comments
 (0)