From 5198417e19173ab784ac972afb6fbc1fe228f495 Mon Sep 17 00:00:00 2001 From: Nicol Date: Fri, 12 Jul 2019 18:01:06 +0100 Subject: [PATCH] Remove 'font-family: Arial/etc' on two selectors For some reason, thesae two selectors have hardcode Arial/etc as the font for form legends and H3 elements. Therefore while a front-end contribution page or profile will inherit the site fonts, but in these two instances it will use Arial/etc. This can be overriden by the user, but given that there is no other use of Arial in CiviCRM, doesn't seem to make much sense. When theming front-end CiviCRM forms/pages these two elements have to be reset with "font-family: inherit". My guess is it's legacy from a much earlier version of the system (but in making this proposal perhaps the real reason will emerge). --- css/civicrm.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/css/civicrm.css b/css/civicrm.css index c1c75403f4..44028787ed 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -334,7 +334,6 @@ input.crm-form-entityref { .crm-container fieldset legend { display: block; - font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; padding: 4px; @@ -720,7 +719,6 @@ input.crm-form-entityref { /* h3 used as table header for civicrm */ background-color: #CDE8FE; font-size: 15px; - font-family: Arial, Helvetica, sans-serif; font-weight: bold; color: #121A2D; padding: 4px 6px; -- 2.25.1