diff --git a/layouts/partials/css/academic.css b/layouts/partials/css/academic.css index 47faa039..e56f7781 100644 --- a/layouts/partials/css/academic.css +++ b/layouts/partials/css/academic.css @@ -1220,24 +1220,24 @@ article .article-metadata { * Contact **************************************************/ -#contact.home-section .fa-ul { +.contact-widget .fa-ul { margin-left: 3.14285714rem; /* Must be > `fa-2x` icon size. */ } -#contact.home-section .fa-li { +.contact-widget .fa-li { position: absolute; - left: -3.14285714rem; /* Negative of `#contact.home-section .fa-ul` margin. */ + left: -3.14285714rem; /* Negative of `.contact-widget .fa-ul` margin. */ width: 2rem; /* Match `fa-2x` icon size. */ top: 0.14285714em; /* Default FA value. */ text-align: center; } -#contact.home-section li { +.contact-widget li { padding-top: 0.8rem; /* Align text with bottom of `fa-2x` icon. */ margin-bottom: 0.3rem; } -#contact.home-section li:last-of-type { +.contact-widget li:last-of-type { margin-bottom: 0; } diff --git a/layouts/partials/widgets/contact.html b/layouts/partials/widgets/contact.html index 750f3098..5f202b90 100644 --- a/layouts/partials/widgets/contact.html +++ b/layouts/partials/widgets/contact.html @@ -3,7 +3,7 @@ {{ $autolink := default true $page.Params.autolink }} -
+

{{ with $page.Title }}{{ . | markdownify }}{{ end }}

{{ with $page.Params.subtitle }}

{{ . | markdownify }}

{{ end }}