mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-05 20:35:50 +00:00
Fix first h1 spacing, header font hierarchy
The font hierarchy is a little complicated between the _content.scss, _font.scss, and Redocly theme styles, but this at least aligns the Redocly theme variables with the MD content styling.
This commit is contained in:
@@ -189,6 +189,13 @@ ul.nav.navbar-nav {
|
||||
--inline-code-border-radius: 0;
|
||||
|
||||
--heading-anchor-color: #9a52ff;
|
||||
--h1-font-size: 3rem;
|
||||
--h2-font-size: 2.5rem;
|
||||
--h3-font-size: 2.125rem;
|
||||
--h3-font-weight: 600;
|
||||
--h4-font-size: 1.75rem;
|
||||
--h5-font-size: 1.25rem;
|
||||
|
||||
--sidebar-border-color: transparent;
|
||||
--sidebar-background-color: transparent;
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -586,10 +586,8 @@ article h6:before,
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
// Fix so links aren't unclickable underneath the header anchor-fix
|
||||
a {
|
||||
z-index: 1;
|
||||
article h1:first-of-type:before {
|
||||
margin-top: -60px; // Don't add extra space to page title
|
||||
}
|
||||
|
||||
// Animated chevron (e.g. for language dropdown) -------------------------------
|
||||
|
||||
Reference in New Issue
Block a user