From: Dan Allen Date: Wed, 17 Jul 2019 06:19:50 +0000 (-0600) Subject: change style of block titles X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3fba4f6842913671f923c130d876212464ac55b5;p=eg-antora.git change style of block titles - use medium gray font - use medium font weight - include table caption - align text to left --- diff --git a/src/css/doc.css b/src/css/doc.css index 8d7828d..a841f8e 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -435,12 +435,15 @@ .doc .exampleblock .title, .doc .literalblock .title, .doc .listingblock .title, -.doc .openblock .title { +.doc .openblock .title, +.doc .tableblock caption { color: var(--caption-font-color); font-size: 0.925rem; + font-weight: 500; font-style: italic; - letter-spacing: -0.005em; + letter-spacing: 0.01em; padding-bottom: 0.075rem; + text-align: left; } .doc .admonitionblock .title + .paragraph { diff --git a/src/css/vars.css b/src/css/vars.css index 05bfa8d..174882a 100644 --- a/src/css/vars.css +++ b/src/css/vars.css @@ -71,7 +71,7 @@ --abstract-font-color: var(--color-jet-20); --abstract-border-color: var(--panel-border-color); --admonition-background: var(--panel-background); - --caption-font-color: var(--heading-font-color); + --caption-font-color: var(--color-gray-50); --code-background: var(--panel-background); --example-background: var(--color-white); --example-border-color: #638282; /* #2f5958 */