Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
feat(Elife): Style affiliations list
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcmoulton committed Mar 3, 2020
1 parent 53088da commit eaccd12
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/themes/elife/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@

@import '../../extensions/person/styles.css';

/* @extend-ing eLife's CSS may not take into account the cascade of styles
* applied to an element upstream of the extended style. Add @mixins here for such styles
* that apply to more than one element, that would otherwise be missed. */
@define-mixin inline-list {
list-style: none;
padding: 0;
}

/* stylelint-disable xi/selector-pattern */
main {
@extend .wrapper;
Expand Down Expand Up @@ -64,6 +72,6 @@ main {

/* Chain custom MicroData selectors for style adjustments as needed */
:--Article :--affiliations {
display: inline;
padding: 0;
@mixin inline-list;
@extend .content-header__institution_list;
}

0 comments on commit eaccd12

Please sign in to comment.