diff --git a/assets/css/devportal.css b/assets/css/devportal.css index 28eea702a0..6519167644 100644 --- a/assets/css/devportal.css +++ b/assets/css/devportal.css @@ -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; diff --git a/tool/template-doc.html b/tool/template-doc.html index 5a99018d43..db062c289e 100644 --- a/tool/template-doc.html +++ b/tool/template-doc.html @@ -30,8 +30,10 @@ {% block right_sidebar %}
-

In this document

-
diff --git a/tool/template-rest-api-tool.html b/tool/template-rest-api-tool.html index bafb5125e2..8b9da4700e 100644 --- a/tool/template-rest-api-tool.html +++ b/tool/template-rest-api-tool.html @@ -1,10 +1,14 @@ {% extends "template-base.html" %} {% block right_sidebar %} -
- +
+
+

API Methods

+ + +
{% endblock %} {% block main %} diff --git a/tool/template-test-net.html b/tool/template-test-net.html index 26225b95da..37c7ee3f94 100644 --- a/tool/template-test-net.html +++ b/tool/template-test-net.html @@ -4,7 +4,9 @@ {% block right_sidebar %}
-

Test Net Servers

+
+

Test Net Servers

+

Use the following addresses to connect to the XRP Test Net and send transactions from your account.

Websockets and Ripple API
diff --git a/tool/template-tx-sender.html b/tool/template-tx-sender.html index 8a2f15a8c1..ff97330a48 100644 --- a/tool/template-tx-sender.html +++ b/tool/template-tx-sender.html @@ -4,7 +4,9 @@ {% block right_sidebar %}
-

Status

+
+

Status

+