Skip to content

Commit 2269721

Browse files
committed
readme
1 parent 8c82684 commit 2269721

File tree

4 files changed

+304
-0
lines changed

4 files changed

+304
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_book

README.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# 笨办法学C 中文版
2+
3+
原文:[CS61A: Online Textbook](http://www-inst.eecs.berkeley.edu/~cs61a/sp12/book/)
4+
5+
译者:[飞龙](https://github.com/wizardforcel)
6+
7+
+ [在线阅读](https://www.gitbook.com/book/wizardforcel/sicp-py/details)
8+
+ [PDF格式](https://www.gitbook.com/download/pdf/book/wizardforcel/sicp-py)
9+
+ [EPUB格式](https://www.gitbook.com/download/epub/book/wizardforcel/sicp-py)
10+
+ [MOBI格式](https://www.gitbook.com/download/mobi/book/wizardforcel/sicp-py)
11+
+ [Github](https://github.com/wizardforcel/sicp-py-zh)
12+
13+
## 赞助我
14+
15+
![](img/qr_alipay.png)
16+
17+
## 协议
18+
19+
[CC BY-NC-SA 4.0](http://creativecommons.org/licenses/by-nc-sa/4.0/)

img/qr_alipay.png

7.27 KB
Loading

styles/ebook.css

+284
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,284 @@
1+
/* GitHub stylesheet for MarkdownPad (http://markdownpad.com) */
2+
/* Author: Nicolas Hery - http://nicolashery.com */
3+
/* Version: b13fe65ca28d2e568c6ed5d7f06581183df8f2ff */
4+
/* Source: https://github.com/nicolahery/markdownpad-github */
5+
6+
/* RESET
7+
=============================================================================*/
8+
9+
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
10+
margin: 0;
11+
padding: 0;
12+
border: 0;
13+
}
14+
15+
/* BODY
16+
=============================================================================*/
17+
18+
body {
19+
font-family: Helvetica, arial, freesans, clean, sans-serif;
20+
font-size: 14px;
21+
line-height: 1.6;
22+
color: #333;
23+
background-color: #fff;
24+
padding: 20px;
25+
max-width: 960px;
26+
margin: 0 auto;
27+
}
28+
29+
body>*:first-child {
30+
margin-top: 0 !important;
31+
}
32+
33+
body>*:last-child {
34+
margin-bottom: 0 !important;
35+
}
36+
37+
/* BLOCKS
38+
=============================================================================*/
39+
40+
p, blockquote, ul, ol, dl, table, pre {
41+
margin: 15px 0;
42+
}
43+
44+
/* HEADERS
45+
=============================================================================*/
46+
47+
h1, h2, h3, h4, h5, h6 {
48+
margin: 20px 0 10px;
49+
padding: 0;
50+
font-weight: bold;
51+
-webkit-font-smoothing: antialiased;
52+
}
53+
54+
h1 tt, h1 code, h2 tt, h2 code, h3 tt, h3 code, h4 tt, h4 code, h5 tt, h5 code, h6 tt, h6 code {
55+
font-size: inherit;
56+
}
57+
58+
h1 {
59+
font-size: 24px;
60+
border-bottom: 1px solid #ccc;
61+
color: #000;
62+
}
63+
64+
h2 {
65+
font-size: 18px;
66+
color: #000;
67+
}
68+
69+
h3 {
70+
font-size: 14px;
71+
}
72+
73+
h4 {
74+
font-size: 14px;
75+
}
76+
77+
h5 {
78+
font-size: 14px;
79+
}
80+
81+
h6 {
82+
color: #777;
83+
font-size: 14px;
84+
}
85+
86+
body>h2:first-child, body>h1:first-child, body>h1:first-child+h2, body>h3:first-child, body>h4:first-child, body>h5:first-child, body>h6:first-child {
87+
margin-top: 0;
88+
padding-top: 0;
89+
}
90+
91+
a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 {
92+
margin-top: 0;
93+
padding-top: 0;
94+
}
95+
96+
h1+p, h2+p, h3+p, h4+p, h5+p, h6+p {
97+
margin-top: 10px;
98+
}
99+
100+
/* LINKS
101+
=============================================================================*/
102+
103+
a {
104+
color: #4183C4;
105+
text-decoration: none;
106+
}
107+
108+
a:hover {
109+
text-decoration: underline;
110+
}
111+
112+
/* LISTS
113+
=============================================================================*/
114+
115+
ul, ol {
116+
padding-left: 30px;
117+
}
118+
119+
ul li > :first-child,
120+
ol li > :first-child,
121+
ul li ul:first-of-type,
122+
ol li ol:first-of-type,
123+
ul li ol:first-of-type,
124+
ol li ul:first-of-type {
125+
margin-top: 0px;
126+
}
127+
128+
ul ul, ul ol, ol ol, ol ul {
129+
margin-bottom: 0;
130+
}
131+
132+
dl {
133+
padding: 0;
134+
}
135+
136+
dl dt {
137+
font-size: 14px;
138+
font-weight: bold;
139+
font-style: italic;
140+
padding: 0;
141+
margin: 15px 0 5px;
142+
}
143+
144+
dl dt:first-child {
145+
padding: 0;
146+
}
147+
148+
dl dt>:first-child {
149+
margin-top: 0px;
150+
}
151+
152+
dl dt>:last-child {
153+
margin-bottom: 0px;
154+
}
155+
156+
dl dd {
157+
margin: 0 0 15px;
158+
padding: 0 15px;
159+
}
160+
161+
dl dd>:first-child {
162+
margin-top: 0px;
163+
}
164+
165+
dl dd>:last-child {
166+
margin-bottom: 0px;
167+
}
168+
169+
/* CODE
170+
=============================================================================*/
171+
172+
pre, code, tt {
173+
font-size: 12px;
174+
font-family: Consolas, "Liberation Mono", Courier, monospace;
175+
}
176+
177+
code, tt {
178+
margin: 0 0px;
179+
padding: 0px 0px;
180+
white-space: nowrap;
181+
border: 1px solid #eaeaea;
182+
background-color: #f8f8f8;
183+
border-radius: 3px;
184+
}
185+
186+
pre>code {
187+
margin: 0;
188+
padding: 0;
189+
white-space: pre;
190+
border: none;
191+
background: transparent;
192+
}
193+
194+
pre {
195+
background-color: #f8f8f8;
196+
border: 1px solid #ccc;
197+
font-size: 13px;
198+
line-height: 19px;
199+
overflow: auto;
200+
padding: 6px 10px;
201+
border-radius: 3px;
202+
}
203+
204+
pre code, pre tt {
205+
background-color: transparent;
206+
border: none;
207+
}
208+
209+
kbd {
210+
-moz-border-bottom-colors: none;
211+
-moz-border-left-colors: none;
212+
-moz-border-right-colors: none;
213+
-moz-border-top-colors: none;
214+
background-color: #DDDDDD;
215+
background-image: linear-gradient(#F1F1F1, #DDDDDD);
216+
background-repeat: repeat-x;
217+
border-color: #DDDDDD #CCCCCC #CCCCCC #DDDDDD;
218+
border-image: none;
219+
border-radius: 2px 2px 2px 2px;
220+
border-style: solid;
221+
border-width: 1px;
222+
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
223+
line-height: 10px;
224+
padding: 1px 4px;
225+
}
226+
227+
/* QUOTES
228+
=============================================================================*/
229+
230+
blockquote {
231+
border-left: 4px solid #DDD;
232+
padding: 0 15px;
233+
color: #777;
234+
}
235+
236+
blockquote>:first-child {
237+
margin-top: 0px;
238+
}
239+
240+
blockquote>:last-child {
241+
margin-bottom: 0px;
242+
}
243+
244+
/* HORIZONTAL RULES
245+
=============================================================================*/
246+
247+
hr {
248+
clear: both;
249+
margin: 15px 0;
250+
height: 0px;
251+
overflow: hidden;
252+
border: none;
253+
background: transparent;
254+
border-bottom: 4px solid #ddd;
255+
padding: 0;
256+
}
257+
258+
/* TABLES
259+
=============================================================================*/
260+
261+
table th {
262+
font-weight: bold;
263+
}
264+
265+
table th, table td {
266+
border: 1px solid #ccc;
267+
padding: 6px 13px;
268+
}
269+
270+
table tr {
271+
border-top: 1px solid #ccc;
272+
background-color: #fff;
273+
}
274+
275+
table tr:nth-child(2n) {
276+
background-color: #f8f8f8;
277+
}
278+
279+
/* IMAGES
280+
=============================================================================*/
281+
282+
img {
283+
max-width: 100%
284+
}

0 commit comments

Comments
 (0)