浏览代码

Merge pull request #9516 from SvenDowideit/tweak-sidebar-css-for-more-spacing

this v spacing irritated me while i was reading
James Turnbull 10 年之前
父节点
当前提交
0bd51836c8
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      docs/theme/mkdocs/css/docs.css

+ 5 - 1
docs/theme/mkdocs/css/docs.css

@@ -29,13 +29,17 @@
   font-weight: 700;
   font-weight: 700;
   color: #394d54;
   color: #394d54;
   line-height: 1;
   line-height: 1;
-  margin: 0px 0 10px 0;
+  margin: 10px 0 10px 0;
   padding-left: 20px;
   padding-left: 20px;
   white-space: nowrap;
   white-space: nowrap;
   overflow: hidden;
   overflow: hidden;
   text-overflow: ellipsis;
   text-overflow: ellipsis;
 }
 }
 
 
+#leftnav li.active {
+  margin-bottom: 10px;
+}
+
 .content-body {
 .content-body {
   padding: 0px 0px 0px 20px;
   padding: 0px 0px 0px 20px;
 }
 }