File tree Expand file tree Collapse file tree 4 files changed +58
-40
lines changed Expand file tree Collapse file tree 4 files changed +58
-40
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
- < div class ="header ">
9
- < h1 > < a href ="/ "> CoffeeScript Cookbook</ a > </ h1 >
10
- < a href ="/chapters "> Chapter Index</ a > |
11
- < a href ="/contributing "> Contributing</ a > |
12
- < a href ="/authors "> Authors</ a > |
13
- < a href ="/license "> License</ a >
14
- </ div >
15
-
16
- < h1 > Chapter: {{ page.title }}</ h1 >
17
-
18
- {{ content }}
19
- < hr />
20
- < p > Don't see the recipe you want? Add it yourself by reading the < a href ="/contributing "> Contributor's Guide</ a > , or request it by adding it to < a href ="/wanted-recipes "> Wanted Recipes</ a > .</ p >
21
- < p > < a href ="/license "> < img border ="0 " src ="/images/cc_by_badge.png "> </ a > </ p >
22
- </ body >
8
+ < header >
9
+ < h1 > < a href ="/ "> CoffeeScript Cookbook</ a > </ h1 >
10
+ < a href ="/chapters "> Chapter Index</ a > |
11
+ < a href ="/contributing "> Contributing</ a > |
12
+ < a href ="/authors "> Authors</ a > |
13
+ < a href ="/license "> License</ a >
14
+ </ header >
15
+ < section class ="content ">
16
+ < h2 > {{ page.title }}</ h2 >
17
+ {{ content }}
18
+ </ section >
19
+ < footer >
20
+ < p > Don't see the recipe you want? Add it yourself by reading the < a href ="/contributing "> Contributor's Guide</ a > , or request it by adding it to < a href ="/wanted-recipes "> Wanted Recipes</ a > .</ p >
21
+ < a href ="/license "> < img src ="/images/cc_by_badge.png " /> </ a >
22
+ </ footer >
23
+ </ body >
23
24
</ html >
24
25
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
- < div class ="header ">
9
- < h1 > < a href ="/ "> CoffeeScript Cookbook</ a > </ h1 >
10
- < a href ="/chapters "> Chapter Index</ a > |
11
- < a href ="/contributing "> Contributing</ a > |
12
- < a href ="/authors "> Authors</ a > |
13
- < a href ="/license "> License</ a >
14
- </ div >
15
- {{ content }}
16
- < hr />
17
- < p > Don't see a recipe you want? See an entire missing chapter? Add it yourself by reading the < a href ="/contributing "> Contributor's Guide</ a > , or request it by adding it to < a href ="/wanted-recipes "> Wanted Recipes</ a > .</ p >
18
- < p > < a href ="/license "> < img border ="0 " src ="/images/cc_by_badge.png "> </ a > </ p >
19
- </ body >
8
+ < header >
9
+ < h1 > < a href ="/ "> CoffeeScript Cookbook</ a > </ h1 >
10
+ < a href ="/chapters "> Chapter Index</ a > |
11
+ < a href ="/contributing "> Contributing</ a > |
12
+ < a href ="/authors "> Authors</ a > |
13
+ < a href ="/license "> License</ a >
14
+ </ header >
15
+ < section class ="content ">
16
+ {{ content }}
17
+ </ section >
18
+ < footer >
19
+ < p > Don't see a recipe you want? See an entire missing chapter? Add it yourself by reading the < a href ="/contributing "> Contributor's Guide</ a > , or request it by adding it to < a href ="/wanted-recipes "> Wanted Recipes</ a > .</ p >
20
+ < a href ="/license "> < img src ="/images/cc_by_badge.png " /> </ a >
21
+ </ footer >
22
+ </ body >
20
23
</ html >
21
24
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
- < div class ="header ">
9
- < h2 >
10
- < a href ="/ "> CoffeeScript Cookbok:</ a >
11
- < a href ="/chapters "> Chapters</ a > »
12
- < a href ="/chapters/{{ page.chapter | downcase }} "> {{ page.chapter }}</ a > »
13
- {{ page.title }}</ h2 >
14
- </ div >
15
- {{ content }}
16
- < hr />
17
- < p > Is this recipe wrong, incomplete, or non idiomatic? Help fix it by reading the < a href ="/contributing "> Contributor's Guide</ a > !</ p >
18
- < p > < a href ="/license "> < img border ="0 " src ="/images/cc_by_badge.png "> </ a > </ p >
8
+ < header >
9
+ < h1 >
10
+ < a href ="/ "> CoffeeScript Cookbook</ a > »
11
+ < a href ="/chapters/{{ page.chapter | downcase }} "> {{ page.chapter }}</ a > »
12
+ {{ page.title }}
13
+ </ h1 >
14
+ < a href ="/chapters "> Chapter Index</ a > |
15
+ < a href ="/contributing "> Contributing</ a > |
16
+ < a href ="/authors "> Authors</ a > |
17
+ < a href ="/license "> License</ a >
18
+ </ header >
19
+ < section class ="content ">
20
+ {{ content }}
21
+ </ section >
22
+ < footer >
23
+ < p > Is this recipe wrong, incomplete, or non idiomatic? Help fix it by reading the < a href ="/contributing "> Contributor's Guide</ a > !</ p >
24
+ < a href ="/license "> < img src ="/images/cc_by_badge.png " /> </ a >
25
+ </ footer >
19
26
</ body >
20
27
</ html >
21
28
Original file line number Diff line number Diff line change 10
10
margin : 0 ;
11
11
}
12
12
13
+ article , header , section , footer {
14
+ display : block;
15
+ }
16
+
13
17
/* Colors */
14
18
15
19
a , .header a : visited {
@@ -22,9 +26,12 @@ a:hover {
22
26
text-shadow : 0 0 0 # DCEEF5 ;
23
27
}
24
28
25
- hr {
29
+ footer {
26
30
border-top : 1px solid # eee ;
31
+ padding-top : 22px ;
27
32
margin : 21px 0 22px 0 ;
33
+ color : # 888 ;
34
+ font-size : 14px ;
28
35
}
29
36
30
37
/* Layout (margins, padding) */
35
42
margin : 22px 0 ;
36
43
}
37
44
38
- p , . header { margin-bottom : 22px ; }
45
+ p , header , section { margin-bottom : 22px ; }
39
46
40
47
ul {
41
48
list-style : none;
You can’t perform that action at this time.
0 commit comments