bkyk8rc3zvpnsf5inmcqq4n3k98cv6hj-my-site-hyper-literate-git.test.suzanne.soy-0.0.1

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 52f24b0203bb037daffea2118e1d61cf774d9eaf
parent 10ce45004b897c04a44de392624e16073845828d
Author: Matthew Butterick <mbutterick@users.noreply.github.com>
Date:   Tue, 21 Nov 2017 10:40:58 -0800

Embolden Racket Guide and Racket Reference links on TOC

A special CSS selector, so they don’t have to be bold everywhere
Diffstat:
Mscribble-lib/scribble/manual-style.css | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/scribble-lib/scribble/manual-style.css b/scribble-lib/scribble/manual-style.css @@ -31,6 +31,15 @@ font-size: 1rem; } +/* embolden the "Racket Guide" and "Racket Reference" links on the TOC */ +/* there isn't an obvious tag in the markup that designates the top TOC page, which is called "start.scrbl" */ +/* nor a tag that designates these two links as special */ +/* so we'll use this slightly tortured sibling selector that hooks onto the h2 tag */ +h2[x-source-module='(lib "scribblings/main/start.scrbl")'] ~ table a[href="guide/index.html"], +h2[x-source-module='(lib "scribblings/main/start.scrbl")'] ~ table a[href="reference/index.html"] { + font-weight: bold; +} + .stt { font-weight: 500; }