. We need this to win. */ 69 | margin: 0 0 1.2em 0 !important; 70 | } 71 | 72 | table, pre, dl, blockquote, q, ul, ol { 73 | margin: 1.2em 0; 74 | } 75 | 76 | ul, ol { 77 | padding-left: 2em; 78 | } 79 | 80 | li { 81 | margin: 0.5em 0; 82 | } 83 | 84 | /* Space paragraphs in a list the same as the list itself. */ 85 | li p { 86 | /* Needs !important to override rule above. */ 87 | margin: 0.5em 0 !important; 88 | } 89 | 90 | /* Smaller spacing for sub-lists */ 91 | ul ul, ul ol, ol ul, ol ol { 92 | margin: 0; 93 | padding-left: 1em; 94 | } 95 | 96 | /* Use Roman numerals for sub-ordered-lists. (Like Github.) */ 97 | ol ol, ul ol { 98 | list-style-type: lower-roman; 99 | } 100 | 101 | /* Use letters for sub-sub-ordered lists. (Like Github.) */ 102 | ul ul ol, ul ol ol, ol ul ol, ol ol ol { 103 | list-style-type: lower-alpha; 104 | } 105 | 106 | dl { 107 | padding: 0; 108 | } 109 | 110 | dl dt { 111 | font-size: 1em; 112 | font-weight: bold; 113 | font-style: italic; 114 | } 115 | 116 | dl dd { 117 | margin: 0 0 1em; 118 | padding: 0 1em; 119 | } 120 | 121 | blockquote, q { 122 | border-left: 4px solid #DDD; 123 | padding: 0 1em; 124 | color: #777; 125 | quotes: none; 126 | } 127 | 128 | blockquote::before, blockquote::after, q::before, q::after { 129 | content: none; 130 | } 131 | 132 | h1, h2, h3, h4, h5, h6 { 133 | margin: 1.3em 0 1em; 134 | padding: 0; 135 | font-weight: bold; 136 | } 137 | 138 | h1 { 139 | font-size: 1.6em; 140 | border-bottom: 1px solid #ddd; 141 | } 142 | 143 | h2 { 144 | font-size: 1.4em; 145 | border-bottom: 1px solid #eee; 146 | } 147 | 148 | h3 { 149 | font-size: 1.3em; 150 | } 151 | 152 | h4 { 153 | font-size: 1.2em; 154 | } 155 | 156 | h5 { 157 | font-size: 1em; 158 | } 159 | 160 | h6 { 161 | font-size: 1em; 162 | color: #777; 163 | } 164 | 165 | table { 166 | padding: 0; 167 | border-collapse: collapse; 168 | border-spacing: 0; 169 | font-size: 1em; 170 | font: inherit; 171 | border: 0; 172 | } 173 | 174 | tbody { 175 | margin: 0; 176 | padding: 0; 177 | border: 0; 178 | } 179 | 180 | table tr { 181 | border: 0; 182 | border-top: 1px solid #CCC; 183 | background-color: white; 184 | margin: 0; 185 | padding: 0; 186 | } 187 | 188 | table tr:nth-child(2n) { 189 | background-color: #F8F8F8; 190 | } 191 | 192 | table tr th, table tr td { 193 | font-size: 1em; 194 | border: 1px solid #CCC; 195 | margin: 0; 196 | padding: 0.5em 1em; 197 | } 198 | 199 | table tr th { 200 | font-weight: bold; 201 | background-color: #F0F0F0; 202 | } 203 | -------------------------------------------------------------------------------- /第5章/0504-MarkdownHereWechat-自定义.css: -------------------------------------------------------------------------------- 1 | /* 2 | * NOTE: 3 | * - The use of browser-specific styles (-moz-, -webkit-) should be avoided. 4 | * If used, they may not render correctly for people reading the email in 5 | * a different browser than the one from which the email was sent. 6 | * - The use of state-dependent styles (like a:hover) don't work because they 7 | * don't match at the time the styles are made explicit. (In email, styles 8 | * must be explicitly applied to all elements -- stylesheets get stripped.) 9 | */ 10 | 11 | /* This is the overall wrapper, it should be treated as the `body` section. */ 12 | 13 | .markdown-here-wrapper { 14 | } 15 | 16 | /* To add site specific rules, you can use the `data-md-url` attribute that we 17 | add to the wrapper element. Note that rules like this are used depending 18 | on the URL you're *sending* from, not the URL where the recipient views it. 19 | */ 20 | /* .markdown-here-wrapper[data-md-url*="mail.yahoo."] ul { color: red; } */ 21 | 22 | pre, code { 23 | font-family: Avenir, "PingFangSC-Light"; 24 | 25 | } 26 | 27 | code { 28 | background-color: #F8F8F8; 29 | padding: 0.2em 0.5em; 30 | font-size: 0.9em; 31 | border-radius: 2px; 32 | display: inline; /* added to fix Yahoo block display of inline code */ 33 | white-space: pre-wrap; 34 | } 35 | 36 | pre { 37 | font-size: 1em; 38 | line-height: 1.2em; 39 | } 40 | 41 | pre code { 42 | white-space: pre; 43 | overflow: auto; /* fixes issue #70: Firefox/Thunderbird: Code blocks with horizontal scroll would have bad background colour */ 44 | padding: 0.5em 0.7em; 45 | display: block !important; /* added to counteract the Yahoo-specific `code` rule; without this, code blocks in Blogger are broken */ 46 | } 47 | 48 | /* In edit mode, Wordpress uses a `* { font: ...;} rule+style that makes highlighted 49 | code look non-monospace. This rule will override it. */ 50 | .markdown-here-wrapper[data-md-url*="wordpress."] code span { 51 | font: inherit; 52 | } 53 | 54 | /* Wordpress adds a grey background to `pre` elements that doesn't go well with 55 | our syntax highlighting. */ 56 | .markdown-here-wrapper[data-md-url*="wordpress."] pre { 57 | background-color: transparent; 58 | } 59 | 60 | /* This spacing has been tweaked to closely match Gmail+Chrome "paragraph" (two line breaks) spacing. 61 | Note that we only use a top margin and not a bottom margin -- this prevents the 62 | "blank line" look at the top of the email (issue #243). 63 | */ 64 | p{ 65 | /* !important is needed here because Hotmail/Outlook.com uses !important to 66 | kill the margin in
. We need this to win. */ 67 | font-family: Avenir, "PingFangSC-Light" !important; 68 | font-size: 15px !important; 69 | color: #333 !important; 70 | line-height: 1.8em !important; 71 | letter-spacing: 0.1em !important; 72 | margin: 1em 1em !important; /* 增加段落边距 */ 73 | text-align: justify !important; 74 | } 75 | 76 | table, pre, dl, blockquote, q, ul, ol { 77 | margin: 1.2em 0em; 78 | } 79 | 80 | ul, ol { 81 | padding-left: 2.2em !important; 82 | } 83 | 84 | ul,ol,ul li,li p{ 85 | margin: 0.2em 0; 86 | font-family: Avenir, "PingFangSC-Light" !important; 87 | font-size: 15px !important; 88 | color: #333 !important; 89 | line-height: 1.8em !important; 90 | letter-spacing: 0.1em !important; 91 | margin: 0.2em 0.2em !important; 92 | } 93 | 94 | 95 | 96 | /* Smaller spacing for sub-lists */ 97 | ul ul, ul ol, ol ul, ol ol { 98 | margin: 0; 99 | padding-left: 1em; 100 | } 101 | 102 | /* Use Roman numerals for sub-ordered-lists. (Like Github.) */ 103 | ol ol, ul ol { 104 | list-style-type: circle; 105 | } 106 | 107 | /* Use letters for sub-sub-ordered lists. (Like Github.) */ 108 | ul ul ol, ul ol ol, ol ul ol, ol ol ol { 109 | list-style-type: square; 110 | margin-right: 0em; 111 | 112 | } 113 | 114 | dl { 115 | padding: 0; 116 | } 117 | 118 | dl dt { 119 | font-size: 1em; 120 | font-weight: bold; 121 | font-style: italic; 122 | } 123 | 124 | dl dd { 125 | margin: 0 0 1em; 126 | padding: 0 1em; 127 | } 128 | 129 | blockquote, q { 130 | border-left: 4px solid #DDD; 131 | /* background-color: #fafafa;*/ 132 | padding: 0em; /* 删除内边距 */ 133 | margin: 0em 1em; 134 | color: #777; 135 | quotes: none; 136 | } 137 | 138 | /* 设置引用文本颜色 */ 139 | blockquote p { 140 | color: rgb(119, 117, 117) !important 141 | } 142 | 143 | blockquote::before, blockquote::after, q::before, q::after { 144 | content: none; 145 | } 146 | 147 | h1, h2, h3, h4, h5, h6 { 148 | margin: 1.3em 0 1em; 149 | padding: 0; 150 | font-weight: bold; 151 | } 152 | 153 | h1 { 154 | font-size: 1.6em; 155 | border-bottom: 1px solid #ddd; 156 | color: black; 157 | } 158 | 159 | h2 { 160 | font-size: 1.4em; 161 | text-align: center; 162 | border-bottom: 1px solid #eee; 163 | } 164 | 165 | h3 { 166 | font-size: 1.3em; 167 | padding-left: 0.7em; 168 | } 169 | 170 | h4 { 171 | font-size: 1.2em; 172 | } 173 | 174 | h5 { 175 | font-size: 1em; 176 | } 177 | 178 | h6 { 179 | font-size: 1em; 180 | color: #777; 181 | } 182 | 183 | table { 184 | border-collapse: collapse; 185 | border-spacing: 0; 186 | font-size: .8em; 187 | border: 0; 188 | font-family: Avenir, "PingFangSC-Light"; 189 | } 190 | 191 | tbody { 192 | margin: 0; 193 | padding: 0; 194 | border: 0; 195 | } 196 | 197 | table tr { 198 | border: 0; 199 | border-top: 1px solid #CCC; 200 | background-color: white; 201 | margin: 0; 202 | padding: 0; 203 | 204 | } 205 | 206 | table tr:nth-child(2n) { 207 | background-color: #F8F8F8; 208 | } 209 | 210 | table tr th, table tr td { 211 | font-size: 0.8em; 212 | border: 1px solid #CCC; 213 | margin: 0; 214 | padding: 0.5em 1em; 215 | } 216 | 217 | table tr th { 218 | font-weight: bold; 219 | background-color: #F0F0F0; 220 | } 221 | -------------------------------------------------------------------------------- /第5章/TyporaWechat.css: -------------------------------------------------------------------------------- 1 | /* 2 | - 标题: Typora 编辑器微信公众号自定义样式 3 | - 描述: 本样式代码适用于在Typora编辑器+微信公众号发布的工作流,可避免使用Markdown Here渲染公众号文章项目列表样式丢失的问题,具体的使用方法可参考:http://support.typora.io/Add-Custom-CSS/ 4 | - 作者:半撇 5 | - 公众号: banpie 6 | */ 7 | 8 | body { 9 | font-family: "Open Sans","Clear Sans","Helvetica Neue",Helvetica,Arial,sans-serif; 10 | color: rgb(51, 51, 51); 11 | line-height: 1.6; 12 | text-align:justify; 13 | } 14 | 15 | #write{ 16 | max-width: 860px; 17 | margin: 0 auto; 18 | padding: 20px 30px 40px 30px; 19 | padding-top: 20px; 20 | padding-bottom: 100px; 21 | } 22 | #write > ul:first-child, 23 | #write > ol:first-child{ 24 | margin-top: 30px; 25 | } 26 | 27 | body > *:first-child { 28 | margin-top: 0 !important; 29 | } 30 | body > *:last-child { 31 | margin-bottom: 0 !important; 32 | } 33 | a { 34 | color: #4183C4; 35 | } 36 | h1, 37 | h2, 38 | h3, 39 | h4, 40 | h5, 41 | h6 { 42 | position: relative; 43 | margin-top: 1rem; 44 | margin-bottom: 1rem; 45 | font-weight: bold; 46 | line-height: 1.4; 47 | cursor: text; 48 | } 49 | h1:hover a.anchor, 50 | h2:hover a.anchor, 51 | h3:hover a.anchor, 52 | h4:hover a.anchor, 53 | h5:hover a.anchor, 54 | h6:hover a.anchor { 55 | /*background: url("../../images/modules/styleguide/para.png") no-repeat 10px center;*/ 56 | text-decoration: none; 57 | } 58 | h1 tt, 59 | h1 code { 60 | font-size: inherit; 61 | } 62 | h2 tt, 63 | h2 code { 64 | font-size: inherit; 65 | } 66 | h3 tt, 67 | h3 code { 68 | font-size: inherit; 69 | } 70 | h4 tt, 71 | h4 code { 72 | font-size: inherit; 73 | } 74 | h5 tt, 75 | h5 code { 76 | font-size: inherit; 77 | } 78 | h6 tt, 79 | h6 code { 80 | font-size: inherit; 81 | } 82 | h1 { 83 | padding-bottom: .3em; 84 | font-size: 2.25em; 85 | line-height: 1.2; 86 | border-bottom: 1px solid #eee; 87 | } 88 | h2 { 89 | padding-bottom: .3em; 90 | font-size: 1.4em; 91 | line-height: 1.225; 92 | border-bottom: 1px solid #eee; 93 | text-align: left; 94 | margin-left: 0.7em; 95 | } 96 | h3 { 97 | font-size: 1.2em; 98 | line-height: 1.43; 99 | } 100 | h4 { 101 | font-size: 1.1em; 102 | } 103 | h5 { 104 | font-size: 1em; 105 | } 106 | h6 { 107 | font-size: 1em; 108 | color: #777; 109 | } 110 | p, 111 | blockquote, 112 | ul, 113 | ol, 114 | dl, 115 | table{ 116 | margin: 0.8em 0; 117 | } 118 | li>ol, 119 | li>ul { 120 | margin: 0 0; 121 | } 122 | hr { 123 | height: 4px; 124 | padding: 0; 125 | margin: 16px 0; 126 | background-color: #e7e7e7; 127 | border: 0 none; 128 | overflow: hidden; 129 | box-sizing: content-box; 130 | border-bottom: 1px solid #ddd; 131 | } 132 | 133 | body > h2:first-child { 134 | margin-top: 0; 135 | padding-top: 0; 136 | } 137 | body > h1:first-child { 138 | margin-top: 0; 139 | padding-top: 0; 140 | } 141 | body > h1:first-child + h2 { 142 | margin-top: 0; 143 | padding-top: 0; 144 | } 145 | body > h3:first-child, 146 | body > h4:first-child, 147 | body > h5:first-child, 148 | body > h6:first-child { 149 | margin-top: 0; 150 | padding-top: 0; 151 | } 152 | a:first-child h1, 153 | a:first-child h2, 154 | a:first-child h3, 155 | a:first-child h4, 156 | a:first-child h5, 157 | a:first-child h6 { 158 | margin-top: 0; 159 | padding-top: 0; 160 | } 161 | h1 p, 162 | h2 p, 163 | h3 p, 164 | h4 p, 165 | h5 p, 166 | h6 p { 167 | margin-top: 0; 168 | } 169 | li p.first { 170 | display: inline-block; 171 | } 172 | ul, 173 | ol { 174 | padding-left: 30px; 175 | } 176 | ul:first-child, 177 | ol:first-child { 178 | margin-top: 0; 179 | } 180 | ul:last-child, 181 | ol:last-child { 182 | margin-bottom: 0; 183 | } 184 | blockquote { 185 | border-left: 4px solid #dddddd; 186 | padding: 0 1em; 187 | color: #777777; 188 | } 189 | blockquote blockquote { 190 | padding-right: 0; 191 | } 192 | table { 193 | padding: 0; 194 | word-break: initial; 195 | } 196 | table tr { 197 | border-top: 1px solid #cccccc; 198 | margin: 0; 199 | padding: 0; 200 | } 201 | table tr:nth-child(2n) { 202 | background-color: #f8f8f8; 203 | } 204 | table tr th { 205 | font-weight: bold; 206 | border: 1px solid #cccccc; 207 | text-align: left; 208 | margin: 0; 209 | padding: 6px 13px; 210 | } 211 | table tr td { 212 | border: 1px solid #cccccc; 213 | text-align: left; 214 | margin: 0; 215 | padding: 6px 13px; 216 | } 217 | table tr th:first-child, 218 | table tr td:first-child { 219 | margin-top: 0; 220 | } 221 | table tr th:last-child, 222 | table tr td:last-child { 223 | margin-bottom: 0; 224 | } 225 | 226 | .CodeMirror-gutters { 227 | border-right: 1px solid #ddd; 228 | } 229 | 230 | .md-fences, 231 | code, 232 | tt { 233 | border: 1px solid #ddd; 234 | background-color: #f8f8f8; 235 | border-radius: 3px; 236 | padding: 0; 237 | font-family: Consolas, "Liberation Mono", Courier, monospace; 238 | padding: 2px 4px 0px 4px; 239 | font-size: 0.9em; 240 | } 241 | 242 | .md-fences { 243 | margin-bottom: 15px; 244 | margin-top: 15px; 245 | padding: 0.2em 1em; 246 | padding-top: 8px; 247 | padding-bottom: 6px; 248 | } 249 | .task-list{ 250 | padding-left: 0; 251 | } 252 | 253 | .task-list-item { 254 | padding-left:32px; 255 | } 256 | 257 | .task-list-item input { 258 | top: 3px; 259 | left: 8px; 260 | } 261 | 262 | @media screen and (min-width: 914px) { 263 | /*body { 264 | width: 854px; 265 | margin: 0 auto; 266 | }*/ 267 | } 268 | @media print { 269 | html { 270 | font-size: 13px; 271 | } 272 | table, 273 | pre { 274 | page-break-inside: avoid; 275 | } 276 | pre { 277 | word-wrap: break-word; 278 | } 279 | } 280 | 281 | .md-fences { 282 | background-color: #f8f8f8; 283 | } 284 | #write pre.md-meta-block { 285 | padding: 1rem; 286 | font-size: 85%; 287 | line-height: 1.45; 288 | background-color: #f7f7f7; 289 | border: 0; 290 | border-radius: 3px; 291 | color: #777777; 292 | margin-top: 0 !important; 293 | } 294 | 295 | .mathjax-block>.code-tooltip { 296 | bottom: .375rem; 297 | } 298 | 299 | #write>h3.md-focus:before{ 300 | left: -1.5625rem; 301 | top: .375rem; 302 | } 303 | #write>h4.md-focus:before{ 304 | left: -1.5625rem; 305 | top: .285714286rem; 306 | } 307 | #write>h5.md-focus:before{ 308 | left: -1.5625rem; 309 | top: .285714286rem; 310 | } 311 | #write>h6.md-focus:before{ 312 | left: -1.5625rem; 313 | top: .285714286rem; 314 | } 315 | .md-image>.md-meta { 316 | border: 1px solid #ddd; 317 | border-radius: 3px; 318 | font-family: Consolas, "Liberation Mono", Courier, monospace; 319 | padding: 2px 4px 0px 4px; 320 | font-size: 0.9em; 321 | color: inherit; 322 | } 323 | 324 | .md-tag{ 325 | color: inherit; 326 | } 327 | 328 | .md-toc { 329 | margin-top:20px; 330 | padding-bottom:20px; 331 | } 332 | 333 | .sidebar-tabs { 334 | border-bottom: none; 335 | } 336 | 337 | #typora-quick-open { 338 | border: 1px solid #ddd; 339 | background-color: #f8f8f8; 340 | } 341 | 342 | #typora-quick-open-item { 343 | background-color: #FAFAFA; 344 | border-color: #FEFEFE #e5e5e5 #e5e5e5 #eee; 345 | border-style: solid; 346 | border-width: 1px; 347 | } 348 | 349 | #md-notification:before { 350 | top: 10px; 351 | } 352 | 353 | /** focus mode */ 354 | .on-focus-mode blockquote { 355 | border-left-color: rgba(85, 85, 85, 0.12); 356 | } 357 | 358 | header, .context-menu, .megamenu-content, footer{ 359 | font-family: "Segoe UI", "Arial", sans-serif; 360 | } 361 | 362 | .file-node-content:hover .file-node-icon, 363 | .file-node-content:hover .file-node-open-state{ 364 | visibility: visible; 365 | } 366 | 367 | .mac-seamless-mode #typora-sidebar { 368 | background-color: #fafafa; 369 | background-color: var(--side-bar-bg-color); 370 | } 371 | 372 | .md-lang { 373 | color: #b4654d; 374 | } 375 | 376 | body p{ 377 | margin-left: 1em ; 378 | margin-right: 1em ; 379 | margin-top: 1em ; 380 | margin-bottom: 1em ; 381 | } 382 | body ul p, body ol p, blockquote p{ 383 | margin-left: 0em !important; 384 | margin-right: 0em !important; 385 | margin-top: 0em !important; 386 | margin-bottom: 0em !important; 387 | } 388 | ul,ol{ 389 | margin-left: 0.5em !important; 390 | margin-right: 1em !important; 391 | margin-top: 0em !important; 392 | margin-bottom: 0em !important; 393 | } 394 | 395 | 396 | p{ 397 | font-family: Avenir, "PingFangTC-Light" !important; 398 | line-height: 1.8em !important; 399 | font-size: 16px !important; 400 | box-sizing: border-box !important; 401 | word-wrap: break-word !important; 402 | text-align: justify !important; 403 | line-height: 1.8em !important; 404 | color: rgb(79, 79, 79) !important; 405 | 406 | } 407 | 408 | /*@让Toropra客户端的列表上下边距合理*/ 409 | ul li p,ol li p{ 410 | margin:0em; 411 | -webkit-margin-before:0em; 412 | -webkit-margin-before:0em; 413 | font-size:16px !important; 414 | } 415 | 416 | ul li p span,ol li p span{ 417 | font-family: Avenir, "PingFangTC-Light" !important; 418 | margin:0em; 419 | -webkit-margin-before:0em; 420 | -webkit-margin-before:0em; 421 | font-size:16px !important; 422 | } 423 | 424 | 425 | 426 | blockquote{ 427 | margin-left: 1em; 428 | } 429 | 430 | h3,h4 { 431 | margin-left: 16px; 432 | } 433 | 434 | code { 435 | background-color: #F8F8F8; 436 | padding: 0.2em 0.5em; 437 | font-size: 0.9em; 438 | border-radius: 2px; 439 | display: inline; /* added to fix Yahoo block display of inline code */ 440 | white-space: pre-wrap; 441 | } -------------------------------------------------------------------------------- /第6章/本章无配套文件.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BPteach/CM310-Exercise-Files/aaaad12b3830aad0d94c8f4e81513195d67d4f88/第6章/本章无配套文件.txt -------------------------------------------------------------------------------- /第7章/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BPteach/CM310-Exercise-Files/aaaad12b3830aad0d94c8f4e81513195d67d4f88/第7章/.DS_Store -------------------------------------------------------------------------------- /第7章/0701-Markdown文章.txt: -------------------------------------------------------------------------------- 1 | > 创造力教育与文化教育一样,应该放在公共教育的首要位置。 2 | 3 | 这是 TED 历史点击量最高的一段[视频](http://www.ted.com/talks/ken_robinson_says_schools_kill_creativity),在不到20分钟的演讲里,笑声此起彼伏,Ken Robinson 不时的停顿一下,让现场的幽默感发酵片刻,再继续他的故事。 4 | 5 |  6 | 7 | ## 画上帝的女孩 8 | 9 | 演讲从一个小女孩的故事开始。 10 | 11 | 小女孩坐在教室的后排,她从来都不是认真上课的那一卦,但每次绘画课她总是表现的得格外认真。老师从她身边走过,看着她的画板饶有兴致的问:“你在画什么啊”? 12 | 13 | 她说:“我画的是上帝”。 14 | 老师又问:“可没人知道上帝长什么样,你怎么画呢”? 15 | 她说:“等我画完,他们就知道了啊!” 16 | 17 | 这让我想起了在城大上研究方法的第一节课,我兴致勃勃问老师:“与没有什么比较权威的文献报告可以参考啊”?老师却一脸严肃的回我说:“没有什么所谓权威,许多诺贝尔奖也都挑战权威出来的,你应该自己学会去探索”。 18 | 19 | 从小到大的教育似乎总是在教我要掌握好一个标准,在这个过程中,那种与生俱来的冒险精神就慢慢的丢失了。现在回头想想,我这种不喜欢**犯错**,做事喜欢找参考标准的习惯应该也是在这种体制的陋习吧? 20 | 21 | Ken Robinson 当然同意犯错并不等于创新,但是**如果永不犯错,我们也永远不会创造出新东西**,而问题是我们现在的教育体系却成最不容忍错误的地方。 22 | 23 | ## 多动症的治愈 24 | 25 | 第二个故事还是关于一个女孩的。她好动,不安分,在学校作业也不按时完成,所以妈妈把她带去了儿童医院做诊断。医生在诊室和女孩聊了一会,然后离开时打开收音机,让女孩自己在房间里面呆着,医生和妈妈在真是外面观察:女孩站了起来,随着收音机里头的音乐手舞足蹈。 26 | 27 | 妈妈和医生在门外看了几分钟,医生便说:你女儿没病,她是个舞蹈天才,你送她去上舞蹈学校吧”。 28 | 29 | 女孩后来她考入皇家芭蕾舞学校,成为芭蕾舞女主演,毕业后还成立了知名的的舞蹈公司——Gillian Lynne。 30 | 31 | 我一直相信每个人的出生都是带着某一项使命来着,成为一个教育者,一个歌手,一个学者等等,你不断破除哪些阻止你探索自我的障碍,最后发现你真正想成为的那个人。如果天生注定,一切只是时间问题。 32 | 33 | 但是我们的公共教育系统都是建立在19世纪之前,为了满足当时满足工业化发展的需要,整个教育都围绕了两个基本的准则: 34 | 35 | - **强调实用性**:以工作为导向的科目是最重要的,所以许多孩子喜欢的科目,从小就不避免让他们过多的接触:别玩音乐了,反正也成不了音乐家;别画画了,反正成不了艺术家,所以整个全世界都被卷入了工业革命的热潮。 36 | 37 | - **学术能力为标准**:整个公共教育系统就是一个按部就班的程序,最终目标是为了考入大学,所以许多学生的创造力被钝化了,因为他们的专长在学校不仅不重视甚至还受到蔑视,所以整个教育体系培养的是大学教授。 38 | 39 | 但是教育的目的是培养未来公民,而不是未来技工——以功利为目的,这种方式对于未来将不再适用。而足最大限度地发挥创造力的方法,就是用孩子喜欢的方式去培养他们。 40 | 41 | 我们可能活不到未来的那天,但孩子们会的。所以我们要尽其所能,帮助他们能在未来有所作为。 42 | 43 | 这是一个教育家最后的话,我也以我在知乎看过的刘二所说过一句话做结尾: 44 | > 但凡是用心的学生,但凡是热爱教育事业的老师,都会捕捉住一点一滴的新奇。 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /第7章/0702-image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BPteach/CM310-Exercise-Files/aaaad12b3830aad0d94c8f4e81513195d67d4f88/第7章/0702-image.jpg -------------------------------------------------------------------------------- /第7章/0703-公众号排版设计规范文档.MD: -------------------------------------------------------------------------------- 1 | # 公众号排版设计规范文档 2 | 3 | ## 配色方案 4 | 5 | RGB和HEX色彩值的转换,查看 [链接](http://www.sioe.cn/yingyong/yanse-rgb-16/)。 6 | 7 | - 主色:#00b38a 8 | - 辅色:#232B2D 9 | - 无彩色系: 10 | 11 | - 黑:#333333 12 | - 中黑:#777575 13 | 14 | - 中灰:#DDDDDD 15 | - 灰:#FAFAFA 16 | 17 | ## 价值定位 18 | 19 | 可选,可自定义,静态图片/动态图片/文字皆可。 20 | 21 | ## 导语区块 22 | 23 | - 左边框: 24 | - 颜色:中黑#777777 25 | - 导语文本: 26 | - 字体类型:Avenir, "PingFangSC-Light" 27 | - 字体颜色:中黑#777777 28 | - 内边距:0em 29 | - 外边距:1em 30 | 31 | ## 二级标题 32 | 33 | - 标题文本: 34 | - 字体类型:Avenir, "PingFangSC-Light" 35 | - 字体大小:1.3em 36 | - 对齐:居中对齐 37 | - 字体颜色:主色#00b38a 38 | - 外边距:1em 39 | 40 | ## 正文区块 41 | 42 | - 正文文本 43 | - 字体类型:Avenir, "PingFangSC-Light" 44 | - 字体大小:15px 45 | - 字体颜色:辅色#232B2D 46 | - 行高:1.8em 47 | - 边距:1em 48 | 49 | ## 强调文本区块 50 | 51 | - 强调文本: 52 | - 颜色值:黑#333333 53 | 54 | ## 行动呼唤区块 55 | 56 | 可选,可自定义,静态图片/动态图片/文字皆可。 -------------------------------------------------------------------------------- /第7章/0704-MarkdownHere-默认渲染代码.css: -------------------------------------------------------------------------------- 1 | /* 以下代码为 Markdown Here 默认样式,请从本文文末提示处开始修改 */ 2 | 3 | /* 4 | * NOTE: 5 | * - The use of browser-specific styles (-moz-, -webkit-) should be avoided. 6 | * If used, they may not render correctly for people reading the email in 7 | * a different browser than the one from which the email was sent. 8 | * - The use of state-dependent styles (like a:hover) don't work because they 9 | * don't match at the time the styles are made explicit. (In email, styles 10 | * must be explicitly applied to all elements -- stylesheets get stripped.) 11 | */ 12 | 13 | /* This is the overall wrapper, it should be treated as the `body` section. */ 14 | .markdown-here-wrapper { 15 | } 16 | 17 | /* To add site specific rules, you can use the `data-md-url` attribute that we 18 | add to the wrapper element. Note that rules like this are used depending 19 | on the URL you're *sending* from, not the URL where the recipient views it. 20 | */ 21 | /* .markdown-here-wrapper[data-md-url*="mail.yahoo."] ul { color: red; } */ 22 | 23 | pre, code { 24 | font-size: 0.85em; 25 | font-family: Consolas, Inconsolata, Courier, monospace; 26 | } 27 | 28 | code { 29 | margin: 0 0.15em; 30 | padding: 0 0.3em; 31 | white-space: pre-wrap; 32 | border: 1px solid #EAEAEA; 33 | background-color: #F8F8F8; 34 | border-radius: 3px; 35 | display: inline; /* added to fix Yahoo block display of inline code */ 36 | } 37 | 38 | pre { 39 | font-size: 1em; 40 | line-height: 1.2em; 41 | } 42 | 43 | pre code { 44 | white-space: pre; 45 | overflow: auto; /* fixes issue #70: Firefox/Thunderbird: Code blocks with horizontal scroll would have bad background colour */ 46 | border-radius: 3px; 47 | border: 1px solid #CCC; 48 | padding: 0.5em 0.7em; 49 | display: block !important; /* added to counteract the Yahoo-specific `code` rule; without this, code blocks in Blogger are broken */ 50 | } 51 | 52 | /* In edit mode, Wordpress uses a `* { font: ...;} rule+style that makes highlighted 53 | code look non-monospace. This rule will override it. */ 54 | .markdown-here-wrapper[data-md-url*="wordpress."] code span { 55 | font: inherit; 56 | } 57 | 58 | /* Wordpress adds a grey background to `pre` elements that doesn't go well with 59 | our syntax highlighting. */ 60 | .markdown-here-wrapper[data-md-url*="wordpress."] pre { 61 | background-color: transparent; 62 | } 63 | 64 | /* This spacing has been tweaked to closely match Gmail+Chrome "paragraph" (two line breaks) spacing. 65 | Note that we only use a top margin and not a bottom margin -- this prevents the 66 | "blank line" look at the top of the email (issue #243). 67 | */ 68 | p { 69 | /* !important is needed here because Hotmail/Outlook.com uses !important to 70 | kill the margin in
. We need this to win. */ 71 | margin: 0 0 1.2em 0 !important; 72 | } 73 | 74 | table, pre, dl, blockquote, q, ul, ol { 75 | margin: 1.2em 0; 76 | } 77 | 78 | ul, ol { 79 | padding-left: 2em; 80 | } 81 | 82 | /* Fix Wechat bullet point display Error */ 83 | ul{ 84 | list-style-type: disc !important; 85 | } 86 | 87 | li { 88 | margin: 0.5em 0; 89 | } 90 | 91 | /* Space paragraphs in a list the same as the list itself. */ 92 | li p { 93 | /* Needs !important to override rule above. */ 94 | margin: 0.5em 0 !important; 95 | } 96 | 97 | /* Smaller spacing for sub-lists */ 98 | ul ul, ul ol, ol ul, ol ol { 99 | margin: 0; 100 | padding-left: 1em; 101 | } 102 | 103 | /* Use Roman numerals for sub-ordered-lists. (Like Github.) */ 104 | ol ol, ul ol { 105 | list-style-type: lower-roman; 106 | } 107 | 108 | /* Use letters for sub-sub-ordered lists. (Like Github.) */ 109 | ul ul ol, ul ol ol, ol ul ol, ol ol ol { 110 | list-style-type: lower-alpha; 111 | } 112 | 113 | dl { 114 | padding: 0; 115 | } 116 | 117 | dl dt { 118 | font-size: 1em; 119 | font-weight: bold; 120 | font-style: italic; 121 | } 122 | 123 | dl dd { 124 | margin: 0 0 1em; 125 | padding: 0 1em; 126 | } 127 | 128 | blockquote, q { 129 | border-left: 4px solid #DDD; 130 | padding: 0 1em; 131 | color: #777; 132 | quotes: none; 133 | } 134 | 135 | blockquote::before, blockquote::after, q::before, q::after { 136 | content: none; 137 | } 138 | 139 | h1, h2, h3, h4, h5, h6 { 140 | margin: 1.3em 0 1em; 141 | padding: 0; 142 | font-weight: bold; 143 | } 144 | 145 | h1 { 146 | font-size: 1.6em; 147 | border-bottom: 1px solid #ddd; 148 | } 149 | 150 | h2 { 151 | font-size: 1.4em; 152 | border-bottom: 1px solid #eee; 153 | } 154 | 155 | h3 { 156 | font-size: 1.3em; 157 | } 158 | 159 | h4 { 160 | font-size: 1.2em; 161 | } 162 | 163 | h5 { 164 | font-size: 1em; 165 | } 166 | 167 | h6 { 168 | font-size: 1em; 169 | color: #777; 170 | } 171 | 172 | table { 173 | padding: 0; 174 | border-collapse: collapse; 175 | border-spacing: 0; 176 | font-size: 1em; 177 | font: inherit; 178 | border: 0; 179 | } 180 | 181 | tbody { 182 | margin: 0; 183 | padding: 0; 184 | border: 0; 185 | } 186 | 187 | table tr { 188 | border: 0; 189 | border-top: 1px solid #CCC; 190 | background-color: white; 191 | margin: 0; 192 | padding: 0; 193 | } 194 | 195 | table tr:nth-child(2n) { 196 | background-color: #F8F8F8; 197 | } 198 | 199 | table tr th, table tr td { 200 | font-size: 1em; 201 | border: 1px solid #CCC; 202 | margin: 0; 203 | padding: 0.5em 1em; 204 | } 205 | 206 | table tr th { 207 | font-weight: bold; 208 | background-color: #F0F0F0 !important; 209 | } 210 | 211 | 212 | /* 从此处开始修改! */ 213 | /* 请根据项目要求以及注释提示,修改本渲染代码,修改后将所有代码复制到 Markdown Here 的渲染窗口中即可应用 */ 214 | 215 | p{ 216 | /* 正文在这里修改,记住后面加上!important进行强调应用 */ 217 | } 218 | 219 | blockquote, q { 220 | /* 导语区块在这里修改,记住后面加上!important进行强调应用 */ 221 | 222 | } 223 | 224 | blockquote p { 225 | /* 导语字体颜色在这里修改,记住后面加上!important进行强调应用 */ 226 | } 227 | 228 | h2 { 229 | /* 二级标题这里修改,记住后面加上!important进行强调应用 */ 230 | 231 | } 232 | 233 | strong { 234 | /* 强调文本在这里修改,记住后面加上!important进行强调应用 */ 235 | 236 | } 237 | 238 | 239 | -------------------------------------------------------------------------------- /第7章/0705-参考范例.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BPteach/CM310-Exercise-Files/aaaad12b3830aad0d94c8f4e81513195d67d4f88/第7章/0705-参考范例.png -------------------------------------------------------------------------------- /第7章/CM310-新媒体数字排版课程项目-学号-姓名-平台昵称-v1.0.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BPteach/CM310-Exercise-Files/aaaad12b3830aad0d94c8f4e81513195d67d4f88/第7章/CM310-新媒体数字排版课程项目-学号-姓名-平台昵称-v1.0.docx --------------------------------------------------------------------------------