Overlay close button styles.
The output does not include a class definition, and should be wrapped in a selector.
Output button styles
.my-close-button {
@include oOverlayContentClose();
}
Returns a single list on the scale
Returns a maximum line width based on the given scale
Get font family for o-typography type i.e "sans", "serif", or "display".
Note: we do not recommend setting font-family
this way. Instead use
mixins oTypographySans
, oTypographySerif
, oTypographyDisplay
without
any arguments.
Output styles for page headings.
heading level 1 styles.
h1 {
@include oTypographyHeading($level: 1);
}
heading level 5 styles.
h5 {
@include oTypographyHeading($level: 5);
}
Output link styles.
the styles for a standard link.
.my-link {
@include oTypographyLink();
}
a custom, claret coloured link to go on the default background colour (paper for the core brand, white otherwise).
.my-claret-link {
@include oTypographyLink($theme: (
'base': 'claret',
'hover': 'claret-30',
));
}
a custom, lemon coloured link to go on a slate background.
.my-inverse-link {
@include oTypographyLink($theme: (
'base': 'lemon',
'hover': 'lemon-30',
'context': 'slate',
));
}
Output 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 oTypographyBody).
the styles for an unordered list.
.my-unordered-list {
@include oTypographyList('unordered');
}
the styles for an ordered and unordered list, sharing base list styles.
.my-list {
@include oTypographyList();
}
.my-list--ordered {
@include oTypographyList('ordered', $include-base-styles: false);
}
.my-list--unordered {
@include oTypographyList('unordered', $include-base-styles: false);
}
Styles for photo or video credit/caption