@ou-imdt/css
Version:
The IMDT CSS library styles native elements with light, extendable CSS. It is developed for Interactive Media Developers at the Open University.
41 lines (34 loc) • 705 B
CSS
:root,
:host {
/* Paragraph */
--p-margin: 0.5rem 0 0.5rem 0;
--p-padding: 0;
--p-indent: 0;
--p-weight: normal;
--p-align: left;
/* small tag */
--small-font-size: 0.85rem;
/* u */
--u-color: var(--fg1);
--u-style: underline;
--u-core-style: wavy underline;
}
p {
font-size: var(--font-size);
line-height: var(--line-height);
margin: var(--p-margin);
padding: var(--p-padding);
letter-spacing: var(--letter-spacing);
text-indent: var(--p-indent);
font-weight: var(--p-weight, normal);
text-align: var(--p-align, left);
}
p:empty {
display: none;
}
u {
text-decoration: var(--u-color) var(--u-core-style);
}
small {
font-size: var(--small-font-size);
}