Skip to content
This repository was archived by the owner on Feb 20, 2019. It is now read-only.

Commit 54f8f7f

Browse files
committed
Updates to doc styling
1 parent 46cd673 commit 54f8f7f

File tree

3 files changed

+17
-10
lines changed

3 files changed

+17
-10
lines changed

docs/theme/base.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@
5353
<script src="{{ base_url }}/js/bootstrap-3.0.3.min.js"></script>
5454
<script src="{{ base_url }}/js/prettify-1.0.min.js"></script>
5555
<script src="{{ base_url }}/js/retina.min.js"></script>
56+
<script src="//use.typekit.net/dwf8mie.js"></script>
57+
<script>try{Typekit.load();}catch(e){}</script>
5658
<script src="{{ base_url }}/js/base.js"></script>
5759
</body>
5860
</html>

docs/theme/css/base.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,16 @@ div.source-links {
9898
.bs-sidebar.affix {
9999
width: 263px;
100100
}
101+
}
102+
103+
.github-stars {
104+
margin-top: 26px;
105+
}
106+
107+
.version-number {
108+
font-family: "museo-slab",serif;
109+
font-style: normal;
110+
font-weight: 300;
111+
color: #586E75;
112+
font-size: 16px;
101113
}

docs/theme/nav.html

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
</button>
1313

1414
<!-- Main title -->
15-
<a class="navbar-brand" href="{{ homepage_url }}"><img src="{{ base_url }}/img/pickling-logo.png"/></a>
16-
<span class="version-number">{{ version }}</span>
15+
<a class="navbar-brand" href="{{ homepage_url }}"><img src="{{ base_url }}/img/pickling-logo.png"/><span class="version-number"> v0.9.0</span></a>
1716
<!-- <a class="navbar-brand" href="{{ homepage_url }}">{{ site_name }}</a> -->
1817
</div>
1918

@@ -50,14 +49,8 @@
5049
{% endif %}
5150
{% if repo_url %}
5251
<li>
53-
<a href="{{ repo_url }}">
54-
{% if repo_name == 'GitHub' %}
55-
<i class="fa fa-github"></i>
56-
{% elif repo_name == 'Bitbucket' %}
57-
<i class="fa fa-bitbucket"></i>
58-
{% endif %}
59-
{{ repo_name }}
60-
</a>
52+
<iframe class="github-stars" src="http://ghbtns.com/github-btn.html?user=scala&repo=pickling&type=watch&count=true"
53+
allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
6154
</li>
6255
{% endif %}
6356
</ul>

0 commit comments

Comments
 (0)