From b1a436e5031b2d34d2ef4b690bf6e729e360d4ce Mon Sep 17 00:00:00 2001 From: Meow J Date: Mon, 4 Jul 2016 20:19:27 +0800 Subject: [PATCH] Update the style of notes --- docs/css/admonition_fix.css | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/docs/css/admonition_fix.css b/docs/css/admonition_fix.css index 9398067..390e590 100644 --- a/docs/css/admonition_fix.css +++ b/docs/css/admonition_fix.css @@ -1,12 +1,24 @@ -.admonition-title { +.important .admonition-title, .attention .admonition-title { display: none; } +.note .admonition-title { + font-weight: bold; + font-size: 16px; + background: #6ab0de; + color: #FFF; + display: block; + margin: -12px; + margin-bottom: 10px !important; + padding: 6px 12px; + line-height: 1; +} + .admonition p{ margin: auto; } -.important, .note, .attention { +.important, .attention { display: block; margin: 20px; padding: 15px; @@ -24,6 +36,12 @@ border: 2px solid #E0B3B3; } -.important { - background: #dbfaf4; +.note { + display: block; + padding: 12px; + margin-bottom: 24px; + color: #444; + border-radius: 5px; + background-color: #E7F2FA; + border: 2px solid #6AB0DE; }