Date: Fri, 29 Mar 2024 08:03:25 +0100 (CET) Message-ID: <2130638597.17793.1711695805850@09e9d69a2016> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_17792_269891266.1711695805849" ------=_Part_17792_269891266.1711695805849 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Renders term and definiti= on information as a definition list. Currently Conflucene does not easily s= upport authors to write definition lists. But definition lists allow to ren= der this form of information efficiently.
Renders a table as a definition list.
Definition lists allow compact representation of term and data informati= on. Especially useful for glossaries.
Add a table to the body of the macro. Mark the first column as header, a= ll other columns as data.
Here is a simple example:
The first column contains the definition terms, the second the data.
This is how it is rendered:
The class to add to the definition list. This is usually the only class = you want to provide to select the formatting style.
You may define your own f= ormatting.
The following styles are supported:
This style is available since version 1.0.1 (and from this version the d= efault style).
If you want to use it with a previous installation, this is the C= SS code for this style:
dl.simpleindent{ } dl.simpleindent > dt { font-weight: bold; } dl.simpleindent > dd { margin-left: 1.6em; }
This has been the default for version 1.0.0. From version 1.0.1 on the r= endering defaults to simpleindent.
The class to add to the definition terms.
Users who need to provide a style to a specific element, may find this h= elpful. It allows to make the selector of a CSS rule more specific than glo= bal rules.
The class to add to the definition data elements.
Users who need to provide a style to a specific element, may find this h= elpful. It allows to make the selector of a CSS rule more specific than glo= bal rules.
Add these CSS rules to your configuration and adjust it to yo= ur needs.
dl.mysty= le { } dl.mystyle > dt { } dl.mystyle > dd { }
Set the definition list style to mystyle
.
Where can I change the Stylesheet?
How you access the stylesheet to add your CSS rules depends on the theme= you are using. You may change the styles for a space or for all spaces wit= h the global stylesheet.
In a standard installation you'll find the configuration for your space = under the "Stylesheet" tab of the Space Tools.
The global style sheet is accessible for admins on the Confluence Admin = page. On the left side, under "LOOK AND FEEL", click "Stylesheet".
Some themes make it more difficult than others to change the global CSS.= One workaround is to add the styles as custom HTML. To add your styl= e go to
Confluence Admin > Custom HTML > At the end of the HEAD
Add your CSS rules within an HTML style tag to the text area like this:<= /p>
<styl= e> dl.mystyle > dt { /* ... add your CSS declarations here */ } dl.mystyle > dt:after { /* ... add your CSS declarations here */ } dl.mystyle > dd { /* ... add your CSS declarations here */ } </style>
For more information about how to change the styles, please refer to Changing Styles for Definition Lists in Confluence on the= smartics blog.
The screencast shows how to create a definition list with the Definition List Macro= a>.
A definition list (HTML tag: dl) contains tuples of definition terms (HT= ML tag: dt) and definition data (HTML tag: dd).
Please note: