Skip to content

Commit

Permalink
mockup doc contents current item style
Browse files Browse the repository at this point in the history
  • Loading branch information
cobyism committed Jul 4, 2012
1 parent ca6ee9a commit 6e2b3d9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/docs_contents.html
Expand Up @@ -2,7 +2,7 @@
<aside> <aside>
<h4>Getting Started</h4> <h4>Getting Started</h4>
<ul> <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="">Installation</a></li>
<li><a href="">Directory structure</a></li> <li><a href="">Directory structure</a></li>
</ul> </ul>
Expand Down
13 changes: 13 additions & 0 deletions css/style.css
Expand Up @@ -311,6 +311,19 @@ code .output {


.docs aside li a { .docs aside li a {
font-size: 16px; 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 */ /* HTML Elements */
Expand Down

0 comments on commit 6e2b3d9

Please sign in to comment.