Merge "Support more notice blocks like important, tip and caution"

This commit is contained in:
Jenkins 2016-10-02 00:36:59 +00:00 committed by Gerrit Code Review
commit b82f250c2f
3 changed files with 50 additions and 2 deletions

View File

@ -20,6 +20,14 @@ Release Notes
history
Development
===========
.. toctree::
:maxdepth: 1
theme_check
Indices and tables
==================

View File

@ -0,0 +1,25 @@
===========
Theme check
===========
This page is used to check the themes provided by oslosphinx.
.. note::
A comment with additional information that explains a part of the text.
.. important::
Something you must be aware of before proceeding.
.. tip::
An extra but helpful piece of practical advice.
.. Caution::
Helpful information that prevents the user from making mistakes.
.. Warning::
Critical information about the risk of data loss or security issues.

View File

@ -188,8 +188,8 @@ div.highlight{
}
div.note {
background-color: #eee;
border: 1px solid #ccc;
background-color: #edf2f7;
border: 1px solid #2a4e68;
}
div.seealso {
@ -206,6 +206,21 @@ div.warning {
border: 1px solid #f66;
}
div.important {
background-color: #feffbe;
border: 1px solid #d7aa16;
}
div.caution {
background-color: #eee;
border: 1px solid #ccc;
}
div.tip {
background-color: #eee;
border: 1px solid #ccc;
}
p.admonition-title {
display: inline;
}