Docs sidebar improvements (#5638) (#6589)

* add sans-serif fallback for Verdana in docs sidebar

Co-Authored-By: Joachim Jablon <ewjoachim@gmail.com>

* improve display for docs sidebar (#5638)

Co-Authored-By: Joachim Jablon <ewjoachim@gmail.com>
This commit is contained in:
Tom Quinonero 2019-07-08 14:05:13 +02:00 committed by Tom Christie
parent 1619d282f7
commit 7762aaa90f

View File

@ -30,7 +30,7 @@ pre.highlight code {
.sidebar {
overflow: auto;
font-family: verdana;
font-family: verdana, sans-serif;
font-size: 12px;
font-weight: 200;
background-color: #2e353d;
@ -111,7 +111,11 @@ pre.highlight code {
border: none;
border-bottom: 1px solid #23282e;
margin-left: 0px;
text-indent: 10px;
line-height: 1.4;
padding-top: 10px;
padding-bottom: 10px;
padding-right: 10px;
padding-left: 25px;
}
.sidebar .menu-list ul .sub-menu li:hover,
@ -128,11 +132,14 @@ pre.highlight code {
.sidebar .menu-list ul .sub-menu li a:before,
.sidebar .menu-list li .sub-menu li a:before {
font-family: FontAwesome;
font-size: 14px;
font-weight: bold;
content: "\f105";
display: inline-block;
padding-left: 10px;
padding-right: 10px;
display: inline;
vertical-align: middle;
padding-left: 0;
padding-right: 7px;
margin-left: -12px;
}
.sidebar .menu-list li {