aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMariano Guerra <[email protected]>2016-10-22 00:13:16 +0100
committerMariano Guerra <[email protected]>2017-03-13 11:51:52 +0100
commit79cc929aeb58312d5a30d92f0abfdbbeca9cf04f (patch)
treed11dbdbcb3937e50a9485977d62931c9e3b9501b /lib
parenta9e65689d49ce4b088c9834fabc12f59b871daef (diff)
downloadotp-79cc929aeb58312d5a30d92f0abfdbbeca9cf04f.tar.gz
otp-79cc929aeb58312d5a30d92f0abfdbbeca9cf04f.tar.bz2
otp-79cc929aeb58312d5a30d92f0abfdbbeca9cf04f.zip
make code tokens more easy to differentiate
Diffstat (limited to 'lib')
-rw-r--r--lib/erl_docgen/priv/css/otp_doc.css9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css
index e59d6def6c..27a868e1af 100644
--- a/lib/erl_docgen/priv/css/otp_doc.css
+++ b/lib/erl_docgen/priv/css/otp_doc.css
@@ -67,7 +67,14 @@ a:visited { color: #1b6ec2; text-decoration: none }
}
span.bold_code { font-family: mono, Courier, monospace; white-space: pre; font-weight: bold }
-span.code { font-family: mono, Courier, monospace; white-space: pre; font-weight: normal }
+span.code {
+ font-family: mono, Courier, monospace; white-space: pre; font-weight: normal;
+ color: #000;
+ background-color: #f5f5f5;
+ padding: 0.15em;
+ border: 1px solid #ddd;
+ border-radius: 0.2em;
+}
.note, .warning, .do, .dont {
border: 1px solid #495057;