Skip to content

Commit

Permalink
Merge pull request #591 from tf/hide-chapter-numbers
Browse files Browse the repository at this point in the history
Add theme option to hide chapter numbers in overview
  • Loading branch information
tf committed Aug 17, 2016
2 parents d91f23e + 6298590 commit 18a9af2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ $overview-icon-font-options: () !default;
@import "./overview/chapter_border_images";
@import "./overview/typography";
@import "./overview/colors";
@import "./overview/chapter_numbers";

@if $overview-icons == "sprite" {
@include overview-icons-sprite;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$overview-hide-chapter-numbers: false !default;

@if $overview-hide-chapter-numbers {
.content .ov_chapter {
.heading-5 {
display: none;
}

.heading-4 {
margin-top: 20px;
margin-bottom: 15px;
}
}
}

0 comments on commit 18a9af2

Please sign in to comment.