Permalink
Browse files

Merge pull request #59 from wesleytodd/1.5.2

Some changes I found while reading
  • Loading branch information...
2 parents c272672 + 445c9b7 commit c047d5cb1fc2168483cef7d2f4a9007f136135f5 @addyosmani committed Oct 28, 2012
Showing with 161 additions and 59 deletions.
  1. +18 −1 book/css/style.css
  2. +143 −58 book/index.html
View
@@ -46,6 +46,23 @@ a:visited {
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
text-decoration: none;
}
+.subhead-link {
+ font-size: .75em;
+ margin-left: -15px;
+ margin-top: 5px;
+ float: left;
+ visibility: hidden;
+}
+.subhead-link:hover {
+ text-decoration: none;
+ visibility: visible;
+}
+h1:hover .subhead-link,
+h2:hover .subhead-link,
+h3:hover .subhead-link,
+h4:hover .subhead-link {
+ visibility: visible;
+}
/* ~~ this fixed width container surrounds the other divs ~~ */
.container {
@@ -141,4 +158,4 @@ pre {
white-space: pre-wrap;
word-break: break-all;
word-wrap: break-word;
-}
+}
Oops, something went wrong. Retry.

0 comments on commit c047d5c

Please sign in to comment.