Hiya, I'm working to make Red Hat product documentation templates as slick as possible for web presentation.
One thing we've run into is inline CSS getting added in certain contexts that doesn't end well on small breakpoints. I'm trying to create guidance for the authors on what to avoid, but I'm having a hard time finding what AsciiDoc syntax will create inline styles.
The syntax that brought this up was:
[[table-variable-names-differences-between-ansible-2.1-and-2.2]]
.Differences in Variable Names Between Ansible 2.1 and 2.2
[width="40%",frame="topbot",options="header"]
It created something like:
<table style="width: 40%">
Which does very poorly at 320px wide screens <img class="smiley" src="x-msg://12/images/smiley/smiley_unhappy.gif">
The docs didn't seem to have anything specific I could find, is there something I can search for in the AsciiDoc parsing code to find what results in inline styles? I'm not familiar with Ruby, but if I can get a lead on what to look for I'm sure I can parse the relevant parts.
I'm most considered with things like width, margin, padding, border, font/background color. Anywhere AsciiDoc adds CSS classes I'm happy with, just worried about style attributes.
Thanks for your time!