aboutsummaryrefslogtreecommitdiffstats
path: root/guides/assets
diff options
context:
space:
mode:
authorRuy Diaz <diazruy@gmail.com>2017-04-01 21:35:20 -0700
committerRuy Diaz <diazruy@gmail.com>2017-04-01 21:35:20 -0700
commitb5c56090ee5f71134b85e3cdf7e3b89093649fac (patch)
tree7055b4bf6f9133ed5632eeba331ce1dd71fedc04 /guides/assets
parent56014880a2d25416befbd2e440fc94c2b66a0026 (diff)
downloadrails-b5c56090ee5f71134b85e3cdf7e3b89093649fac.tar.gz
rails-b5c56090ee5f71134b85e3cdf7e3b89093649fac.tar.bz2
rails-b5c56090ee5f71134b85e3cdf7e3b89093649fac.zip
Add anchor links to all headers
To allow easy linking at all levels and not just from index
Diffstat (limited to 'guides/assets')
-rw-r--r--guides/assets/stylesheets/main.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/guides/assets/stylesheets/main.css b/guides/assets/stylesheets/main.css
index b56699a0d0..a1e4851833 100644
--- a/guides/assets/stylesheets/main.css
+++ b/guides/assets/stylesheets/main.css
@@ -294,6 +294,9 @@ a, a:link, a:visited {
#mainCol a, #subCol a, #feature a {color: #980905;}
#mainCol a code, #subCol a code, #feature a code {color: #980905;}
+#mainCol a.anchorlink { text-decoration: none; }
+#mainCol a.anchorlink:hover { text-decoration: underline; }
+
/* Navigation
--------------------------------------- */