- #-navi li.sibling {
- display:none;
- }
- #-navi li.parent:before, #-navi li.current:before {
- content: "» ";
- }
- #-navi li.child:before {
- content: "» ";
- }
- #-navi li.child + li:before {
- content: "| ";
- }
- #-navi li {
- border: none;
- }
- #-navi li.current a {
- text-decoration: underline;
+ #-navi {
+ padding: $outer-margin;
+ border-bottom: solid $text-color 1px;
+
+ ul {
+ display: inline;
+ padding: 0;
+ margin: 0;
+ }
+ li {
+ display: inline-block;
+ }
+ /* Display only parent and children, and decorate them appropriately */
+ a {
+ display:inline-block;
+ margin: 0 0.3em !important;
+ padding: 0 !important;
+ border: none !important;
+ width: auto !important;
+ }
+ a.sibling {
+ display:none;
+ }
+ a.current {
+ text-decoration: underline;
+ }
+ li.parent::before, li.current:before {
+ content: "»";
+ }
+ li.child::before {
+ content: "»";
+ }
+ li.child + li.child::before {
+ content: "|";
+ }