From 32f0b571008c13d1f41a0bd3c077d9241a40bdbf Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Fri, 19 Jun 2009 00:23:06 -0700 Subject: [PATCH] Highlight referenced sections in the readmes. --- yard/haml-style.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/yard/haml-style.css b/yard/haml-style.css index 37fc9438..507bf831 100644 --- a/yard/haml-style.css +++ b/yard/haml-style.css @@ -13,3 +13,22 @@ float: none; margin: 0 2em; } + +.section.readme :target, +.section.readme dt:target + dd { + background-color: #ccf; + border: 1px solid #88b; +} + +.section.readme dd { + margin-left: 0; + padding-left: 3em; +} + +.section.readme dt:target + dd { + border-top-style: none; +} + +.section.readme dt:target { + border-bottom-style: none; +}