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 @@ -