diff options
author | Miguel de Icaza <miguel@gnome.org> | 2016-02-09 23:52:53 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2016-02-09 23:52:58 +0300 |
commit | 871115c2d847f99e86d5cfa6aa95d2ccee61e2eb (patch) | |
tree | dadda014c3da5b46b7985637ee606c957e849ab5 /docs/api-style.css | |
parent | 52b80e6c6803cec0849f1f78e2fd6ec4ba847ad8 (diff) |
[Docs] Continue to improve the Mono runtime documentation
Diffstat (limited to 'docs/api-style.css')
-rw-r--r-- | docs/api-style.css | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/docs/api-style.css b/docs/api-style.css index 001df1b4c73..1f6483919cf 100644 --- a/docs/api-style.css +++ b/docs/api-style.css @@ -3,12 +3,22 @@ padding-left: 2em; padding-right: 2em; } + .mapi-docs p { + max-width: 60em; + } + .mapi-docs .mapi-body { + max-width: 60em; + } + .mapi-docs code { + border: 1px solid rgba(214,214,214,1); + background-color: rgba(249,249,249,1); + padding: 0.1em 0.5em; + } .mapi-description code { font-family: "Consolas", "Courier", monospace; border: 1px solid rgba(214,214,214,1); background-color: rgba(249,249,249,1); - padding-left: 3px; - padding-right: 3px; + padding: 0.1em 0.2em; } .mapi-header { @@ -17,6 +27,20 @@ white-space: pre; font-family: monospace; border: 1px solid rgba(233,233,233,1); + background-color: rgba(249,249,249,1); + } + + .mapi-code { + 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-code:first-line { + line-height: 0px; } .mapi-entry code { |