Skip to content

Commit c118051

Browse files
author
Alexandre Stanislawski
committed
fix(live-reload): integrates the links into the menu flow
1 parent b43e6e2 commit c118051

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

docs/_layouts/documentation.html

+8-8
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
<div class="col-lg-2 col-md-3 widget-nav hfull">
88
<div class="documentation-menu">
99
{{ content | toc_generate }}
10-
</div>
11-
<div class="documentation-menu-footer">
12-
<p class="version">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>GitHub Repository</span></a></li>
15-
<li class="doc-footer-github"><a href="http://github.com/algolia/instantsearch.js"><i class="fa fa-code-fork"></i><span>Report an Issue</span></a></li>
16-
<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>
17-
</ul>
10+
11+
<div class="documentation-menu-footer">
12+
<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>
17+
</div>
1818
</div>
1919
</div>
2020
<div class="col-lg-10 col-md-9 widget-description hfull">

docs/css/_documentation.sass

+14-14
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
background-color: $gray-light
77

88
.documentation-menu
9-
height: calc( 100% - 86px )
9+
height: 100%
1010
overflow-y: scroll
1111
padding: 0
1212
font-size: 1.3em
@@ -35,29 +35,29 @@
3535
list-style: none
3636

3737
.documentation-menu-footer
38-
position: absolute
39-
bottom: 0
40-
left: 0
41-
background: $dark-blue
4238
width: 100%
43-
height: 86px
44-
text-align: center
39+
font-size: 14px
40+
text-align: left
41+
margin-top: 14px
4542
.version
46-
padding: 4px
47-
background: #fff
43+
margin: 0
4844
.list-doc-links
49-
display: table
50-
font-size: 2em
5145
color: #eee
5246
padding: 0
5347
width: 100%
5448
li
55-
display: table-cell
49+
font-size: 18px
5650
margin: auto
51+
.fa
52+
width: 30px
5753
span
58-
display: none
54+
font-size: 14px
55+
color: black
56+
&:hover
57+
color: $brand-primary
58+
text-decoration: none
5959
.doc-footer-github a
60-
color: white
60+
color: black
6161
.doc-footer-stackoverflow a
6262
color: #F89A00
6363

0 commit comments

Comments
 (0)