Standardize right sidebars

(except websocket tool; too many legacy styles to undo just yet)
consistent header, left spacing
This commit is contained in:
mDuo13
2019-05-10 15:21:27 -07:00
parent 003196de99
commit 00a5f61302
7 changed files with 83 additions and 63 deletions

View File

@@ -525,12 +525,8 @@ a.current {
}
.level-1,
.curated-links li {
margin-top: 15px;
margin-left: 15px;
}
.level-1 a,
.curated-links li a {
font-weight: 700;
margin-top: 12px;
margin-left: 16px;
}
.landing .level-1,
@@ -565,9 +561,6 @@ a.current {
margin-top: 1rem;
}
.level-1:first-child {
margin-top: 0;
}
.level-2 {
list-style-type: circle;
margin-left: 30px;
@@ -758,14 +751,11 @@ a.current {
color: #000;
}
.right-sidebar {
font-size: 14px;
}
.right-sidebar .card {
position: sticky;
max-height: 85vh;
top: 48px;
overflow: scroll;
overflow: auto;
padding: 44px 24px 48px;
}
@@ -773,22 +763,40 @@ a.current {
border-bottom: none;
background-color: #fff;
padding: 10px 0;
line-height: 20px;
font-weight: 700;
font-size: 1.23em;
}
.right-sidebar ul {
.right-sidebar .card-header h4 {
line-height: 20px;
font-weight: 700;
font-size: 1.20em;
padding: 0;
margin: 0;
}
.right-sidebar .card-body {
padding: 0 0 0 16px;
border-left: 1px solid #eae7e6;
list-style-type: none;
}
.right-sidebar ul li {
list-style-type: none;
margin-bottom: 8px
margin-bottom: 8px;
margin-left: 0;
}
.right-sidebar .level-1 a {
font-weight: 700;
font-family: "Space Mono", monospace;
}
.right-sidebar .level-2 {
margin-left: 0;
}
.right-sidebar .level-3 {
margin-left: 16px;
}
/* Left navigation --------------------------------------------------------- */
.card .sidebar_pagelist li a {
display: block;
margin-top: 5px;