diff --git a/assets/plugins/_numbered.scss b/assets/plugins/_numbered.scss
index 56cda5ac5b102a0662bc313e3b3a2c2db2170b63..dc9b04bdcf60fc4f8715ebe9731fad4f6f489d63 100644
--- a/assets/plugins/_numbered.scss
+++ b/assets/plugins/_numbered.scss
@@ -1,7 +1,7 @@
 $startLevel: 1;
 $endLevel: 6;
 
-.book-page .markdown {
+.book-page .markdown.book-article {
   @for $currentLevel from $startLevel through $endLevel {
     > h#{$currentLevel} {
       counter-increment: h#{$currentLevel};
@@ -19,7 +19,7 @@ $endLevel: 6;
   }
 }
 
-.book-toc nav ul {
+.book-toc nav#TableOfContents ul {
   li {
     counter-increment: item;
 
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 49a31217c3be4ecabe13ba487f3b64745550810a..a6c4c07fc85ccc762ef381c8db3f418db9e3c693 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -73,7 +73,7 @@
 {{ end }}
 
 {{ define "main" }}
-  <article class="markdown">
+  <article class="markdown book-article">
     {{- .Content -}}
   </article>
 {{ end }}
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index 301ca1eee02fd77867bf125a4349a162415756b6..495c036e09735b4eb3b33d47b8cec7ca57ee0870 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -1,5 +1,5 @@
 {{ define "main" }}
-<article class="markdown">
+<article class="markdown book-post">
   <h1>
     <a href="{{ .RelPermalink }}">{{ partial "docs/title.html" . }}</a>
   </h1>
diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html
index 31ecd90359703694da048959631cc1845321ee26..1d3e76303929ead67b8e14fd8a4a306817dad09e 100644
--- a/layouts/taxonomy/list.html
+++ b/layouts/taxonomy/list.html
@@ -1,5 +1,5 @@
 {{ define "main" }}
-<article class="markdown">
+<article class="markdown book-post">
   <h1>{{ .Title | title }}</h1>
   {{ $taxonomies := index .Site.Taxonomies .Page.Type }}
   {{ range $taxonomies }}