X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=docs%2Fapi-style.css;h=1f6483919cfe37726a2ce97da04f7ca64c3d06c8;hb=8f745e3426313052b54a936739d55af703f0a1ba;hp=910ac49e55b888631cc0f169b5969d3031a88f95;hpb=6f5a0b555436eba699f9dd2659471044097b951b;p=mono.git diff --git a/docs/api-style.css b/docs/api-style.css index 910ac49e55b..1f6483919cf 100644 --- a/docs/api-style.css +++ b/docs/api-style.css @@ -1,40 +1,180 @@ - h3 { - font-size: 18px; - padding-bottom: 4pt; - border-bottom: 2px solid #dddddd; - } - - .api { - border: 1px solid; - padding: 10pt; - margin: 10pt; - } - - .api-entry { - border-bottom: none; - font-size: 18px; - } - - .prototype { - border: 1px solid; - background-color: #f2f2f2; - padding: 5pt; - margin-top: 5pt; - margin-bottom: 5pt; - } - - .header { - border: 1px solid; - padding: 0 0 5pt 5pt; - margin: 10pt; - white-space: pre; - font-family: monospace; - } + .mapi-docs { + line-height: 1.5; + 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: 0.1em 0.2em; + } + + .mapi-header { + padding: 0 0 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 { + 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 { + border: none; + background-color: transparent; + } - .code { - border: 1px solid; - padding: 0 0 5pt 5pt; - margin: 10pt; - white-space: pre; - font-family: monospace; - } + .mapi-parameters { + border-collapse: collapse; + border-spacing: 0; + empty-cells: hide; + border: 0; + margin: 5px 0 26px; + } + + .mapi-parameters td { + border: 1px solid rgba(214,214,214,1); + border-left-style: none; + padding: 5px 25px 5px 10px; + } + + .mapi-parameters tr>td:last-child { + border-right: 0; + } + + .mapi-parameters td:first-of-type { + text-align: right; + padding: 7px; + vertical-align: top; + word-break: normal; + width: 40px; + } + + .mapi-parameters tr:last-child>td { + border-bottom: 0; + } + + .mapi-parameters tr:first-child>td { + border-top: 0; + } + + .mapi-parameters tr td:first-of-type { + text-align: right; + padding: 7px; + vertical-align: top; + word-break: normal; + width: 40px; + } + + .mapi { + left: -25px; + margin: 0; + padding: 13px 25px 0; + position: relative; + width: 100%; + } + + .mapi-description { + background: rgba(249,249,249,1); + border-bottom: 1px solid rgba(233,233,233,1); + left: -25px; + margin: 0; + padding: 13px 25px 0; + position: relative; + width: 100%; + } + + .mapi-entry { + background: transparent; + } + + .mapi-docs { + } + + .mapi-prototype { + border-left: 5px solid rgba(205,233,244,1); + padding: .5em; + margin-top: 5pt; + margin-bottom: 5pt; + font-family: "Consolas", "Courier", monospace; + display: block; + overflow: auto; + background-color: #f9f9f9; + } + + .mapi-declaration { + margin-top: 21px; + } + + .mapi-section { + font-size: smaller; + font-weight: bold; + margin-top: 21px; + line-height: 1.5; + } + + .mapi-strike { + text-decoration: line-through; + } + + .mapi-deprecated { + color: red; + } + + .mapi-ptr-container { + background: white; + border-bottom: 1px solid rgba(233,233,233,1); + left: -25px; + padding-left: 25px; + padding-right: 25px; + padding-bottom: 13px; + position: relative; + width: 100%; + } + + .mapi-ptr { + background: rgba(249,249,249,1); + border-left: 1px solid rgba(233,233,233,1); + border-top: 1px solid rgba(233,233,233,1); + height: 12px; + left: 37px; + top: -7px; + -webkit-transform: rotate(45deg); + -moz-transform: rotate(45deg); + -o-transform: rotate(45deg); + transform: rotate(45deg); + position: absolute; + width: 12px; + } + + .mapi-height-container { + left: -25px; + padding: 0 25px; + position: relative; + width: 100%; + } +