diff --git a/doc/source/demo/index.rst b/doc/source/demo/index.rst index 156901fc..2a896aff 100644 --- a/doc/source/demo/index.rst +++ b/doc/source/demo/index.rst @@ -11,6 +11,12 @@ Demo documentation The demo documentation provides example markup for looking at the expected output. +.. sidebar:: Sidebar + + This is a sidebar which may be used to provide related or reference + material. It is displayed in proximity to, but outside the main + text. + The project aims for simple implementation, massive scalability, and a rich set of features. Cloud computing experts from around the world contribute to the project. diff --git a/openstackdocstheme/theme/openstackdocs/static/css/combined.css b/openstackdocstheme/theme/openstackdocs/static/css/combined.css index e04f4ec7..6ef3e94f 100644 --- a/openstackdocstheme/theme/openstackdocs/static/css/combined.css +++ b/openstackdocstheme/theme/openstackdocs/static/css/combined.css @@ -4165,6 +4165,19 @@ pre .cl { .popover { color: #2A4E68; } +div.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px 7px 0 7px; + background-color: #ffe; + width: 40%; + float: right; +} + +p.sidebar-title { + font-weight: bold; +} + .admonition { background: #eee; border-left: 4px solid;