diff options
| author | Sarah White <graphitefriction@gmail.com> | 2018-02-16 15:05:55 -0700 |
|---|---|---|
| committer | Sarah White <graphitefriction@gmail.com> | 2018-02-16 15:05:55 -0700 |
| commit | 6cb46575d0db53df410c687191e7321f5992b2fa (patch) | |
| tree | 9f43c8ff674bbeb42822474b2f68c4d968947f42 /docs/modules | |
| parent | c2a21bf1759bdf7482ee8ddb4a27fa483191e95f (diff) | |
| download | alpine-antora-theme-6cb46575d0db53df410c687191e7321f5992b2fa.tar.bz2 alpine-antora-theme-6cb46575d0db53df410c687191e7321f5992b2fa.tar.xz | |
add sidebar section to style guide
Diffstat (limited to 'docs/modules')
| -rw-r--r-- | docs/modules/ROOT/pages/style-guide.adoc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/modules/ROOT/pages/style-guide.adoc b/docs/modules/ROOT/pages/style-guide.adoc index e1a48e4..d53af75 100644 --- a/docs/modules/ROOT/pages/style-guide.adoc +++ b/docs/modules/ROOT/pages/style-guide.adoc @@ -195,3 +195,29 @@ menu:File[] menu:File[Save] The default styling applied to a menu reference is usually sufficient. + +=== Sidebars + +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> +---- |
