Aim to have tables of contents to the left, not right, of content.
FreeBSD documents: tables of contents to the left by grahamperrin
Details
Authorgrahamperrin
LicenseNo License
CategoryFreeBSD documentation
Created
Updated
Size765 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Tables of contents are, strangely, to the right for some articles and books.
To the left for the FreeBSD Handbook; to the right for the book of answers to frequently asked questions; and so on.
Source code
/* ==UserStyle==
@name docs.freebsd.org ToC left
@namespace cheekymonkey.bounceme.net
@version 1.0.2
@description tables of contents to the left at docs.freebsd.org
@author Graham Perrin
==/UserStyle== */
@-moz-document url-prefix("https://docs.freebsd.org/en/articles/"), url-prefix("https://docs-legacy.freebsd.org/doc/13.0-RELEASE/usr/local/share/doc/freebsd/en/articles/"), url-prefix("https://docs.freebsd.org/en/books/"), url-prefix("https://docs-legacy.freebsd.org/doc/13.0-RELEASE/usr/local/share/doc/freebsd/en/books/") {
.main-wrapper-article .article-toc,
.main-wrapper-book .book-toc {
order: 1 !important;
}
.main-wrapper-article .article,
.main-wrapper-book .book {
order: 2 !important;
}
}