diff --git a/docs/css/style.css b/docs/css/style.css index 79dbc261e8..c36f73c85d 100644 --- a/docs/css/style.css +++ b/docs/css/style.css @@ -180,6 +180,9 @@ a.direct-link { ul { box-sizing: content-box; +} + +ul.two-column { column-count: 2; column-gap: 30px; margin-top: 20px; @@ -188,9 +191,8 @@ ul { ul.single-column, ul.single-column > li > ul { - column-count: 1; margin-top: 0; - padding-right: 0; + padding: 0 0 0 15px; } ul li { diff --git a/docs/index.md b/docs/index.md index 22ec2a0d33..4c71ef5fec 100644 --- a/docs/index.md +++ b/docs/index.md @@ -44,10 +44,12 @@ Mocha is a feature-rich JavaScript test framework running on [Node.js][] and in - [before, after, before each, after each hooks](#hooks) - [arbitrary transpiler support (coffee-script etc)](#-compilers) - [TextMate bundle](#textmate) + {:.two-column} ## Table of Contents {{ toc }} +{:.two-column} ## Installation