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

Commit

Permalink
fix(Common Styles): Move description/abstract from themes to common.css
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijay committed Oct 2, 2019
1 parent 802cfcf commit b2eab4b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
8 changes: 8 additions & 0 deletions src/common/styles/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@
}
}

/*
`description` property: a `div` or `div > p` abstract or description.
*/
:--description {
margin: 0 auto 1.25rem;
max-width: var(--max-width);
}

html {
font-size: 16px;
box-sizing: border-box;
Expand Down
5 changes: 0 additions & 5 deletions src/themes/eLife/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -330,11 +330,6 @@ blockquote {
}
}
}

:--description {
margin: 0 auto 1.25rem;
max-width: var(--max-width);
}
}

:--references {
Expand Down
2 changes: 0 additions & 2 deletions src/themes/nature/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,6 @@ blockquote {
}

:--description {
margin: 0 auto 1.25rem;
max-width: var(--max-width);
padding-left: 50px;

> p {
Expand Down

0 comments on commit b2eab4b

Please sign in to comment.