From ced9e1b3b686a3faf0bdba6e4887d79748884187 Mon Sep 17 00:00:00 2001 From: yangjian Date: Tue, 11 Aug 2020 21:11:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=87=E6=A1=A3=E9=98=85?= =?UTF-8?q?=E8=AF=BB=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F=E5=92=8C=E5=AD=97?= =?UTF-8?q?=E4=BD=93=E7=BC=A9=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/mrdoc/mrdoc.css | 15 ++++++++------- template/app_doc/docs_base.html | 4 ++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/static/mrdoc/mrdoc.css b/static/mrdoc/mrdoc.css index 73123a8..8a78047 100644 --- a/static/mrdoc/mrdoc.css +++ b/static/mrdoc/mrdoc.css @@ -356,12 +356,12 @@ li.active > a,li.active > div > a{ } /* 返回顶部 */ .toTop { - width: 50px; - height: 50px; + width: 40px; + height: 40px; border-radius: 50%; background: #f6f6f6; text-align: center; - line-height: 50px; + line-height: 40px; /*返回顶部标签固定定位*/ position: fixed; right: 35px; @@ -378,12 +378,12 @@ li.active > a,li.active > div > a{ } /* 文档目录 */ .tocMenu{ - width: 50px; - height: 50px; + width: 40px; + height: 40px; border-radius: 50%; background: #f6f6f6; text-align: center; - line-height: 50px; + line-height: 40px; /*返回顶部标签固定定位*/ position: fixed; right: 35px; @@ -421,13 +421,14 @@ li.active > a,li.active > div > a{ /* 文档字体颜色 */ .markdown-body{ - color:#000; + color:#333; } /* 文档行内代码样式 */ .markdown-body p code,.markdown-body li code,.markdown-body h1 code,.markdown-body h2 code,.markdown-body h3 code,.markdown-body h4 code,.markdown-body h5 code,.markdown-body h6 code{ border:none !important; color:#e91e63 !important; + font-family: sans-serif; } /* 自定义按钮样式 */ diff --git a/template/app_doc/docs_base.html b/template/app_doc/docs_base.html index ee8777b..f8120ca 100644 --- a/template/app_doc/docs_base.html +++ b/template/app_doc/docs_base.html @@ -1,6 +1,6 @@ {% load staticfiles %} - + @@ -246,7 +246,7 @@ -
+
{% block right_widget %} {% endblock %}