From 4f2c3b5391bae2633a40843d7203d67e47f1cf70 Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Tue, 14 May 2019 01:36:23 -0700 Subject: [PATCH] Design: clean up some spacing issues --- assets/css/devportal.css | 24 +++++++++++++++++------- assets/vendor/bootstrap.css | 2 ++ tool/template-breadcrumbs.html | 2 +- tool/template-home.html | 18 +++++++++--------- tool/template-landing-docs.html | 4 ++-- tool/template-landing-references.html | 4 ++-- tool/xrpl.scss | 2 ++ 7 files changed, 35 insertions(+), 21 deletions(-) diff --git a/assets/css/devportal.css b/assets/css/devportal.css index cdb785890b..c21e6dbecd 100644 --- a/assets/css/devportal.css +++ b/assets/css/devportal.css @@ -291,12 +291,25 @@ body { padding: 0 48px; } -.section-hero.card { +.card-grid .section-hero.card { padding-left: 0; } +.container-fluid.section-hero { + padding: 48px 0; +} + +.doc-index { + padding: 48px 0; +} + @media (max-width: 991px) { - section.container-fluid.card-grid.card-grid-3xN.doc-landing-section .card { + .landing .card-grid .card, + .landing .card-grid .card-body, + .landing .card-grid .card-header { + padding-left: 0; + } + .landing .doc-index { padding-left: 0; } } @@ -539,10 +552,7 @@ a.current { .landing .level-1, .landing .level-2, .landing .curated-links li { - font-weight: 400; - font-size: 1rem; margin-top: 0; - position: relative; } .landing .card .level-1 a, @@ -566,7 +576,7 @@ a.current { margin-top: 1rem; } -.blurb { +.section-hero .blurb { font-size: 1.2em; line-height: 1.71em; } @@ -977,7 +987,7 @@ a.current { padding-right: 1px; } -.landing .card > .card-img-top { +.landing .card .card-img-top { width: 60px; height: 60px; margin-left: 0; diff --git a/assets/vendor/bootstrap.css b/assets/vendor/bootstrap.css index 5cfc36feb2..73fbf2d84f 100644 --- a/assets/vendor/bootstrap.css +++ b/assets/vendor/bootstrap.css @@ -7147,6 +7147,8 @@ h3 a:hover { .landing .curated-links a, .landing .curated-links a:hover, +.landing .children-display a, +.landing .children-display a:hover, .landing a.card, .xrpl-footer a { color: #1B1818; } diff --git a/tool/template-breadcrumbs.html b/tool/template-breadcrumbs.html index c65fc1a0e0..16ad404bbf 100644 --- a/tool/template-breadcrumbs.html +++ b/tool/template-breadcrumbs.html @@ -1,4 +1,4 @@ -