2.1. Custom CSS style sheet
Prev | 2. Customization items | Next

### 2.1. Custom CSS style sheet

The first configuration element css removes CSS style sheet named "`Show info about included elements`" from the Style menu.

The second one replaces the default CSS style sheet for DocBook (named "`DocBook`", see ``XXE_install_dir`/addon/config/docbook/docbook.xxe`) by a customized one.

      <!-- Discard this CSS -->
      <css name="Show info about included elements"/>

      <!-- Customize the normal CSS -->
      <css name="DocBook" location="mydocbook.css" />

The customized CSS style sheet imports the normal DocBook CSS style sheet using standard construct `@import` (but with special URI starting with "`xxe-config:`") and customizes the look and feel of DocBook element `link`.

    @import url(xxe-config:docbook/css/docbook.css);

    link:after {
        content: set-attribute-button(attribute, linkend,
                                      icon, icon(right));
        color: rgb(128,128,196);
    }

Prev | Up | Next
2. Customization items | Home | 2.2. Custom bindings