Output editorial styles for body text.
p {
@include oEditorialTypographyBody();
}
Output editorial styles for lists.
Styles child li
elements. Apply to a
containing list element such as ul
or ol
.
Does not output font styles, these are
inherited (@see oEditorialTypographyBody).
Wraps an o-typography mixin so the two may diverge (@see oTypographyList)
the styles for an unordered list.
.my-unordered-list {
@include oEditorialTypographyList('unordered');
}
the styles for an ordered and unordered list, sharing base list styles.
.my-list {
@include oEditorialTypographyList();
}
.my-list--ordered {
@include oEditorialTypographyList('ordered', $include-base-styles: false);
}
.my-list--unordered {
@include oEditorialTypographyList('unordered', $include-base-styles: false);
}
Output styles for captions, e.g. for photo or video credit/caption.
Output styles for large headline text. This style has high visual prominence.
Alternatively, you may prefer to use the level one heading style.
Output styles for editorial page heading copy.
Output styles for editorial standfirst.
Output styles for the editorial byline.
Output styles for a timestamp. Font family and size are inherited from the parent element so this mixin may be used in multiple contexts. For example timestamps in a comment section or a byline.
Output specific tag styles, such as author and topic tags, or styles for other tags of similar appearance. Font size is inherited from the parent element, for example if a tag is used within a byline it will be the same size as the byline text.
a topic and author tag.
.my-topic-tag {
@include oEditorialTypographyTag('topic');
}
.my-author-tag {
@include oEditorialTypographyTag('author');
}
Output styles to decorate typography with a short, thick underline. Styles after pseudo element.
a header.
.decorated-header {
@include oEditorialTypographyDecorated();
}
a centred header.
.centered-decorated-header {
text-align: center;
@include oEditorialTypographyDecorated($align: 'center');
}
a centred and non-centred header without duplicating css.
.decorated-header {
@include oEditorialTypographyDecorated();
}
.decorated-header--center {
text-align: center;
@include oEditorialTypographyDecorated($align: 'center', $include-base-styles: false);
}