[Documentation] Fix the nesting of docs
[mono.git] / docs / api-style.css
1     body {
2         line-height: 1.5;
3         padding-left: 2em;
4         padding-right: 2em;
5     }
6     body code {
7         font-family: "Consolas", "Courier", monospace;
8         border: 1px solid rgba(214,214,214,1);
9         background-color: rgba(249,249,249,1);
10         padding-left: 3px;
11         padding-right: 3px;
12     }
13
14     .api-entry code {
15         border: none;
16         background-color: transparent;
17     }
18     h3 { 
19     }
20     
21     .api-parameters {
22         border-collapse: collapse;
23         border-spacing: 0;
24         empty-cells: hide;
25         border: 0;
26         margin: 5px 0 26px;         
27     }
28
29     .api-parameters td {
30         border: 1px solid rgba(214,214,214,1);
31           border-left-style: none;
32         padding: 5px 25px 5px 10px;
33     }
34
35     .api-parameters tr>td:last-child  {
36         border-right: 0;
37     }
38         
39     .api-parameters td:first-of-type {
40         text-align: right;
41         padding: 7px;
42         vertical-align: top;
43         word-break: normal;
44         width: 40px;
45     }
46
47     .api-parameters tr:last-child>td {
48         border-bottom: 0;
49     }
50
51     .api-parameters tr:first-child>td {
52         border-top: 0;
53     }
54
55     .api-parameters tr td:first-of-type {
56         text-align: right;
57         padding: 7px;
58         vertical-align: top;
59         word-break: normal;
60         width: 40px;
61     }
62
63    .api {
64         left: -25px;
65         margin: 0;
66         padding: 13px 25px 0;
67         position: relative;
68         width: 100%;
69     } 
70
71     .api-description {
72         background: rgba(249,249,249,1);
73         border-bottom: 1px solid rgba(233,233,233,1);
74         left: -25px;
75         margin: 0;
76         padding: 13px 25px 0;
77         position: relative;
78         width: 100%;     
79     }
80
81      .api-entry {
82          background: transparent;
83      }
84
85      .api-docs {
86      }
87         
88      .prototype {
89          border-left: 5px solid rgba(205,233,244,1);
90          padding: .5em;
91          margin-top: 5pt;
92          margin-bottom: 5pt;
93          font-family: "Consolas", "Courier", monospace;
94          display: block;
95          overflow: auto;
96          background-color: #f9f9f9;
97     } 
98
99     .header {
100         padding: 0 0 5pt 5pt;
101         margin: 10pt;
102         white-space: pre;
103         font-family: monospace;
104         border: 1px solid rgba(233,233,233,1);
105     }
106     
107     .code {
108         border: 1px solid;
109         padding: 0 0 5pt 5pt;
110         margin: 10pt;
111         white-space: pre;
112         font-family: monospace;
113     }
114
115     .declaration {
116         margin-top: 21px;
117     }
118
119     .api-section {
120         font-size: smaller;
121         font-weight: bold;
122         margin-top: 21px;
123         line-height: 1.5;
124     }
125         
126     .strike {
127         text-decoration: line-through;
128     }
129
130     .deprecated {
131         color: red;
132     }
133
134     .api-ptr-container {
135         background: white;
136         border-bottom: 1px solid rgba(233,233,233,1);
137         left: -25px;
138         padding-left: 25px;
139         padding-right: 25px;
140         padding-bottom: 13px;
141         position: relative;
142         width: 100%;
143     }
144
145     .api-ptr {
146         background: rgba(249,249,249,1);
147         border-left: 1px solid rgba(233,233,233,1);
148         border-top: 1px solid rgba(233,233,233,1);
149         height: 12px;
150         left: 37px;
151         top: -7px;
152         -webkit-transform: rotate(45deg);
153         -moz-transform: rotate(45deg);
154         -o-transform: rotate(45deg);
155         transform: rotate(45deg);
156         position: absolute;
157         width: 12px;
158     }
159
160     .api-height-container {
161         left: -25px;
162         padding: 0 25px;
163         position: relative;
164         width: 100%;
165     }