diff --git a/ejs/links.ejs b/ejs/links.ejs index 2b85ea496c..74a702ed80 100644 --- a/ejs/links.ejs +++ b/ejs/links.ejs @@ -7,10 +7,10 @@ ::: {.card-body} ::: {.card-title} -#### <%- item.title %> +## <%- item.title %> <% if (item.subtitle) { %> ::: {.card-subtitle .text-muted} -###### <%- item.subtitle %> +<%- item.subtitle %> ::: <% } %> ::: diff --git a/styles.css b/styles.css index c946f5b0a4..cdfb0ce630 100644 --- a/styles.css +++ b/styles.css @@ -176,8 +176,16 @@ iframe.reveal-demo { padding: 0; } -.link-cards .card-title h4 { +/* Card titles are h2 for heading order; keep the old h4 look */ +.link-cards .card-title h2 { + font-size: 1.25rem; + font-weight: 400; + line-height: 1.2; + opacity: 0.9; margin-top: 0; + margin-bottom: 0.5rem; + padding-bottom: 0; + border-bottom: none; } .link-cards .card-title p { @@ -188,6 +196,12 @@ iframe.reveal-demo { margin-bottom: 0.7rem; } +.link-cards .card-subtitle p { + line-height: 1.2; + opacity: 0.9; + margin-bottom: 0.5rem; +} + .link-cards .card-body { padding: 0.5rem; padding-left: 0.1rem;