Page 1 of 1

The various @media types

Posted: Fri Jun 03, 2022 5:27 am
by chrispitude
Hi everyone,

Is this a correct summary of @media types?
  • @media oxygen - Oxygen XML editor
  • @media screen - Oxygen XML editor, web browser
  • @media print - PDF Chemistry, web browser with "print" rendering applied
  • @media oxygen-chemistry - PDF Chemistry
For completeness, is anything missing?

Thanks!

Re: The various @media types

Posted: Fri Jun 03, 2022 6:29 am
by Radu
Hi Chris,

Looking in our code We also support media all, oxygen-high-contrast-black, oxygen-high-contrast-white, oxygen-dark-theme.
And then for media oxygen we have combinations with platform like:

Code: Select all

@media oxygen AND (platform:webapp) {
 ....
}
which applies only on our web author in-browser editor.
Platform can take the values eclipse/standalone/webapp

Regards,
Radu