From the Pathfinder Neceros CSS file: .sheet-rolltemplate-pf_generic a[href^="~"],
.sheet-rolltemplate-pf_generic .sheet-roll-cell a[href^="~"], .sheet-rolltemplate-pf_generic label span [href^="~"], .sheet-rolltemplate-pf_ability a[href^="~"], .sheet-rolltemplate-pf_ability .sheet-roll-cell a[href^="~"], .sheet-rolltemplate-pf_ability label span [href^="~"], .sheet-rolltemplate-pf_defense a[href^="~"], .sheet-rolltemplate-pf_defense .sheet-roll-cell a[href^="~"], .sheet-rolltemplate-pf_defense label span [href^="~"], .sheet-rolltemplate-pf_attack a[href^="~"], .sheet-rolltemplate-pf_attack .sheet-roll-cell a[href^="~"], .sheet-rolltemplate-pf_attack label span [href^="~"], .sheet-rolltemplate-pf_spell a[href^="~"], .sheet-rolltemplate-pf_spell .sheet-roll-cell a[href^="~"], .sheet-rolltemplate-pf_spell label span [href^="~"], .sheet-rolltemplate-pf_block a[href^="~"], .sheet-rolltemplate-pf_block .sheet-roll-cell a[href^="~"], .sheet-rolltemplate-pf_block label span [href^="~"] { background-color: var(--sheet-pf-bg); color: var(--sheet-pf-text); padding: 2px 4px 1px 4px; margin: 2px -1px 1px 0px; font-weight: normal; display: inline-block; border: 1px solid #789; border-radius: 2px; font-size: .75rem; } .sheet-rolltemplate-pf_generic a[href^="~"]:hover, .sheet-rolltemplate-pf_generic .sheet-roll-cell a[href^="~"]:hover, .sheet-rolltemplate-pf_generic label span [href^="~"]:hover, .sheet-rolltemplate-pf_ability a[href^="~"]:hover, .sheet-rolltemplate-pf_ability .sheet-roll-cell a[href^="~"]:hover, .sheet-rolltemplate-pf_ability label span [href^="~"]:hover, .sheet-rolltemplate-pf_defense a[href^="~"]:hover, .sheet-rolltemplate-pf_defense .sheet-roll-cell a[href^="~"]:hover, .sheet-rolltemplate-pf_defense label span [href^="~"]:hover, .sheet-rolltemplate-pf_attack a[href^="~"]:hover, .sheet-rolltemplate-pf_attack .sheet-roll-cell a[href^="~"]:hover, .sheet-rolltemplate-pf_attack label span [href^="~"]:hover, .sheet-rolltemplate-pf_spell a[href^="~"]:hover, .sheet-rolltemplate-pf_spell .sheet-roll-cell a[href^="~"]:hover, .sheet-rolltemplate-pf_spell label span [href^="~"]:hover, .sheet-rolltemplate-pf_block a[href^="~"]:hover, .sheet-rolltemplate-pf_block .sheet-roll-cell a[href^="~"]:hover, .sheet-rolltemplate-pf_block label span [href^="~"]:hover { text-decoration: none; cursor: pointer; color: #f00; box-shadow: 1px 1px 2px #333; } Command buttons are just links, in the end (beginning with ! for API command buttons, or beginning with ~ for ability command buttons), and you have full style control over the output of roll templates. Note the [href^="~"] syntax used here, which matches an element with a "href" attribute that starts with ~.