mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-19 19:25:51 +00:00
Standardize right sidebars
(except websocket tool; too many legacy styles to undo just yet) consistent header, left spacing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user