Skip to content

Commit

Permalink
INTERIM-134 Made taxonomy styling selectors more general
Browse files Browse the repository at this point in the history
  • Loading branch information
angelamnr committed Sep 5, 2017
1 parent 794b7ef commit 030b213
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions css/suitcase.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}
Expand Down

0 comments on commit 030b213

Please sign in to comment.