diff options
author | Rickard Green <[email protected]> | 2014-12-17 21:07:55 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2015-03-20 15:00:38 +0100 |
commit | cd917e88f5718eead826c896864cfe85cd3d301b (patch) | |
tree | e0afeb8fd3f335bccf57b98fc61003e9440c70a7 /lib/erl_docgen/priv/css | |
parent | 843cf9120d2845be2c3304fc8dcb4c16b49bbfca (diff) | |
download | otp-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.css | 28 |
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; |