# mdnice CSS 主题 ###### tags: `运营文档` /*自定义样式,实时生效*/ /* 全局属性 * 页边距 padding: 30px; * 全文字体 font-family: ptima-Regular; * 英文换行 word-break: break-all; */ #nice { font-size: 14px; letter-spacing: 0.1em; padding: 20px; color: #000000; margin-top: -20px; } /* 段落,下方未标注标签参数均同此处 * 上边距 margin-top: 5px; * 下边距 margin-bottom: 5px; * 行高 line-height: 30px; * 词间距 word-spacing: 3px; * 字间距 letter-spacing: 3px; * 对齐 text-align: left; * 颜色 color: #3e3e3e; * 字体大小 font-size: 16px; * 首行缩进 text-indent: 2em; */ #nice p { margin: 1em 0px; line-height: 25px; text-align: left; color: #41414; font-size: 14px; } /* 一级标题 */ #nice h1 { margin: 1.0em 0 1em; padding: 0; font-weight: bold; color:#000000; line-height: 10px; } /* 一级标题内容 */ #nice h1 .content { } /* 一级标题修饰 请参考有实例的主题 */ #nice h1:after { } /* 二级标题 */ #nice h2 { bmin-height: 32px; line-height: 32px; border-bottom: solid #000000; color: de#b1b1b1; display: inline-block; border-bottom-width: 0px; border-bottom-style: solid; border-color: #00de00; padding-top: 5px; padding-right: 0.5em; padding-left: 0.5em; font-size: 23px; margin: 1em 0 0rem 0; padding: 0.5em 0; text-align: leftt; font-weight: bold; } /* 二级标题内容 */ #nice h2 .content { } /* 二级标题修饰 请参考有实例的主题 */ #nice h2:after { } /* 三级标题 */ #nice h3 { margin: 1.2em 0 1em; padding: 0; font-weight: bold; color: #000000; } /* 三级标题内容 */ #nice h3 .content { } /* 三级标题修饰 请参考有实例的主题 */ #nice h3:after { } /* 无序列表整体样式 * list-style-type: square|circle|disc; */ #nice ul { font-size: 14px; } /* 有序列表整体样式 * list-style-type: upper-roman|lower-greek|lower-alpha; */ #nice ol { font-size: 14px; } /* 列表内容,不要设置li */ #nice li section { margin: 10px 0; } /* 一级引用 * 左边缘颜色 border-left-color: black; * 背景色 background: gray; */ #nice .multiquote-1 { border-left-color: rgb(209, 255, 82); background: #f9f9f9; } /* 一级引用文字 */ #nice .multiquote-1 p { font-size: 14px; color: #000000 } /* 二级引用 */ #nice .multiquote-2 { font-size: 14px; } /* 二级引用文字 */ #nice .multiquote-2 p { } /* 三级引用 */ #nice .multiquote-3 { } /* 三级引用文字 */ #nice .multiquote-3 p { } /* 链接 * border-bottom: 1px solid #009688; */ #nice a { color: #000000; border-bottom: 2px solid #d1ff52; } /* 加粗 */ #nice strong { color:#000000; } /* 斜体 */ #nice em { } /* 加粗斜体 */ #nice em strong { } /* 删除线 */ #nice del { } /* 分隔线 * 粗细、样式和颜色 * border-top: 1px solid #3e3e3e; */ #nice hr { border: 1px solid #d1ff52; margin: 2em auto; } /* 图片 * 宽度 width: 90%; * 居中 margin: 0 auto; * 居左 margin: 0 0; */ #nice img { width: 100%; border-radius: 0px; display: block; margin-bottom: 10px; height: 90%; width: 100%; margin: 0 auto; } /* 图片描述文字 */ #nice figcaption { font-size: 12px; } /* 行内代码 */ #nice p code, #nice li code { font-size: 15px; color: #000; background: #d1ff52; display:inline-block; padding:0 0px; border-radius:1px; height:15px; line-height:15px; } /* 非微信代码块 * 代码块不换行 display: -webkit-box !important; * 代码块换行 display: block; */ #nice pre code { } /* * 表格内的单元格 * 字体大小 font-size: 14px; * 边框 border: 1px solid #ccc; * 内边距 padding: 5px 10px; */ #nice table tr th, #nice table tr td { font-size: 14px; } /* 脚注文字 */ #nice .footnote-word { color: #000000; } /* 脚注上标 */ #nice .footnote-ref { color: #000000; } /* "参考资料"四个字 * 内容 content: "参考资料"; */ #nice .footnotes-sep:before { content: "Reference"; font-size: 15px; } /* 参考资料编号 */ #nice .footnote-num { color: #000000; } /* 参考资料文字 */ #nice .footnote-item p { color: #000000; font-size: 12px; } /* 参考资料解释 */ #nice .footnote-item p em { color: #b1b1b1; font-size: 12px; } /* 行间公式 * 最大宽度 max-width: 300% !important; */ #nice .block-equation svg { } /* 行内公式 */ #nice .inline-equation svg { }