summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Allen <dan@opendevise.com>2018-03-31 16:26:43 -0600
committerDan Allen <dan@opendevise.com>2018-03-31 16:26:43 -0600
commitcb5687a267497dc124ff491706b335894312e7b3 (patch)
tree26732a6830d3dc6b772c99407fefdec50d2dba1c
parentdc2143afefd8a3309b1355af3393e0e5774d83a0 (diff)
downloadalpine-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.css4
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 {