Permalink
Browse files

mockup doc contents current item style

  • Loading branch information...
cobyism committed Jul 4, 2012
1 parent ca6ee9a commit 6e2b3d9ae46a60300eef5822268c20382de1acdb
Showing with 14 additions and 1 deletion.
  1. +1 −1 _includes/docs_contents.html
  2. +13 −0 css/style.css
@@ -2,7 +2,7 @@
<aside>
<h4>Getting Started</h4>
<ul>
- <li><a href="">What is Jekyll?</a></li>
+ <li class="current"><a href="">What is Jekyll?</a></li>
<li><a href="">Installation</a></li>
<li><a href="">Directory structure</a></li>
</ul>
View
@@ -311,6 +311,19 @@ code .output {
.docs aside li a {
font-size: 16px;
+ position: relative
+}
+
+.docs aside li.current a:before {
+ content: "";
+ border-color: transparent transparent transparent #444;
+ border-style: solid;
+ border-width: 10px;
+ width: 0;
+ height: 0;
+ position: absolute;
+ top: 0;
+ left: -30px;
}
/* HTML Elements */

0 comments on commit 6e2b3d9

Please sign in to comment.