aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/css
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2014-12-17 21:07:55 +0100
committerRickard Green <[email protected]>2015-03-20 15:00:38 +0100
commitcd917e88f5718eead826c896864cfe85cd3d301b (patch)
treee0afeb8fd3f335bccf57b98fc61003e9440c70a7 /lib/erl_docgen/priv/css
parent843cf9120d2845be2c3304fc8dcb4c16b49bbfca (diff)
downloadotp-cd917e88f5718eead826c896864cfe85cd3d301b.tar.gz
otp-cd917e88f5718eead826c896864cfe85cd3d301b.tar.bz2
otp-cd917e88f5718eead826c896864cfe85cd3d301b.zip
Support for <do> and <dont> doc tags
Diffstat (limited to 'lib/erl_docgen/priv/css')
-rw-r--r--lib/erl_docgen/priv/css/otp_doc.css28
1 files changed, 27 insertions, 1 deletions
diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css
index c56de378f4..2aae87a759 100644
--- a/lib/erl_docgen/priv/css/otp_doc.css
+++ b/lib/erl_docgen/priv/css/otp_doc.css
@@ -66,7 +66,7 @@ a:visited { color: blue; text-decoration: none }
span.bold_code { font-family: Courier, monospace; font-weight: bold }
span.code { font-family: Courier, monospace; font-weight: normal }
-.note, .warning {
+.note, .warning, .do, .dont {
border: solid black 1px;
margin: 1em 3em;
}
@@ -96,6 +96,32 @@ span.code { font-family: Courier, monospace; font-weight: normal }
font-size: 90%;
padding: 5px 10px;
}
+.do .label {
+ background: #30d42a;
+ color: white;
+ font-weight: bold;
+ padding: 5px 10px;
+}
+.do .content {
+ background: #eafeea;
+ color: black;
+ line-height: 120%;
+ font-size: 90%;
+ padding: 5px 10px;
+}
+.dont .label {
+ background: #C00;
+ color: white;
+ font-weight: bold;
+ padding: 5px 10px;
+}
+.dont .content {
+ background: #FFF0F0;
+ color: black;
+ line-height: 120%;
+ font-size: 90%;
+ padding: 5px 10px;
+}
.example {
background-color:#eeeeff;
padding: 0px 10px;