Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ejs/links.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
::: {.card-body}

::: {.card-title}
#### <%- item.title %>
## <%- item.title %>
<% if (item.subtitle) { %>
::: {.card-subtitle .text-muted}
###### <%- item.subtitle %>
<%- item.subtitle %>
:::
<% } %>
:::
Expand Down
16 changes: 15 additions & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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;
Expand Down
Loading