The {style} macro allows you to add custom style sheets to a page or import from an external URL...
This macro is designed to allow a single page to have custom styles applied to it. The style sheet can optionally be restricted to specific media types and you can optionally import an external style sheet from a URL.
If you want to define styles for an entire Space when using the Builder theme, please use CSS Custom Styles in the theme configuration.
The media to apply this style sheet to, by default all media types are used.
import
Optionally specify a URL to import an external style sheet.
This plug-in is available without cost for both commercial and non-commercial purposes. However, if you have found it to be useful, particularly within a commercial environment, please consider making a donation to the author. This will encourage continued development of this and other plug-ins, as well as speeding up the response for your latest maintenance request.
If you wish to donate, it can be done easily with a credit card or bank transfer using PayPal. No account sign-up is required for credit or debit card payments.
The {search-box macro} is released under the BSD License.
This macro has been tested by Adaptavist with Confluence 1.4.1, 1.4.3, 1.4.4, 2.0, 2.1 and 2.1.2.
It is usually pre-installed with Builder accounts. To install it on your own Confluence installation, please see Content Formatting Macros
Adaptavist maintain a JIRA Project for tracking bug reports and feature requests for this macro. The currently reported items are shown below:
jiraissues: Could not download[ http://jira.adaptavist.com/secure/IssueNavigator.jspa?view=rss&pid=10080&component=10139&statusIds=1&statusIds=3&statusIds=4&statusIds=5&sorter/field=updated&sorter/order=DESC&tempMax=25&reset=true&decorator=none] : caused by : Circular redirect to 'http://jira.adaptavist.com:80/secure/IssueNavigator.jspa'
Because citation text is one of the inbuilt Confluence text styles, you can easily see the results:
??Some example citation text??
Resulting in: Some example citation text
Media Type Restrictions
By default, the style sheet will apply to all media type. You can, however, restrict it to specific types of media which is great for creating alternate views of printed pages, etc.
The following example shows how to hide the breadcrumb trail and remove underlines from hyperlinks when printing or when the page is spoken using text-to-speech:
If desired you can include the style macro several times on a page to include different
Unknown macro: {glossary}
CSS
for different media types, etc.
Hints and Tips
Set up a "style" page with your style sheets, then use the [USERGUIDE:include macro] to embed it on other pages. This way you can change your styles in one central location and have everything that imports the page get updated.
For more information on style sheets, we reccommend this book: