File tree Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 5
5
< link rel ="stylesheet " href ="/css/default.css " type ="text/css ">
6
6
</ head >
7
7
< body >
8
- < header >
8
+ < header >
9
9
< h1 > < a href ="/ "> CoffeeScript Cookbook</ a > </ h1 >
10
10
< nav >
11
- < a href ="/ "> Home</ a > »
12
- < a href ="/chapters/{{ page.chapter | replace: ' ', '_' | downcase }} "> {{ page.chapter }}</ a > »
13
- {{ page.title }}
11
+ < ol class ="breadcrumbs ">
12
+ < li > < a href ="/ "> Home</ a > </ li >
13
+ < li > < a href ="/chapters/{{ page.chapter | replace: ' ', '_' | downcase }} "> {{ page.chapter }}</ a > </ li >
14
+ < li > {{ page.title }}</ li >
15
+ </ ol >
14
16
</ nav >
15
17
</ header >
16
18
< section class ="content ">
Original file line number Diff line number Diff line change @@ -75,6 +75,22 @@ nav ul li:first-child {
75
75
border : none;
76
76
}
77
77
78
+ nav ol {
79
+ list-style : none;
80
+ }
81
+
82
+ nav ol li {
83
+ display : inline-block;
84
+ }
85
+
86
+ nav ol .breadcrumbs li : before {
87
+ content : '\000bb\000a0' ; /* Insert » between list items. */
88
+ }
89
+
90
+ nav ol .breadcrumbs li : first-child : before {
91
+ content : '' ;
92
+ }
93
+
78
94
/* Typography */
79
95
80
96
body {
You can’t perform that action at this time.
0 commit comments