File tree Expand file tree Collapse file tree 11 files changed +344
-112
lines changed Expand file tree Collapse file tree 11 files changed +344
-112
lines changed Original file line number Diff line number Diff line change 31
31
{% if page.path != "index.html" %}
32
32
< header >
33
33
< div class ="container ">
34
- < nav > < a href ="https://training.github.com "> Join an Event</ nav >
34
+ < nav >
35
+ < ul >
36
+ < li > < a class ="button " href ="https://training.github.com "> Join an Event</ a > </ li >
37
+ </ ul >
38
+ </ nav >
35
39
< a href ="../ ">
36
40
< div class ="logo-group ">
37
41
< div class ="logo ">
Original file line number Diff line number Diff line change 1
- <!DOCTYPE html>
2
- < html >
3
- < head >
4
- < title > {% if page.title %}{{ page.title }} • {% endif %}{{ site.title }}</ title >
5
- {% if page.description %}
6
- < meta name ="description " content ="{{ page.description }} " />
7
- {% endif %}
8
- < meta http-equiv ="Content-Type " content ="text/html; charset=UTF-8 "/>
1
+ ---
2
+ layout: bare
3
+ theme: outline
4
+ ---
9
5
10
- < link rel ="stylesheet " media ="screen " href ="/_stylesheets/cheatsheet.css " type ="text/css " />
6
+ < section class ="hero ">
7
+ < div class ="container ">
8
+ < span class ="octicon octicon-file-text "> </ span > < h1 > {{ page.title }}</ h1 >
9
+ </ div >
10
+ </ section >
11
+ < section >
12
+ < div class ="container ">
13
+ {{ content }}
14
+ </ div >
15
+ </ section >
11
16
12
- {% include analytics.html %}
13
- </ head >
14
- < body >
15
- < div class ="top ">
16
- < header >
17
- < div class ="logo "> < a href ="/ "> GitHub Training</ a > </ div >
18
- < a href ="https://github.com/github/training-materials " class ="mini-button "> < span > R</ span > Source on GitHub</ a >
19
- </ header >
20
- </ div >
21
-
22
- < div id ="content-wrapper ">
23
- < h1 > {{ page.title }}</ h1 >
24
- {{ content }}
25
- </ div >
26
- </ body >
27
- </ html >
17
+ {% include footer.html %}
Original file line number Diff line number Diff line change 5
5
6
6
< section class ="hero ">
7
7
< div class ="container ">
8
- < span class ="octicon octicon-file-text "> </ span > < h1 > {{ page.title }}</ h1 >
8
+ < span class ="octicon octicon-book "> </ span > < h1 > {{ page.title }}</ h1 >
9
9
</ div >
10
10
</ section >
11
11
< section >
Original file line number Diff line number Diff line change 5
5
6
6
h2 {
7
7
font-size : 200% ;
8
- line-height : 150% ; }
8
+ line-height : 150% ;
9
+ border-top : solid 1px # e5e5e5 ;
10
+ padding : 10px 0 ;
11
+ margin : 20px 0 0 0 ;
12
+ color : # 222 ; }
9
13
10
14
h2 + p {
11
15
font-size : 125% ;
12
16
font-weight : 200 ;
13
17
text-rendering : optimizeLegibility;
14
18
line-height : 150% ;
15
19
opacity : .65 ;
16
- margin : auto auto; }
20
+ margin : auto auto 20 px auto ; }
17
21
18
22
h3 {
19
- margin-top : 24px ; }
23
+ font-size : 125% ;
24
+ margin : 20px 0 0 0 ;
25
+ color : # 222 ; }
20
26
21
27
p {
22
28
text-rendering : optimizeLegibility;
23
- line-height : 150% ;
24
- opacity : .7 ; }
29
+ line-height : 150% ; }
25
30
26
31
header {
27
32
background : # fff ;
28
33
color : # ddd ;
29
34
padding : 15px ; }
35
+ header a {
36
+ color : # d9d9d9 ; }
37
+ header a : hover {
38
+ color : # d9d9d9 ; }
39
+ header a : hover .logo {
40
+ margin-top : -32px ;
41
+ opacity : 0 ; }
30
42
header nav {
31
43
float : right;
32
44
font-size : 14px ;
33
45
line-height : 26px ; }
46
+ header nav ul li {
47
+ display : inline-block;
48
+ margin-left : 10px ; }
49
+ header nav .button {
50
+ padding : 8px ;
51
+ border : solid 1px # eee ;
52
+ border-radius : 5px ; }
34
53
header .octicon {
35
54
font-size : 26px ; }
36
55
header .logo-training-materials {
@@ -45,18 +64,45 @@ header {
45
64
width : 178px ;
46
65
display : block;
47
66
opacity : .15 ; }
48
- header a {
49
- color : # d9d9d9 ; }
50
- header a : hover {
51
- color : # d9d9d9 ; }
52
- header a : hover .logo {
53
- margin-top : -32px ;
54
- opacity : 0 ; }
55
67
56
68
section {
57
69
width : 100% ;
58
70
float : left; }
59
71
72
+ code {
73
+ font-family : "Courier New" , Courier, monospace;
74
+ color : # 63b83e ;
75
+ border-radius : 3px ; }
76
+
77
+ pre {
78
+ width : 100% ;
79
+ background : # 222 ;
80
+ line-height : 140% ;
81
+ margin : 30px 0 ;
82
+ border-radius : 3px ; }
83
+ pre code {
84
+ display : block;
85
+ padding : 10px ; }
86
+
87
+ table {
88
+ width : 100% ;
89
+ background : # eee ;
90
+ line-height : 140% ;
91
+ margin : 30px 0 ;
92
+ padding : 20px ;
93
+ border-radius : 3px ;
94
+ border-spacing : 0 ; }
95
+ table th {
96
+ font-size : 18px ;
97
+ font-weight : 200 ;
98
+ text-align : left;
99
+ border-bottom : solid 1px # bfbfbf ;
100
+ opacity : .5 ;
101
+ padding : 0 0 10px ; }
102
+
103
+ ul {
104
+ margin : 0 0 0 1.5em ; }
105
+
60
106
.container {
61
107
width : 830px ;
62
108
margin : 40px auto auto;
Original file line number Diff line number Diff line change 2
2
font-size : 46px ;
3
3
font-weight : 200 ;
4
4
text-rendering : optimizeLegibility ;
5
- // text-align: center;
6
5
}
7
6
h2 {
8
7
font-size : 200% ;
9
- // text-align: center;
10
8
line-height : 150% ;
9
+ border-top : solid 1px #e5e5e5 ;
10
+ padding : 10px 0 ;
11
+ margin : 20px 0 0 0 ;
12
+ color : #222 ;
11
13
}
12
14
h2 +p {
13
15
font-size : 125% ;
14
16
font-weight : 200 ;
15
17
text-rendering : optimizeLegibility ;
16
- // text-align: center;
17
18
line-height : 150% ;
18
19
opacity : .65 ;
19
- margin : auto auto ;
20
+ margin : auto auto 20 px auto ;
20
21
}
21
22
h3 {
22
- margin-top : 24px ;
23
+ font-size : 125% ;
24
+ margin : 20px 0 0 0 ;
25
+ color : #222 ;
23
26
}
24
27
p {
25
28
text-rendering : optimizeLegibility ;
26
29
line-height : 150% ;
27
- opacity : .7 ;
30
+ // opacity: .7;
28
31
}
29
32
header {
30
33
background : #fff ;
31
34
color : #ddd ;
32
35
padding : 15px ;
33
36
37
+ a {
38
+ color : #d9d9d9 ;
39
+
40
+ & :hover {
41
+ color : #d9d9d9 ;
42
+ & .logo {
43
+ margin-top : -32px ;
44
+ opacity : 0 ;
45
+ }
46
+ }
47
+ }
34
48
nav {
35
49
float : right ;
36
50
font-size : 14px ;
37
51
line-height : 26px ;
52
+
53
+ ul {
54
+ li {
55
+ display : inline-block ;
56
+ margin-left : 10px ;
57
+ }
58
+ }
59
+
60
+ .button {
61
+ padding : 8px ;
62
+ border : solid 1px #eee ;
63
+ border-radius : 5px ;
64
+ }
38
65
}
39
66
40
67
.octicon {
@@ -55,24 +82,55 @@ header{
55
82
opacity : .15 ;
56
83
}
57
84
}
85
+ }
86
+ section {
87
+ width : 100% ;
88
+ float : left ;
89
+ }
58
90
59
- a {
60
- color : #d9d9d9 ;
61
-
62
- & :hover {
63
- color : #d9d9d9 ;
91
+ code {
92
+ font-family : " Courier New" , Courier , monospace ;
93
+ color : #63b83e ;
94
+ border-radius : 3px ;
95
+ }
96
+ pre {
97
+ width : 100% ;
98
+ background : #222 ;
99
+ line-height : 140% ;
100
+ margin : 30px 0 ;
101
+ border-radius : 3px ;
64
102
65
- & .logo {
66
- margin-top : -32px ;
67
- opacity : 0 ;
68
- }
69
- }
103
+ code {
104
+ display : block ;
105
+ padding : 10px ;
70
106
}
71
107
}
72
- section {
108
+ table {
73
109
width : 100% ;
74
- float : left ;
110
+ background : #eee ;
111
+ line-height : 140% ;
112
+ margin : 30px 0 ;
113
+ padding : 20px ;
114
+ border-radius : 3px ;
115
+ border-spacing :0 ;
116
+
117
+ th {
118
+ font-size : 18px ;
119
+ font-weight : 200 ;
120
+ text-align : left ;
121
+ border-bottom : solid 1px #bfbfbf ;
122
+ opacity : .5 ;
123
+ padding : 0 0 10px ;
124
+ }
125
+ td {
126
+
127
+ }
75
128
}
129
+
130
+ ul {
131
+ margin : 0 0 0 1.5em
132
+ }
133
+
76
134
.container {
77
135
width : 830px ;
78
136
margin : 40px auto auto ;
You can’t perform that action at this time.
0 commit comments