Skip to content

Commit fb34818

Browse files
hartzellvsoch
authored andcommitted
Fix sidebar arrows. (#51)
Just discovered Singularity, am excited. Recognized the site was derived from Tom Johnson's [Jekyll Documentation Theme](https://github.com/tomjohnson1492/documentation-theme-jekyll) or at least they share a common ancestor (I'm using it for a couple of projects). I also noticed that the Singularity site's sidebar suffers from the same CSS bug [that I fixed for Tom](tomjoht/documentation-theme-jekyll#65). This PR is a minial fix to the CSS. I think that the arrow that the existing CSS uses for the open/active element is *ugly*. There are a couple of Font Awesome glyphs that look better (you're already loading FA, so no add'l overhead). Here's what I'm using on my site. ``` .nav li > a > span:after { font-family: FontAwesome; content: "\f105"; } .nav li.active > a > span:after { font-family: FontAwesome; content: "\f107"; } ```
1 parent 3659164 commit fb34818

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/css/customstyles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ a.accordion-toggle, a.accordion-collapsed {
428428
.nav li > a > span:after {
429429
content: '\25be';
430430
}
431-
.nav li.open > a > span:after {
431+
.nav li.active > a > span:after {
432432
content: '\25b4';
433433
}
434434

0 commit comments

Comments
 (0)