CSS Media Rules
Oxygen PDF Chemistry applies all the element CSS selectors that are:
- not enclosed in a
@mediarule. - enclosed in a
@mediarule with typeprintoroxygen-chemistry.
@media oxygen-chemistry, and the ones that apply only to print into a
@media print.chapter {
margin-left: 2em;
}
@media oxygen-chemistry {
chapter:before(2) {
content: counter(chapter);
}
}
@media print {
* {
color:black;
}
}