From 130533e967f12255bc8688e393bb2c7853bf99b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:26:25 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=20layui-text=20?= =?UTF-8?q?=E7=BB=86=E8=8A=82=EF=BC=8C=E4=BB=A5=E6=9B=B4=E5=A5=BD=E5=9C=B0?= =?UTF-8?q?=E9=80=82=E5=BA=94=20Markdown=20(#2126)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * style: 剔除 .layui-text 子元素中非必要标题样式 * style: 优化 .layui-text 引用元素边距 --- src/css/layui.css | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/css/layui.css b/src/css/layui.css index 202c082a..0db18e12 100644 --- a/src/css/layui.css +++ b/src/css/layui.css @@ -650,12 +650,6 @@ hr.layui-border-black{border-width: 0 0 1px;} /* 文本区域 */ .layui-text{line-height: 1.8; font-size: 14px;} -.layui-text h1, -.layui-text h2, -.layui-text h3, -.layui-text h4, -.layui-text h5, -.layui-text h6{color: #3A3A3A;} .layui-text h1{font-size: 32px;} .layui-text h2{font-size: 24px;} .layui-text h3{font-size: 18px;} @@ -673,7 +667,7 @@ hr.layui-border-black{border-width: 0 0 1px;} .layui-text p:last-child{margin-bottom: 0;} .layui-text a:not(.layui-btn){color: #01AAED;} .layui-text a:not(.layui-btn):hover{text-decoration: underline;} -.layui-text blockquote:not(.layui-elem-quote){padding: 5px 15px; border-left: 5px solid #eee;} +.layui-text blockquote:not(.layui-elem-quote){margin: 15px 0; padding: 5px 15px; border-left: 5px solid #eee;} .layui-text pre > code:not(.layui-code){padding: 15px; font-family: "Courier New",Consolas,"Lucida Console";} /* 字体大小 */