Skip to content

Commit 2b7bc30

Browse files
committed
Convert bootstrap TOC to use em from px
1 parent 425be60 commit 2b7bc30

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

_includes/layout/footer.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
$(document).ready(function() {
2828
$('pre code').each(function(i, e) {hljs.highlightBlock(e)});
2929
});
30-
31-
3230
</script>
3331
<script>
3432
$(function() {

_includes/layout/metaAndStyles.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css"
2323
integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
2424
<link rel="stylesheet" href="https://cdn.rawgit.com/afeld/bootstrap-toc/v0.4.1/dist/bootstrap-toc.min.css">
25-
<link rel="stylesheet" type="text/css" href="/css/styles.css"/>
2625
<link rel="stylesheet" type="text/css" href="/css/highlightjs.css"/>
2726
<link rel="stylesheet" type="text/css" href="/css/tabcontent.css"/>
28-
27+
<link rel="stylesheet" type="text/css" href="/css/styles.css"/>

css/styles.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,11 @@ iframe {
7474
width: auto;
7575
vertical-align:baseline;
7676
}
77+
78+
nav[data-toggle=toc] .nav>li>a {
79+
font-size: 0.938em;
80+
}
81+
82+
nav[data-toggle=toc] .nav .nav>li>a {
83+
font-size: 0.875em;
84+
}

0 commit comments

Comments
 (0)