Customize -i18n-en.css in DITA OT plugin way

Post here questions and problems related to editing and publishing DITA content.
lhsihan
Posts: 35
Joined: Thu Aug 15, 2019 5:31 pm

Customize -i18n-en.css in DITA OT plugin way

Post by lhsihan »

Hi experts,
I have one requirement that want to customize the

Code: Select all

OXYGEN_INSTALL_DIR\frameworks\dita\css\core\-i18n-en.css
such like adding some new lines for new DTD elements:

Code: Select all

*[class ~= "task/limitation"]:before {
    content: "Limitation: ";
}
@media print {
    *[class ~= "task/limitation"]:before {
        content: none;
    }
}
is there any way to customize this file in the DITA OT plugin way? could you please give me some guide on this? Thanks a lot.
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Customize -i18n-en.css in DITA OT plugin way

Post by Radu »

Hi,

As the CSS file is not inside a DITA OT plugin, it cannot be customized with a DITA OT plugin.
You need to create a DITA framework extension which adds a custom CSS adding those extra selectors:

https://blog.oxygenxml.com/2016/10/cust ... iting.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply