From 15f0b0947aa8534eed2c07d7c55afd68f9c18a29 Mon Sep 17 00:00:00 2001 From: Nellie McKesson Date: Wed, 14 Jun 2023 10:49:58 -0700 Subject: [PATCH] removing figure numbers and adding styles for image captions --- jekyll-assets/css/style.css | 8 ++++++++ scripts/create_build_adoc.py | 1 + 2 files changed, 9 insertions(+) diff --git a/jekyll-assets/css/style.css b/jekyll-assets/css/style.css index 0c7f7e81ae..5d434cd496 100644 --- a/jekyll-assets/css/style.css +++ b/jekyll-assets/css/style.css @@ -509,6 +509,14 @@ td div.listingblock div.content code { height: auto; } +div.imageblock div.title { + font-style: italic; + font-weight: 300; + font-size: 0.8em; + margin-top: -15px; + margin-bottom: 30px; +} + .w10 { width: 10%; } .w20 { width: 20%; } .w30 { width: 30%; } diff --git a/scripts/create_build_adoc.py b/scripts/create_build_adoc.py index 253a747dc2..b4dc80b834 100755 --- a/scripts/create_build_adoc.py +++ b/scripts/create_build_adoc.py @@ -81,6 +81,7 @@ def check_no_markdown(filename): :doctitle: {} :page-sub_title: {} :sectanchors: +:figure-caption!: {} """.format(output_subdir, includes_dir, '{} - {}'.format(site_config['title'], index_title), index_title, new_contents))