From 030b21384cdf659ce9c10ae3381afe6fb78fa7db Mon Sep 17 00:00:00 2001 From: Angela McMahon Date: Tue, 5 Sep 2017 17:02:13 -0500 Subject: [PATCH] INTERIM-134 Made taxonomy styling selectors more general --- css/suitcase.css | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/css/suitcase.css b/css/suitcase.css index d44fd40..33d63ab 100644 --- a/css/suitcase.css +++ b/css/suitcase.css @@ -1909,19 +1909,16 @@ ul.menu li { /* Field Name: Field Tags */ /* Field Name: Field Category */ -.field-name-field-tags .field-label, -.field-name-field-category .field-label { +.field-type-taxonomy-term-reference .field-label { margin-top: 2px; margin-bottom: 5px; } -.field-name-field-tags .field-item, -.field-name-field-category .field-item { +.field-type-taxonomy-term-reference .field-item { display: inline-block; } -.field-name-field-tags .field-item a, -.field-name-field-category .field-item a { +.field-type-taxonomy-term-reference .field-item a { display: inline-block; margin-right: 0.5em; margin-bottom: 0.5rem; @@ -1933,8 +1930,7 @@ ul.menu li { border: 1px solid #e2e2e2; transition: background 0.25s ease; } - .field-name-field-tags .field-item a:hover, - .field-name-field-category .field-item a:hover { + .field-type-taxonomy-term-reference .field-item a:hover { text-decoration: none; background: #f5f5f5; }