diff options
author | Dan Allen <dan@opendevise.com> | 2018-03-31 16:26:43 -0600 |
---|---|---|
committer | Dan Allen <dan@opendevise.com> | 2018-03-31 16:26:43 -0600 |
commit | cb5687a267497dc124ff491706b335894312e7b3 (patch) | |
tree | 26732a6830d3dc6b772c99407fefdec50d2dba1c | |
parent | dc2143afefd8a3309b1355af3393e0e5774d83a0 (diff) | |
download | alpine-antora-theme-cb5687a267497dc124ff491706b335894312e7b3.tar.bz2 alpine-antora-theme-cb5687a267497dc124ff491706b335894312e7b3.tar.xz |
collapse top margin on first child of sidebar if sidebar has no title
-rw-r--r-- | src/css/doc.css | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/css/doc.css b/src/css/doc.css index 8204473..4ce62e7 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -437,6 +437,10 @@ text-align: center; } +.doc .sidebarblock > .content > :not(.title):first-child { + margin-top: 0; +} + /* NEEDS REVIEW prevent pre in table from causing article to exceed bounds */ .doc .tableblock pre, .doc .listingblock.wrap pre { |