refactor(Elife): Tidy up references code
ol {
counter-reset: item;
list-style-type: none;
+ }
- li:--reference {
+ :--reference {
display: block;
font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
font-size: calc(var(--text-size-rem-medium) * 1rem);
margin-right: 2.5rem;
+ margin-bottom: 0.75rem;
&::before {
content: counter(item) ' ';
margin-left: -2.5rem;
text-align: right;
}
- }
+
+ :--title {
+ display: block;
+ font-size: calc(var(--text-size-rem-default) * 1rem);
+ font-weight: bold;
}
:--authors {
display: inline;
}
- :--reference {
- margin-bottom: 0.75rem;
- }
-
:--datePublished {
display: inline-block;
}
}
- :--title {
- display: block;
- font-size: calc(var(--text-size-rem-default) * 1rem);
- font-weight: bold;
+ :--name {
+ font-style: italic;
+
+ &::before {
+ content: '\A';
+ white-space: pre;
+ }
}
:--volumeNumber {
}
}
- :--name {
- font-style: italic;
-
- &::before {
- content: '\A';
- white-space: pre;
- }
- }
-
:--pageEnd::before {
content: '-';
}
}
+ }
& .download-link-wrapper {
display: flex;
