summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Allen <dan@opendevise.com>2018-02-10 02:44:22 -0700
committerDan Allen <dan@opendevise.com>2018-02-10 02:44:22 -0700
commit2b1c4b99821019a3dedaf73c704c5d26b82c25db (patch)
tree0918e712329ac8ca0a96dbba5895b244773674d2 /src
parent3d532540cce297fc63ee96f0f5d326ff7914a10c (diff)
downloadalpine-antora-theme-2b1c4b99821019a3dedaf73c704c5d26b82c25db.tar.bz2
alpine-antora-theme-2b1c4b99821019a3dedaf73c704c5d26b82c25db.tar.xz
collapse top margin of first child of example block
Diffstat (limited to 'src')
-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 b7fe29a..abf3e01 100644
--- a/src/css/doc.css
+++ b/src/css/doc.css
@@ -415,6 +415,10 @@
padding: 0.75rem;
}
+.doc .exampleblock > :first-child {
+ margin-top: 0;
+}
+
/* NEEDS REVIEW prevent pre in table from causing article to exceed bounds */
.doc .tableblock pre,
.doc .listingblock.wrap pre {