小书匠MarkDown样式CCS Posted on 2023-04-01 | In 奇技淫巧 经过不断的摸索终于搞定了小书匠在苹果手机上面的字体显示不明显问题,现在将自己重新修改过的CCS样式贴出来,以供记录: 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100a:focus { outline: thin dotted #333; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px;}a:hover,a:active { outline: 0;}a { color: #0088cc; text-decoration: none;}a:hover { color: #005580; text-decoration: underline;}p { margin: 0 0 1.1em;}small { font-size: 85%;}strong { font-weight: bold;}em { font-style: italic;}cite { font-style: normal;}h1.story_title { margin: 0.7em 0;}.story_tags { margin: 0 0 1.2em;}h1,h2,h3,h4,h5,h6 { margin: 0.5em 0; margin: 1.0em 0 .6em 0; font-family: inherit; font-weight: 500; line-height: 20px; color: inherit; text-rendering: optimizelegibility;}h1,h2,h3 { line-height: 40px;}h1 { font-size: 38.5px;}h2 { font-size: 31.5px;}h3 { font-size: 24.5px;}h4 { font-size: 17.5px;}h5 { font-size: 14px;}h6 { font-size: 11.9px;}ul,ol { padding: 0; margin: 0 0 10px 35px;}ul ul,ul ol,ol ol,ol ul { margin-bottom: 0;}dl { margin-bottom: 20px;}dt,dd { line-height: 20px;}dt { font-weight: bold;}dd { margin-left: 10px;}hr { margin: 20px 0; border: 0; border-top: 1px solid #eeeeee; border-bottom: 1px solid #ffffff;}abbr[title],abbr[data-original-title] { cursor: help; border-bottom: 1px dotted #999999;}blockquote { padding: 0 0 0 15px; margin: 0 0 20px; border-left: 5px solid #dddddd;}blockquote p { margin-bottom: 0; font-size: 16px; font-weight: 300; line-height: 25px;}blockquote small { display: block; line-height: 20px; color: #999999;}blockquote small:before { content: '\2014 \00A0';}q:before,q:after,blockquote:before,blockquote:after { content: "";}address { display: block; margin-bottom: 20px; font-style: normal; line-height: 20px;}img { height: auto; max-width: 100%; vertical-align: middle; border: 0;}table { max-width: 100%; background-color: transparent; border-collapse: collapse; border-spacing: 0; border: 1px solid rgba(34,36,38,.15);}.tag.label{display: inline-block;vertical-align: baseline;line-height: 1;margin: 0.125em 0.125em;background-color: #ebeeef;border-color: #ebeeef;background-image: none;padding: 0.6em 0.8em;color: #5e6060;text-transform: none;font-weight: bold;border-radius: 0.2857rem;box-sizing: border-box;font-size: 12px;}.table { width: 100%; margin-bottom: 20px;}.table th,.table td { padding: 8px; line-height: 20px; text-align: left; vertical-align: top; border-top: 1px solid #dddddd;}.table th { font-weight: bold;}.table thead th { vertical-align: bottom;}.table caption + thead tr:first-child th,.table caption + thead tr:first-child td,.table colgroup + thead tr:first-child th,.table colgroup + thead tr:first-child td,.table thead:first-child tr:first-child th,.table thead:first-child tr:first-child td { border-top: 0;}.table tbody + tbody { border-top: 2px solid #dddddd;}.table .table { background-color: #ffffff;}.table-striped tbody > tr:nth-child(odd) > td,.table-striped tbody > tr:nth-child(odd) > th { background-color: #f9f9f9;}tr { page-break-inside: avoid; }.story_image_container{ page-break-inside: avoid;}.xsj_underline{ page-break-after: always; visibility: hidden;}.table-celled.table tr td,.table-celled.table tr th { border-left: 1px solid rgba(34,36,38,.1)}.table-celled.table tr td:first-child,.table-celled.table tr th:first-child { border-left: none}.toc ul { list-style: none;}p { line-height: 1.6;}body>p { margin-bottom: 1.8em;}body>p>img.center,body>p>a>img.center { display: block; margin: 0 auto; background-color: rgba(128,128,128,0.3);}body { font-family: 'Helvetica Neue', Helvetica, Tahoma, Arial, 'Hiragino Sans GB', STHeiti, "Microsoft YaHei", "微软雅黑", 'WenQuanYi Micro Hei', STXihei, "华文细黑", Heiti, "黑体", SimSun, "宋体", Song, sans-serif; font-size: 18px; line-height: 1.33; font-weight: 100;// line-height: 1.8em; color: #2f2f2f; word-wrap: break-word; word-break: break-word;}em.cjk_emphasis{ font-style: normal; font-family: Georgia,"Times New Roman",Times,"楷体","AR PL UKai CN", "NSimSun","Songti SC","SimSun",serif!important;}body dt,body dd { line-height: 1.35em;}body code, body .xiaoshujiang_code {// background-color: #D6DBDF; border: 0; border-radius: 4px;// color: #2C3E50; font-size: 90%;// padding: 2px 4px;}code { background-color: rgba(214, 219, 223, 0.28); border-radius: 4px; color: #2C3E50; padding: 2px 4px;}.xiaoshujiang_code ol{ margin-bottom: 0px;}body h1 { line-height: 1.6;}body h2 { line-height: 1.1;}body h3 { line-height: 1.1;}.hljs, .hljs * { overflow: visible !important;} /** * Treeview syntax highlighting based on highlight.js * Copyright (c) 2014-2015, Asciidocfx Team, (MIT Licensed) * https://github.com/asciidocfx/highlight-treeview.js */.language-treeview.hljs{ position: relative;}.hljs-folder,.hljs-hiddenfile,.hljs-file { position: relative; vertical-align: top; display: inline-block; height: 16px;}.hljs-folder:before,.hljs-file:before,.hljs-hiddenfile:before { top: 0; content: ''; width: 14px; height: 12px; margin-top: 0px; margin-right: 3px; position: relative; display: inline-block; background-size: 14px; background-repeat: no-repeat;}.hljs-file:before,.hljs-hiddenfile:before { height: 14px; margin-left: 1px;}.hljs-hiddenfile { opacity: 0.6;}.hljs-file.photo:before { font: normal normal normal 14px/1 FontAwesome; content: "\f1c5";}.hljs-file.plain:before { font: normal normal normal 14px/1 FontAwesome; content: "\f016";}.hljs-file.source:before { font: normal normal normal 14px/1 FontAwesome; content: "\f1c9";}.hljs-file.archive:before { font: normal normal normal 14px/1 FontAwesome; content: "\f1c6";}.hljs-file.audio:before { font: normal normal normal 14px/1 FontAwesome; content: "\f1c7";}.hljs-file.video:before { font: normal normal normal 14px/1 FontAwesome; content: "\f1c8";}.hljs-file.pdf:before { font: normal normal normal 14px/1 FontAwesome; content: "\f1c1";}.hljs-file.xls:before { font: normal normal normal 14px/1 FontAwesome; content: "\f1c3";}.hljs-file.doc:before { font: normal normal normal 14px/1 FontAwesome; content: "\f1c2";}.hljs-file.ppt:before { font: normal normal normal 14px/1 FontAwesome; content: "\f1c4";}.hljs-folder:before { font: normal normal normal 14px/1 FontAwesome; content: "\f114";}.hljs-hiddenfile:before { font: normal normal normal 14px/1 FontAwesome; content: "\f016";}.hljs-tvline { margin-left: 6px; position: absolute; text-indent: -99em; padding-bottom: 8px; vertical-align: top; display: inline-block; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(94, 144, 117);}.hljs-folder-branch { width: 8px; height: 8px; margin-top: -1px; margin-left: 6px; text-indent: -99em; position: relative; vertical-align: top; display: inline-block; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(94, 144, 117);}.hljs-folder-branch.win { width: 14px; margin-right: 2px;}.hljs-folder-last-branch { height: 7px; width: 7px; margin-left: 6px; text-indent: -99em; position: relative; vertical-align: top; display: inline-block; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(94, 144, 117); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(94, 144, 117);}.hljs-folder-last-branch.win { width: 13px; margin-right: 2px;}/** * Treeview syntax highlighting based on highlight.js */.mark{ border: 0; background-color: rgba(221, 243, 231, 0.4); border-radius: 4px; color: #29754d; font-size: 90%; padding: 2px 4px;}.line_mark{ border: 1px dashed #3A4C42; margin-top: 2px;}code .mark, .xiaoshujiang_code .mark{ border-radius: 0px; font-size: initial; padding: initial;}a.attachment{ background-color: #ecf0f3; border: 1px solid #bec6cb; display: inline-block; padding: 5px; margin: 2px; min-width: 250px;}a.attachment i.fa{ font-size: 3em; float: left; margin-right: 0.2em;}a.attachment .filename{ vertical-align: top; text-align: left; font-weight: bold;}a.attachment .filesize{ display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; opacity: .6; font-size: 80%; white-space: nowrap;}.checkbox .checked{ text-decoration: line-through;}.flow-chart, .sequence-diagram{ text-align: center;}.plot, .plot-image{ text-align: center; min-height: 200px; min-width: 200px;}pre, .xiaoshujiang_pre { line-height: initial !important; word-wrap: break-word; word-break: break-word; tab-size: 4; white-space: pre-wrap;}.xiaoshujiang_code_container pre{ margin: 0px;}.xiaoshujiang_code_container.xiaoshujiang_code_chunk{ box-shadow: 0 0 0 1px #A3C293 inset,0 0 0 0 transparent; margin: 1em 0; padding: 1em;}.xiaoshujiang_code_container.xiaoshujiang_code_chunk_hide_code{ box-shadow: initial; padding: initial; padding-bottom: 2em;}.xiaoshujiang_code_container .out_put{ box-shadow: 0 0 0 1px #A3C293 inset,0 0 0 0 transparent; margin: 1em 0; background-color: #FCFFF5; color: #2C662D; padding: 1em;}.xiaoshujiang_code_container .out_put_error{ background-color: #FFF6F6; color: #9F3A38; margin: 1em 0; box-shadow: 0 0 0 1px #E0B4B4 inset,0 0 0 0 transparent; padding: 1em;}.xiaoshujiang_pre { font-family: monospace;}.story_align_left, .story_align_left .story_image_container { text-align: left;}.story_align_right, .story_align_right .story_image_container { text-align: right;}.story_align_center, .story_align_center .story_image_container { text-align: center;}.story_align_justify, .story_align_justify .story_image_container { text-align: justify;}/** * code line nums */code.hljs.code_linenums, .xiaoshujiang_code.hljs.code_linenums{ position: relative;}.ol_linenums{ padding: 0px; margin-left: 2em; border-left: 1px solid #e0e0e0;}.li_linenum{ position:relative; margin-left: 0.5em; list-style: none; counter-increment: lines 1;}.li_linenum.li_list_style{ list-style: inherit; margin-left: 5px;}.li_linenum:before, .li_linenum_before_span{ content: counter(lines, decimal); position: absolute; left: -3em; text-align: center; width: 2.5em; vertical-align: top;}.li_linenum_before_span_hide{ display: none;}.xiaoshujiang_code .code_line_break_hack{ margin:0; border:0; border-top:0; border-bottom:0;}/** * code line nums */.mathjax-container{ text-align: center;}div.mathjax{ max-width: 600px; margin: 0 auto; font-size: 14px;}text{ font-size: 14px;}/** * block image */.story_image_container{ text-align: center;}.story_image_container>.story_image{ display: inline-block; position: relative; max-width: 80%;}.story_image_caption{ border-bottom: 1px solid #d9d9d9; display: inline-block; color: #999; padding: 10px;}.story_image_blank_caption{ border-bottom: 0px;}/**.story_image:before, .story_image:after{ content: ''; position: absolute; z-index: -2; bottom: 13px; left: 10px; width: 50%; height: 20%; border-radius: 10px/90px; box-shadow: 0 15px 10px rgba(0,0,0,0.7); -webkit-transform: rotate(-3deg); -moz-transform: rotate(-3deg); -ms-transform: rotate(-3deg); -o-transform: rotate(-3deg); transform: rotate(-3deg);}.story_image:after { right: 10px; left: auto; -webkit-transform: rotate(3deg); -moz-transform: rotate(3deg); -ms-transform: rotate(3deg); -o-transform: rotate(3deg); transform: rotate(3deg);}**/.story_image>img{ border-radius: 0.3125em; box-shadow: 0 2px 4px 0 rgba(34,36,38,.12),0 2px 10px 0 rgba(34,36,38,.08);}.story_inline_image>img{ max-width: 50%; vertical-align: bottom;}.story_remote_resource_block{ text-align: center;}.xiaoshujiang_code_container { margin: 1em 0px; position: relative; padding-bottom: 2em;}.xiaoshujiang_code_title_container{ font-size: 70%; opacity: 0.5;}.xiaoshujiang_code_title_container>.xiaoshujiang_code_infos{ float: right;}.task-list-item{ list-style: none;}.task-list-item.li_list_style{ list-style:inherit;}.task-list-item>input{ margin: 0 0 0 -20px;}.video_container{ width: 100%; display: table; text-align: center; position: relative; padding-bottom: 56.25%!important;}.slideshare_container .inner{ position: relative; width: 100%;}.slideshare_container .inner iframe{ width: 100%; height: 100%; position: absolute; top: 0; bottom: 0; left: 0; right: 0;}.video_container iframe{ width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 1; vertical-align: middle;}kbd{ display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb;}.blank_anchor_id { float: right; width: 1px}.blank_anchor_id { visibility: hidden;}.blank_anchor_id:before { content: 'a';}blockquote footer{ margin: 1em 0; font-style: italic;}blockquote footer cite { margin: 0 1em;}/*wavedrom start*/.wavedrom_svg text, .wavedrom_svg_defs text { font-size:11pt; font-style:normal; font-variant:normal; font-weight:normal; font-stretch:normal; text-align:center; fill-opacity:1; font-family:Helvetica}.wavedrom_svg .muted, .wavedrom_svg_defs .muted { fill:#aaa}.wavedrom_svg .warning, .wavedrom_svg_defs .warning { fill:#f6b900}.wavedrom_svg .error, .wavedrom_svg_defs .error { fill:#f60000}.wavedrom_svg .info, .wavedrom_svg_defs .info { fill:#0041c4}.wavedrom_svg .success, .wavedrom_svg_defs .success { fill:#00ab00}.wavedrom_svg .h1, .wavedrom_svg_defs .h1 { font-size:33pt; font-weight:bold}.wavedrom_svg .h2, .wavedrom_svg_defs .h2 { font-size:27pt; font-weight:bold}.wavedrom_svg .h3, .wavedrom_svg_defs .h3 { font-size:20pt; font-weight:bold}.wavedrom_svg .h4, .wavedrom_svg_defs .h4 { font-size:14pt; font-weight:bold}.wavedrom_svg .h5, .wavedrom_svg_defs .h5 { font-size:11pt; font-weight:bold}.wavedrom_svg .h6, .wavedrom_svg_defs .h6 { font-size:8pt; font-weight:bold}.wavedrom_svg_defs .s1 { fill:none; stroke:#000; stroke-width:1; stroke-linecap:round; stroke-linejoin:miter; stroke-miterlimit:4; stroke-opacity:1; stroke-dasharray:none}.wavedrom_svg_defs .s2 { fill:none; stroke:#000; stroke-width:0.5; stroke-linecap:round; stroke-linejoin:miter; stroke-miterlimit:4; stroke-opacity:1; stroke-dasharray:none}.wavedrom_svg_defs .s3 { color:#000; fill:none; stroke:#000; stroke-width:1; stroke-linecap:round; stroke-linejoin:miter; stroke-miterlimit:4; stroke-opacity:1; stroke-dasharray:1,3; stroke-dashoffset:0; marker:none; visibility:visible; display:inline; overflow:visible; enable-background:accumulate}.wavedrom_svg_defs .s4 { color:#000; fill:none; stroke:#000; stroke-width:1; stroke-linecap:round; stroke-linejoin:miter; stroke-miterlimit:4; stroke-opacity:1; stroke-dasharray:none; stroke-dashoffset:0; marker:none; visibility:visible; display:inline; overflow:visible}.wavedrom_svg_defs .s5 { fill:#fff; stroke:none}.wavedrom_svg_defs .s6 { color:#000; fill:#ffffb4; fill-opacity:1; fill-rule:nonzero; stroke:none; stroke-width:1px; marker:none; visibility:visible; display:inline; overflow:visible; enable-background:accumulate}.wavedrom_svg_defs .s7 { color:#000; fill:#ffe0b9; fill-opacity:1; fill-rule:nonzero; stroke:none; stroke-width:1px; marker:none; visibility:visible; display:inline; overflow:visible; enable-background:accumulate}.wavedrom_svg_defs .s8 { color:#000; fill:#b9e0ff; fill-opacity:1; fill-rule:nonzero; stroke:none; stroke-width:1px; marker:none; visibility:visible; display:inline; overflow:visible; enable-background:accumulate}.wavedrom_svg_defs .s9 { fill:#000; fill-opacity:1; stroke:none}.wavedrom_svg_defs .s10 { color:#000; fill:#fff; fill-opacity:1; fill-rule:nonzero; stroke:none; stroke-width:1px; marker:none; visibility:visible; display:inline; overflow:visible; enable-background:accumulate}.wavedrom_svg_defs .s11 { fill:#0041c4; fill-opacity:1; stroke:none}.wavedrom_svg_defs .s12 { fill:none; stroke:#0041c4; stroke-width:1; stroke-linecap:round; stroke-linejoin:miter; stroke-miterlimit:4; stroke-opacity:1; stroke-dasharray:none}/*wavedrom stop*/.mermaid_svg{font-family: monospace;}@media print{ body{ word-wrap: break-word; word-break: break-word; background: initial; } .xiaoshujiang_element.xsj_anchor{ position: absolute; }}/*Description: Magula style for highligh.jsAuthor: Ruslan Keba <[email protected]>Website: http://rukeba.com/Version: 1.0Date: 2009-01-03Music: Aphex Twin / Xtal*/.hljs { display: block; overflow-x: auto; padding: 0.5em; background-color: #f4f4f4;}.hljs,.hljs-subst { color: black;}.hljs-string,.hljs-title,.hljs-symbol,.hljs-bullet,.hljs-attribute,.hljs-addition,.hljs-variable,.hljs-template-tag,.hljs-template-variable { color: #050;}.hljs-comment,.hljs-quote { color: #777;}.hljs-number,.hljs-regexp,.hljs-literal,.hljs-type,.hljs-link { color: #800;}.hljs-deletion,.hljs-meta { color: #00e;}.hljs-keyword,.hljs-selector-tag,.hljs-doctag,.hljs-title,.hljs-section,.hljs-built_in,.hljs-tag,.hljs-name { font-weight: bold; color: navy;}.hljs-emphasis { font-style: italic;}.hljs-strong { font-weight: bold;}body{font-size: 16px;background:white;padding-left:20px;padding-right:20px;font-family:-apple-system-font,"Helvetica Neue",Helvetica, Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;}h1,h2,h3 { padding-top:10px; padding-buttom:10px; margin-top:10px; margin-buttom:5px;}h1 { font-size: 36px}h2 { font-size: 24px}h3 { font-size: 20px}h4 { font-size: 18px}h1,h2,h3,h4,h5,h6,p,ul ul,ul ol,ol ol,ol ul,a,cite,dl,dt,dd,hr,blockquote,blockquote p,blockquote small,address{font-family:-apple-system-font,"Helvetica Neue",Helvetica, Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;}blockquote{background-color:#eee}h1.story_title{font-size:30px;} -------------本文结束感谢您的阅读-------------