blob: 9ce0ca647edf5677276fba5adb09d49bf9056dce [file] [log] [blame]
= Sidebar Styles
This page describes the in-page sidebar block styles, not the styles for the navigation sidebar.
== Sidebar blocks
xref:antora:asciidoc:sidebar.adoc[Sidebars] can contain any type of content.
The sidebar title is specified by the block class title.
Here's an AsciiDoc source example that produces a sidebar with a title:
[source,asciidoc]
----
.Optional Title
****
This is a paragraph in a sidebar.
****
----
[source,html]
----
<div class="sidebarblock">
<div class="content">
<div class="title">Optional Title</div>
<div class="paragraph">
<p>This is a paragraph in a sidebar.</p>
</div>
</div>
</div>
----