From 60d501a12c7329b9969ab922b39bf30459487ea5 Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter@eisentraut.org>
Date: Mon, 10 Apr 2017 22:55:43 -0400
Subject: [PATCH v2 2/3] Improve admonitions style

Make admonitions (tip, note, caution, warning) style under XSLT more
similar to previous style.  Previously, tip and note were blockquotes
and caution and warning were tables.  Now everything is just a div.
---
 media/css/docs.css | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/media/css/docs.css b/media/css/docs.css
index dc8a068..6fb05b9 100644
--- a/media/css/docs.css
+++ b/media/css/docs.css
@@ -362,6 +362,18 @@ blockquote.TIP code {
   box-shadow: none;
 }
 
+.caution,
+.warning {
+  max-width: 600px;
+}
+
+.tip h3,
+.note h3,
+.caution h3,
+.warning h3 {
+  text-align: center;
+}
+
 .emphasis,
 .c2 {
   font-weight: bold;
@@ -432,11 +444,13 @@ table.WARNING {
   max-width: 600px;
 }
 
+.caution,
 table.CAUTION {
   background-color: #F5F5DC;
   border-color: #DEDFA7;
 }
 
+.warning,
 table.WARNING {
   background-color: #FFD7D7;
   border-color: #DF421E;
-- 
2.12.2

