Initial commit
[platform/upstream/glib2.0.git] / docs / reference / glib / html / style.css
1 .synopsis, .classsynopsis
2 {
3   /* tango:aluminium 1/2 */
4   background: #eeeeec;
5   border: solid 1px #d3d7cf;
6   padding: 0.5em;
7 }
8 .programlisting
9 {
10   /* tango:sky blue 0/1 */
11   background: #e6f3ff;
12   border: solid 1px #729fcf;
13   padding: 0.5em;
14 }
15 .variablelist
16 {
17   padding: 4px;
18   margin-left: 3em;
19 }
20 .variablelist td:first-child
21 {
22   vertical-align: top;
23 }
24
25 @media screen {
26   sup a.footnote
27   {
28     position: relative;
29     top: 0em ! important;
30     
31   }
32   /* this is needed so that the local anchors are displayed below the naviagtion */
33   div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name]
34   {
35     position: relative;
36     padding-top:4.5em;
37   }
38   /* this seems to be a bug in the xsl style sheets when generating indexes */
39   div.index div.index
40   {
41     top: 0em;
42   }
43   /* make space for the fixed navigation bar and add space at the bottom so that
44    * link targets appear somewhat close to top
45    */
46   body
47   {
48     padding-top: 3.2em;
49     padding-bottom: 20em;
50   }
51   /* style and size the navigation bar */
52   table.navigation#top
53   {
54     position: fixed;
55     /* tango:scarlet red 0/1 */
56     background: #ffe6e6;
57     border: solid 1px #ef2929;
58     margin-top: 0;
59     margin-bottom: 0;
60     top: 0;
61     left: 0;
62     height: 3em;
63     z-index: 10;
64   }
65   .navigation a, .navigation a:visited
66   {
67     /* tango:scarlet red 3 */
68     color: #a40000;
69   }
70   .navigation a:hover
71   {
72     /* tango:scarlet red 1 */
73     color: #ef2929;
74   }
75   td.shortcuts
76   {
77     /* tango:scarlet red 1 */
78     color: #ef2929;
79     font-size: 80%;
80     white-space: nowrap;
81   }
82 }
83 @media print {
84   table.navigation {
85     visibility: collapse;
86     display: none;
87   }
88   div.titlepage table.navigation {
89     visibility: visible;
90     display: table;
91     /* tango:scarlet red 0/1 */
92     background: #ffe6e6;
93     border: solid 1px #ef2929;
94     margin-top: 0;
95     margin-bottom: 0;
96     top: 0;
97     left: 0;
98     height: 3em;
99   }
100 }
101
102 .navigation .title
103 {
104   font-size: 200%;
105 }
106
107 div.gallery-float
108 {
109   float: left;
110   padding: 10px;
111 }
112 div.gallery-float img
113 {
114   border-style: none;
115 }
116 div.gallery-spacer
117 {
118   clear: both;
119 }
120
121 a, a:visited
122 {
123   text-decoration: none;
124   /* tango:sky blue 2 */
125   color: #3465a4;
126 }
127 a:hover
128 {
129   text-decoration: underline;
130   /* tango:sky blue 1 */
131   color: #729fcf;
132 }
133
134 div.table table
135 {
136   border-collapse: collapse;
137   border-spacing: 0px;
138   /* tango:aluminium 3 */
139   border: solid 1px #babdb6;
140 }
141
142 div.table table td, div.table table th
143 {
144   /* tango:aluminium 3 */
145   border: solid 1px #babdb6;
146   padding: 3px;
147   vertical-align: top;
148 }
149
150 div.table table th
151 {
152   /* tango:aluminium 2 */
153   background-color: #d3d7cf;
154 }
155
156 hr
157 {
158   /* tango:aluminium 3 */
159   color: #babdb6;
160   background: #babdb6;
161   border: none 0px;
162   height: 1px;
163   clear: both;
164 }
165
166 .footer
167 {
168   padding-top: 3.5em;
169   /* tango:aluminium 3 */
170   color: #babdb6;
171   text-align: center;
172   font-size: 80%;
173 }
174
175 .warning
176 {
177   /* tango:orange 0/1 */
178   background: #ffeed9;
179   border-color: #ffb04f;
180 }
181 .note
182 {
183   /* tango:chameleon 0/0.5 */
184   background: #d8ffb2;
185   border-color: #abf562;
186 }
187 .note, .warning
188 {
189   padding: 0.5em;
190   border-width: 1px;
191   border-style: solid;
192 }
193 .note h3, .warning h3
194 {
195   margin-top: 0.0em
196 }
197 .note p, .warning p
198 {
199   margin-bottom: 0.0em
200 }
201
202 /* blob links */
203 h2 .extralinks, h3 .extralinks
204 {
205   float: right;
206   /* tango:aluminium 3 */
207   color: #babdb6;
208   font-size: 80%;
209   font-weight: normal;
210 }
211
212 /* code listings */
213
214 .programlisting .cbracket   { color: #a40000; } /* tango: scarlet red 3 */
215 .programlisting .comment    { color: #a1a39d; } /* tango: aluminium 4 */
216 .programlisting .function   { color: #000000; font-weight: bold; }
217 .programlisting .function a { color: #11326b; font-weight: bold; } /* tango: sky blue 4 */
218 .programlisting .keyword    { color: #4e9a06; } /* tango: chameleon 3  */
219 .programlisting .linenum    { color: #babdb6; } /* tango: aluminium 3 */
220 .programlisting .normal     { color: #000000; }
221 .programlisting .number     { color: #75507b; } /* tango: plum 2 */
222 .programlisting .preproc    { color: #204a87; } /* tango: sky blue 3  */
223 .programlisting .string     { color: #c17d11; } /* tango: chocolate 2 */
224 .programlisting .type       { color: #000000; }
225 .programlisting .type a     { color: #11326b; } /* tango: sky blue 4 */
226 .programlisting .symbol     { color: #ce5c00; } /* tango: orange 3 */
227
228 .listing_frame {
229   /* tango:sky blue 1 */
230   border: solid 1px #729fcf;
231   padding: 0px;
232 }
233
234 .listing_lines, .listing_code {
235   margin-top: 0px;
236   margin-bottom: 0px;
237   padding: 0.5em;
238 }
239 .listing_lines {
240   /* tango:sky blue 0.5 */
241   background: #a6c5e3;
242   /* tango:aluminium 6 */
243   color: #2e3436;
244 }
245 .listing_code {
246   /* tango:sky blue 0 */
247   background: #e6f3ff;
248 }
249 .listing_code .programlisting {
250   /* override from previous */
251   border: none 0px;
252   padding: 0px;
253 }
254 .listing_lines pre, .listing_code pre {
255   margin: 0px;
256 }
257