Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alpeters@microsoft.com>2017-11-22 14:26:51 +0300
committerAlex Rønne Petersen <alpeters@microsoft.com>2017-11-23 16:16:03 +0300
commit528e793ce395474ba116ecd9610fe04c959e3e57 (patch)
tree37a813e76a49cfe8cd8a5671e1e3f337ef4aca64 /docs/api-style.css
parentaa19b6aa18ec730c8cb4294ad3218308f72a1e3b (diff)
[exdoc] Support Doxygen-style code blocks.
This doesn't support the full syntax, but it's enough for our needs.
Diffstat (limited to 'docs/api-style.css')
-rw-r--r--docs/api-style.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/api-style.css b/docs/api-style.css
index 1f6483919cf..f8f9c27a4ab 100644
--- a/docs/api-style.css
+++ b/docs/api-style.css
@@ -43,6 +43,16 @@
line-height: 0px;
}
+ .mapi-codeblock {
+ display: block;
+ padding: 5pt 5pt;
+ margin: 10pt;
+ white-space: pre;
+ font-family: monospace;
+ border: 1px solid rgba(233,233,233,1);
+ background-color: rgba(249,249,249,1);
+ }
+
.mapi-entry code {
border: none;
background-color: transparent;