diff --git a/app/assets/stylesheets/primary.css b/app/assets/stylesheets/primary.css index 04c07d2..cddd293 100644 --- a/app/assets/stylesheets/primary.css +++ b/app/assets/stylesheets/primary.css @@ -25,7 +25,7 @@ main { font-weight: 400; color: #4d4d4d; word-wrap: break-word; - line-height: 28px; + line-height: 1.5em; flex-grow: 1; } @@ -192,6 +192,8 @@ div.callout { justify-content: flex-start; align-items: flex-start; gap: 8px; + padding-top: 4px; + padding-bottom: 4px; } .pill-wrapper { @@ -252,7 +254,7 @@ div.callout { flex-direction: column; justify-content: flex-start; align-items: flex-start; - gap: 24px; + gap: 16px; display: flex; box-sizing: border-box; @@ -285,6 +287,8 @@ div.callout { justify-content: flex-start; align-items: flex-start; gap: 8px; + padding-top: 4px; + padding-bottom: 4px; } .pill-wrapper { @@ -333,19 +337,19 @@ h1, h2, h3, h4, h5, h6 { } h1 { - line-height: 42.00px; + line-height: 1.2em; } h2.content-heading { font-size: 27px; - line-height: 37.80px; + line-height: 1.2em; margin-top: 0; margin-bottom: 0; } h3.content-heading { - font-size: 22px; - line-height: 30.80px; + font-size: 16px; + line-height: 1.2em; margin-top: 0; margin-bottom: 0; } @@ -360,6 +364,14 @@ ul.unformatted { } } +div.about-item { + div.content-heading-small { + color: grey; + font-size: small; + line-height: normal; + } +} + /*tables*/ table, td, th { diff --git a/app/assets/stylesheets/search_results.css b/app/assets/stylesheets/search_results.css index e1e41fb..baa6660 100644 --- a/app/assets/stylesheets/search_results.css +++ b/app/assets/stylesheets/search_results.css @@ -177,8 +177,9 @@ .row { .item-details { - padding-top: 3px; - padding-bottom: 3px; + line-height: normal; + padding-top: 4px; + padding-bottom: 4px; * { max-width: 100%; @@ -189,7 +190,7 @@ .item-details-label { color: grey; font-size: small; - line-height: 10px; + line-height: normal; } } diff --git a/app/views/search/fragments/_about_this_result.html.erb b/app/views/search/fragments/_about_this_result.html.erb index 79e2047..150e0cf 100644 --- a/app/views/search/fragments/_about_this_result.html.erb +++ b/app/views/search/fragments/_about_this_result.html.erb @@ -1,5 +1,5 @@